From: Mr. X. on
Hello,
I want to create an event by force.
How can I do that ?

(for example : ToolStrip.ItemClicked event)

Thanks :)
From: Martin H. on
To the dark side this path leads.
Explain your request you should.

Yoda
From: Family Tree Mike on
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
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
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.