S374N
October 2nd, 2006, 03:26 AM
Hoe to disable a mouse click on the form ??
|
Click to See Complete Forum and Search --> : Disable Mouse Click? S374N October 2nd, 2006, 03:26 AM Hoe to disable a mouse click on the form ?? aniskhan October 2nd, 2006, 05:16 AM Method invoked on click event of form private void Form1_Click(object sender, System.EventArgs e) { MessageBox.Show("FORM CLICKED"); } Add handler for click event of form when needed. this.Click += new EventHandler(Form1_Click); And remove it when donot need the event to occur this.Click -= new EventHandler(Form1_Click); codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |