From 2cad63ab1e4cc5878a60ac83609688ceec58f4d6 Mon Sep 17 00:00:00 2001 From: tomvita <68505331+tomvita@users.noreply.github.com> Date: Mon, 15 Nov 2021 21:19:24 +0800 Subject: [PATCH] update attach to button status --- PointerSearcher/Form1.Designer.cs | 2 +- PointerSearcher/Form1.cs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PointerSearcher/Form1.Designer.cs b/PointerSearcher/Form1.Designer.cs index 8845dd9..607c7bf 100644 --- a/PointerSearcher/Form1.Designer.cs +++ b/PointerSearcher/Form1.Designer.cs @@ -2074,7 +2074,7 @@ private void InitializeComponent() this.Controls.Add(this.pictureBox2); this.Controls.Add(this.groupBox4); this.Name = "Form1"; - this.Text = "PointerSearcher SE 0.5.13"; + this.Text = "PointerSearcher SE 0.5.14"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.dgvDumpTargets)).EndInit(); this.tabControl1.ResumeLayout(false); diff --git a/PointerSearcher/Form1.cs b/PointerSearcher/Form1.cs index c6d21c0..e648bd5 100644 --- a/PointerSearcher/Form1.cs +++ b/PointerSearcher/Form1.cs @@ -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; } } @@ -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; @@ -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; } }