المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Re: Calling an event to a class in a different namespace



C# Programming
04-01-2010, 08:22 PM
Ok so I have a parent form called frmMain and a child panel called panelMasterlist.

In panelMasterList I have created a delete event(right click context button) on the frmMain there is a Delete button as well

I need to trigger the same event from the frmMain as in the panelMasterlist.



In panelMasterList the clcik event is: public void contextDeleteMasterList_Click(object sender, EventArgs e)

so I was thinking in the frmMain I can send a event argument to the namespace.class? Not sure how to do this