public static Recepcion_Orden_Compra getInstance()
        {
            if (ventanaRecepcionOrden == null)
            {
                ventanaRecepcionOrden = new Recepcion_Orden_Compra();
            }

            return(ventanaRecepcionOrden);
        }
Esempio n. 2
0
        private void dgGrillaOrden_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            OrdenCompra ordenCompra = new OrdenCompra();

            try
            {
                ordenCompra = (OrdenCompra)dgGrillaOrden.SelectedItem;
                Recepcion_Orden_Compra.getInstance().cargarNroOrden(ordenCompra);
                this.Close();
            }
            catch (Exception)
            {
                return;
            }
        }
Esempio n. 3
0
 private void MetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     Recepcion_Orden_Compra.getInstance().Show();
     ventanaListaOrden = null;
 }
Esempio n. 4
0
 private void BtnVolver_Click(object sender, RoutedEventArgs e)
 {
     Recepcion_Orden_Compra.getInstance().Show();
     ventanaListaOrden = null;
     this.Close();
 }
Esempio n. 5
0
 private void btnRecepcion(object sender, RoutedEventArgs e)
 {
     Recepcion_Orden_Compra.getInstance().Show();
     ventanaMenu = null;
     this.Close();
 }
 private void BtnVolver_Click(object sender, RoutedEventArgs e)
 {
     Menu.getInstance().Show();
     ventanaRecepcionOrden = null;
     this.Close();
 }