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

            return(ventanaRecepcionOrden);
        }
Beispiel #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;
            }
        }
Beispiel #3
0
 private void MetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     Recepcion_Orden_Compra.getInstance().Show();
     ventanaListaOrden = null;
 }
Beispiel #4
0
 private void BtnVolver_Click(object sender, RoutedEventArgs e)
 {
     Recepcion_Orden_Compra.getInstance().Show();
     ventanaListaOrden = null;
     this.Close();
 }
Beispiel #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();
 }