Vijeesh VP

Vijeesh VP

  • NA
  • 9
  • 642

Need help in how to call a method group from other form

Jan 29 2017 12:59 AM
Form1
 
public void radMenuItemViewReminder_Click(object sender, EventArgs e)
{
if (Convert.ToInt16(radMenuItemViewReminder.Tag) == 0)
{
radMenuItemViewReminder.Tag = 1;
frmReminder frmRem = new frmReminder();
frmRem.MdiParent = this;
frmRem.senderTag = (RadButtonItem)radMenuItemViewReminder;
frmRem.Show();
}
}
 
Form2
 
private void btnReminder_Click(object sender, EventArgs e)
{
frmMain mainObj = new frmMain();
btnReminder.Click += new EventHandler(mainObj.radMenuItemViewReminder_Click);
}
Please help me How to call Form1 event in form2 given event 

Answers (1)