private void BtnUpdate_Click(object sender, EventArgs e) { Pan_Update pd = new Pan_Update(); pd.ShowDialog(); }
private void updateToolStripMenuItem_Click(object sender, EventArgs e) { Pan_Update f = new Pan_Update(); // creating Pan_Update object f.ShowDialog(); }