Example #1
0
        private void modificarEmpleadoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            inputBox dialogo = new inputBox(1);

            dialogo.ShowDialog();
            Empleado emp = dialogo.getEmpleado();

            if (emp != null)
            {
                empleadoForm accionEmp = new empleadoForm(2, emp, this.fesc);
                accionEmp.ShowDialog();
            }
        }
Example #2
0
        private void agrgarEmpleadosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            empleadoForm accionEmp = new empleadoForm(1, this.emp, this.fesc);

            accionEmp.ShowDialog();
        }