It doesn't fire the click event because you are not clicking on the actual
form you are clicking on an MDIClient.
This is the last control in the control's collection of the form.
Attach the click event to this.
this.Controls[this.Controls.Count -1].Click += new EventHandler(Form1_Click);
Thursday, May 7, 2009
C# - Why a mdi form does not produce a click event?
תוויות:
C#
Subscribe to:
Post Comments (Atom)
0 תגובות:
Post a Comment