// GloboPcPay Me.LblTError, Me.LblAprob, Me.LblDenied, Me.LblAuth private void Cargar() { Globales.strNombreFP = NOMBRE_GENERAL + ".Cargar()"; lblMoneda.Content = ""; this.TFECHAVENC.Text = string.Empty; if (TypeUsuario.Id_Company == Globales.EMPREF && TypeUsuario.Id_Branch == Globales.EMPREF2) { NumOrden.Visibility = Visibility.Hidden; label7.Visibility = Visibility.Hidden; } if (Globales.bolActivaMotoP) { limpia(); Mouse.OverrideCursor = null; CmdLeer.Visibility = Visibility.Visible; CmdEnviar.Visibility = Visibility.Hidden; } else { // Unload Me } label7.Content = TypeUsuario.reference; if (TypeUsuario.ShowMsg) { frmAvisoBanda frmBanda = new frmAvisoBanda(); frmBanda.Owner = Globales.principal; frmBanda.ShowDialog(); } }
private void cargandoVentana(object sender, RoutedEventArgs e) { if (TypeUsuario.ShowMsg) { frmAvisoBanda banda = new frmAvisoBanda(); banda.ShowDialog(); } if (st_capt_tel_imp == "1") { lblReferencia.Content = "Número telefónico"; importe.IsEnabled = true; txtReferencia.IsEnabled = true; importe.IsEnabled = true; lbl044.Visibility = Visibility.Visible; } else if (st_capt_tel_imp == "2") { lblReferencia.Content = "Número telefónico"; txtReferencia.IsEnabled = true; txtReferencia.MaxLength = 10; importe.Text = Globales.VServicios.getRspVsImporte(); lbl044.Visibility = Visibility.Visible; } else { importe.Text = Globales.VServicios.getRspVsReferencia(); lbl044.Visibility = Visibility.Hidden; } }
private void Page_Loaded(object sender, RoutedEventArgs e) { if (TypeUsuario.ShowMsg) { frmAvisoBanda banda = new frmAvisoBanda(); banda.ShowDialog(); } }
private void cargandoFormulario(object sender, RoutedEventArgs e) { if (TypeUsuario.ShowMsg) { frmAvisoBanda frm = new frmAvisoBanda(); frm.Owner = this.propietario; frm.ShowDialog(); } imgEmailFirmaPanel.Visibility = Visibility.Hidden; }
private void Page_Loaded_1(object sender, RoutedEventArgs e) { Mouse.OverrideCursor = null; if (TypeUsuario.ShowMsg) { frmAvisoBanda aviso = new frmAvisoBanda(); aviso.ShowDialog(); } }
private void cargandoVentana(object sender, RoutedEventArgs e) { try { string msg = string.Empty; //if(!(Globales.TiempoAire.dbgSetReader())){ // Globales.MessageBoxMit("Imposible establecer comunicacion con el lector"); // return; //} cboBanco = Globales.obtieneBancos(cboBanco, Globales.GetDataXml("catbancos", Globales.VServicios.getRspVsXML())); cboBanco.Focus(); if (TypeUsuario.ShowMsg) { frmAvisoBanda frmAvisoBanda = new frmAvisoBanda(); frmAvisoBanda.ShowDialog(); } if (st_capt_tel_imp == "1") { lblReferencia.Content = "Número Telefónico"; importe.IsEnabled = true; txtReferencia.IsEnabled = true; txtReferencia.MaxLength = 10; Thickness Margen = new Thickness(); Margen.Left = 41; Margen.Right = 0; Margen.Bottom = 0; Margen.Top = 33; txtReferencia.Margin = Margen; lbl044.Visibility = Visibility.Visible; if (!string.IsNullOrWhiteSpace(Globales.VServicios.getRspVsImporte())) { txtReferencia.Focus(); importe.IsEnabled = false; importe.Text = Globales.VServicios.getRspVsImporte(); } } else if (st_capt_tel_imp == "2") { lblReferencia.Content = "Número Telefónico"; txtReferencia.IsEnabled = true; txtReferencia.MaxLength = 10; importe.Text = Globales.VServicios.getRspVsImporte(); Thickness Margen = new Thickness(); Margen.Left = 41; Margen.Right = 0; Margen.Bottom = 0; Margen.Top = 33; txtReferencia.Margin = Margen; lbl044.Visibility = Visibility.Visible; } else { importe.Text = Globales.VServicios.getRspVsImporte(); txtReferencia.Text = Globales.VServicios.getRspVsReferencia(); lbl044.Visibility = Visibility.Hidden; } } catch { } }