private void BtnEditContract_Click(object sender, RoutedEventArgs e) { ContratoFrm frm = new ContratoFrm(Contrato); frm.ShowDialog(); FetchEmpleado(); }
private void BtnFire_Click(object sender, RoutedEventArgs e) { ContratoFrm frm = new ContratoFrm(EmpleadoEntrevistado, Total); bool resp = frm.ShowDialog() ?? false; if (resp) { this.Close(); } }
private void BtnAccept_Click(object sender, RoutedEventArgs e) { MessageBoxResult Resp = MessageBox.Show("¿Está Seguro que Desea Contratar al Seleccionado?", "SwissNet", MessageBoxButton.YesNo, MessageBoxImage.Information); if (Resp == MessageBoxResult.No) { return; } ContratoFrm frm = new ContratoFrm(EmpleadoEntrevistado, EmpleadoSelEntrevistado); bool resp = frm.ShowDialog() ?? false; if (resp) { Parent.RegresarDetalleSeleccionado(); } }