Skip to content

Commit

Permalink
update attach to button status
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvita committed Nov 15, 2021
1 parent 98ca37f commit 2cad63a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PointerSearcher/Form1.Designer.cs

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

4 changes: 3 additions & 1 deletion PointerSearcher/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1077,6 +1077,7 @@ private void button2_Click_1( object sender, EventArgs e )
{
attachbutton1.BackColor = System.Drawing.Color.White;
attachbutton2.BackColor = System.Drawing.Color.White;
attachdmntbutton.BackColor = System.Drawing.Color.White;
attached = false;
}
}
Expand Down Expand Up @@ -1489,7 +1490,7 @@ private void attachdmntbutton_Click( object sender, EventArgs e )
showerror( b ); //ignore error due to no dmnt
//if ( !showerror( b ) )
{
attachdmntbutton.BackColor = System.Drawing.Color.LightGreen;
// attachdmntbutton.BackColor = System.Drawing.Color.LightGreen;
getstatus_Click( sender, e );
button2_Click_1( sender, e );
pid0Box.Text = curpidBox.Text;
Expand Down Expand Up @@ -1574,6 +1575,7 @@ private void button8_Click( object sender, EventArgs e )
{
attachbutton1.BackColor = System.Drawing.Color.White;
attachbutton2.BackColor = System.Drawing.Color.LightGreen;
attachdmntbutton.BackColor = System.Drawing.Color.LightGreen;
attached = true;
}
}
Expand Down

0 comments on commit 2cad63a

Please sign in to comment.