private void depositToolStripMenuItem_Click(object sender, EventArgs e) { deposit o = new deposit(); o.MdiParent = this.MdiParent; o.Show(); }
private void button2_Click(object sender, EventArgs e) { deposit d = new deposit(); d.ShowDialog(); }