private void btnInformacion_Click(object sender, EventArgs e) { VentanaEmpleado ventanaempleado = new VentanaEmpleado(); ventanaempleado.Show(); this.SetVisibleCore(false); }
public VentanaEmpleadoVer(VentanaEmpleado padre, string id) { this.padre = padre; InitializeComponent(); this.id = id; this.carga_Empleado(); this.Text = "ID: " + id; }
public VentanaEmpleadoEditar(VentanaEmpleado padre, string id) { this.padre = padre; InitializeComponent(); // TODO: Complete member initialization this.id = id; this.Text = "ID: " + id; carga_datos(); }
public VentanaEmpleadoEliminar(VentanaEmpleado padre, string id) { this.padre = padre; this.id = id; DialogResult resultado = MessageBox.Show("¿Realmende desea Eliminar El Empleado", "AVISO", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (resultado == DialogResult.No) { return; } this.carga_Contacto(); }