hi all,
I want to call the Mouse_Click event from the previous form f1 in the next form f2.
how can do that?
when i close the form f2 and then raise the mouse_click event in form f1 at that moment .
i am using the following code which is written in form f2
in form f2
------------
this.Close();
form1 f1=new form1();
f1.dateNavigato rsch_MouseClick (sender, e)
The above code raise the following errors as follows
The best overloaded method match for 'Scheduling.f1. dateNavigatorsc h_MouseClick(ob ject, System.Windows. Forms.MouseEven tArgs)' has some invalid arguments
Argument '2': cannot convert from 'System.EventAr gs' to 'System.Windows .Forms.MouseEve ntArgs'
Please reply if anyone have an idea...
Thanks in advance
Grace
I want to call the Mouse_Click event from the previous form f1 in the next form f2.
how can do that?
when i close the form f2 and then raise the mouse_click event in form f1 at that moment .
i am using the following code which is written in form f2
in form f2
------------
this.Close();
form1 f1=new form1();
f1.dateNavigato rsch_MouseClick (sender, e)
The above code raise the following errors as follows
The best overloaded method match for 'Scheduling.f1. dateNavigatorsc h_MouseClick(ob ject, System.Windows. Forms.MouseEven tArgs)' has some invalid arguments
Argument '2': cannot convert from 'System.EventAr gs' to 'System.Windows .Forms.MouseEve ntArgs'
Please reply if anyone have an idea...
Thanks in advance
Grace
Comment