From: Mr. X. on 10 Jun 2010 18:06 Hello, I want to create an event by force. How can I do that ? (for example : ToolStrip.ItemClicked event) Thanks :)
From: Martin H. on 10 Jun 2010 18:13 To the dark side this path leads. Explain your request you should. Yoda
From: Family Tree Mike on 10 Jun 2010 18:25 On 6/10/2010 6:06 PM, Mr. X. wrote: > Hello, > I want to create an event by force. > How can I do that ? > > (for example : ToolStrip.ItemClicked event) > > Thanks :) Do you mean SomeToolstrip.Items (0).PerformClick()? -- Mike
From: Mr. X. on 11 Jun 2010 05:53 Thanks, specific, this help. I need more generic solution (I would like to do any event, not only the PerformClick event). Thanks :) "Family Tree Mike" <FamilyTreeMike(a)ThisOldHouse.com> wrote in message news:OYJxZvOCLHA.2012(a)TK2MSFTNGP02.phx.gbl... > On 6/10/2010 6:06 PM, Mr. X. wrote: >> Hello, >> I want to create an event by force. >> How can I do that ? >> >> (for example : ToolStrip.ItemClicked event) >> >> Thanks :) > > Do you mean SomeToolstrip.Items (0).PerformClick()? > > -- > Mike
From: Phill W. on 11 Jun 2010 06:52 On 11/06/2010 10:53, Mr. X. wrote: > I need more generic solution (I would like to do any event, not only the > PerformClick event). If a class doesn't provide you with a method to do something, then perhaps it's something that you shouldn't do? Why do you want to fire off any event from any control? Regards, Phill W.
|
Next
|
Last
Pages: 1 2 Prev: Make a component on runtime. Next: logging to text file and opening at end of program |