private void button1_Click(object sender, EventArgs e) { SUPPLIER_DETAILS f = new SUPPLIER_DETAILS(); f.Show(); this.Hide(); }
private void SupplierToolStripMenuItem1_Click(object sender, EventArgs e) { this.IsMdiContainer = true; SUPPLIER_DETAILS f = new SUPPLIER_DETAILS(); f.MdiParent = this; f.Show(); }