private void bntStock_Click(object sender, EventArgs e) { this.Hide(); Items.StockDetails go = new Items.StockDetails(); go.MdiParent = this.ParentForm; go.Show(); }
private void stockDetailsToolStripMenuItem_Click(object sender, EventArgs e) { Items.StockDetails go = new Items.StockDetails(); go.MdiParent = this; go.Show(); }