Skip to content

Commit

Permalink
Clarified tooltips. Added notice while auto-filling.
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisLoona committed Sep 3, 2023
1 parent 75a8485 commit d5bd344
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
25 changes: 21 additions & 4 deletions MainMenu.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions MainMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ public void startSession()
if (sessionActive == false)
{
timerReset();
infoLabel.Visible = false;
infoLabel.Text = "Analyze again to check the\r\nnumber of items you've\r\nobtained so far and/or end\r\nthe session.";
modeCheck.Enabled = false;
locationBox.Enabled = false;
sessionActive = true;
Expand Down Expand Up @@ -926,6 +926,7 @@ private void clearSessionButton_Click(object sender, EventArgs e)
rememberIndex = 0;
clearTrigger = false;
rememborDecision = true;
infoLabel.Text = "Select your grinding location\r\nand Analyze to start a new \r\ngrinding session.";
GC.Collect();
}
else
Expand Down Expand Up @@ -1004,6 +1005,8 @@ private void endSessionButton_Click(object sender, EventArgs e)
{
if (MessageBox.Show("You are about to end your current session and push it to garmoth.\nAre you sure you want to end the session?", "End session", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
{
noTouchyLabel.Enabled = true;
noTouchyLabel.Visible = true;
string userID;
string[] timer = new string[3];
int hours = 0, minutes = 0;
Expand All @@ -1020,7 +1023,7 @@ private void endSessionButton_Click(object sender, EventArgs e)
return;
}
clearTrigger = true;
infoLabel.Visible = true;
infoLabel.Text = "Select your grinding location\r\nand Analyze to start a new \r\ngrinding session.";
playPauseButton.Enabled = false;
playPauseButton.Visible = false;
modeCheck.Enabled = true;
Expand Down Expand Up @@ -1076,6 +1079,8 @@ private void endSessionButton_Click(object sender, EventArgs e)
.KeyPress(VirtualKeyCode.TAB)
.KeyPress(VirtualKeyCode.RETURN);
Thread.Sleep(1200);
noTouchyLabel.Enabled = false;
noTouchyLabel.Visible = false;
new InputSimulator().Keyboard.KeyPress(VirtualKeyCode.TAB)
.TextEntry(Convert.ToString(hours))
.KeyPress(VirtualKeyCode.TAB)
Expand Down

0 comments on commit d5bd344

Please sign in to comment.