private void regGI_Click(object sender, RoutedEventArgs e) { var uc = new ucRegistrarGI(); _mainWindow.sPanelOne.Children.Clear(); _mainWindow.sPanelOne.Children.Add(uc); }
public WinCliente(ucRegistrarTicket regTicket, ucRegistrarGI regGI) { _regTicket = regTicket; _regGI = regGI; InitializeComponent(); _ClienteClient = new ClienteClient(); _TablaGeneralClient = new TablaGeneralClient(); _CertificadoVSPClient = new CertificadoVSPClient(); txtDesc.Focus(); //txtDesc.FontSize = 20; //txtDesc.Foreground = Brushes.Gray; //txtDesc.Text = "Nombre comercial, Documento o Codigo"; }
public WinCertificados(ucRegistrarGI regGI) { _regGi = regGI; InitializeComponent(); _CertificadoVSPClient = new CertificadoVSPClient(); listView.SelectionMode = SelectionMode.Multiple; idCliente = Convert.ToInt32(_regGi.lblHiddenIdCliente.Content); strCosecha = (DateTime.Today).Year.ToString(); if (idCliente != 0) { usp_LisSaldoCertificado(idCliente, strCosecha); } RecorrerGridObtenerMenorValor(); }
private void btnRegistrarGI_Click(object sender, RoutedEventArgs e) { _mainWindow.InPMenuNavegacion = 1; _mainWindow.InSMenuNavegacion = 3; ucMenuNavegacion ucM = new ucMenuNavegacion(_mainWindow); _mainWindow.SPanelNavegacion.Children.Clear(); _mainWindow.SPanelNavegacion.Children.Add(ucM); ucRegistrarGI uc = new ucRegistrarGI(); _mainWindow.sPanelOne.Children.Clear(); _mainWindow.sPanelOne.Children.Add(uc); }
public WinListGIIngresoPRP(ucRegistrarGI oRegGI) { InitializeComponent(); _TablaGeneralClient = new TablaGeneralClient(); _GuiaIngresoZonaClient = new GuiaIngresoZonaClient(); _oRegGI = oRegGI; strOfOrigen = _oRegGI.lblHiddenOfOrigen.Content.ToString(); strGR = _oRegGI.lblHiddenGRSGO.Content.ToString(); OfOrigen(); if (strOfOrigen != "") { cboOfOrigen.SelectedValue = strOfOrigen; /*Cargar el combo de GR*/ Llenar_GuiaRemision(strOfOrigen); cboGR.SelectedValue = strGR; /*Cargar el listview con el idGuiaRemision*/ Llenar_Grid(Convert.ToInt32(strGR)); } }