Beispiel #1
0
        private void BtnCreate_Click(object sender, EventArgs e)
        {
            CUEmployees form = new CUEmployees();

            form.Text = "Nuevo empleado";
            form.Show();
            this.Close();
        }
Beispiel #2
0
        private void BtnUpdate_Click(object sender, EventArgs e)
        {
            CUEmployees form = new CUEmployees(selected);

            form.Text = "Modificación de empleado";
            form.Show();
            this.Close();
        }
Beispiel #3
0
        private void NuevoEmpleadoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CUEmployees childForm = new CUEmployees();

            childForm.MdiParent = this;
            childForm.Text      = "Nuevo empleado";
            childForm.Show();
        }