private void BtnCreate_Click(object sender, EventArgs e) { CUEmployees form = new CUEmployees(); form.Text = "Nuevo empleado"; form.Show(); this.Close(); }
private void BtnUpdate_Click(object sender, EventArgs e) { CUEmployees form = new CUEmployees(selected); form.Text = "Modificación de empleado"; form.Show(); this.Close(); }
private void NuevoEmpleadoToolStripMenuItem_Click(object sender, EventArgs e) { CUEmployees childForm = new CUEmployees(); childForm.MdiParent = this; childForm.Text = "Nuevo empleado"; childForm.Show(); }