private void customer_Click(object sender, EventArgs e) { temp_c = new temp_customer(this, msc); this.Hide(); if (temp_c.ShowDialog() == DialogResult.OK) { this.Hide(); customer_part customer_Form = new customer_part(this, msc, temp_c.get_account); temp_c.Close(); customer_Form.Show(); } }
private void customer_Click(object sender, EventArgs e) { customer_Form = new customer_part(this); this.Hide(); customer_Form.Show(); }