private void button1_Click(object sender, EventArgs e) { frmInventory frm = new frmInventory(); frm.ShowDialog(); }