private void BtnAddnew_Click(object sender, EventArgs e) { Pan_Add pd = new Pan_Add(); pd.ShowDialog(); }
private void addPANDetailsToolStripMenuItem_Click(object sender, EventArgs e) { Pan_Add f = new Pan_Add(); // creating Add_Pan object f.ShowDialog(); }