private void button4_Click(object sender, EventArgs e) { this.Hide(); var viewEmployee = new viewEmployeeList(mc, Model); viewEmployee.ShowDialog(); }
private void button3_Click(object sender, EventArgs e) { viewEmployeeList form = new viewEmployeeList(mc, Model); form.Dock = DockStyle.Fill; form.Show(); this.Close(); }