private void button_Equipment_Click(object sender, EventArgs e) { AddEquipmentDebitForm form = new AddEquipmentDebitForm(this); this.Hide(); form.Visible = true; }
private void ToolStripMenuItem_Add_EquipmentDebit_Click(object sender, EventArgs e) { showOwner = false; AddEquipmentDebitForm form = new AddEquipmentDebitForm(Owner); this.Close(); form.Visible = true; }