private void button5_Click(object sender, EventArgs e) { create_form_1 form = new create_form_1(this, id_factory, id_worker, false); form.Show(); this.Hide(); }
private void button3_Click(object sender, EventArgs e) { if (!fac3) { create_form_1 form = new create_form_1(this, id_authorize_worker, 2, create); form.Show(); } else { Factory_control_center f_c_C = new Factory_control_center(this, 3, id_authorize_worker); f_c_C.Show(); this.Hide(); } this.Hide(); }