public static AdminInv getInstance() { if (ventanaInventario == null) { ventanaInventario = new AdminInv(); } return(ventanaInventario); }
private void btnInventario(object sender, RoutedEventArgs e) { AdminInv.getInstance().Show(); ventanaMenu = null; this.Close(); }
private void MetroWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e) { Menu.getInstance().Show(); ventanaInventario = null; }
private void BtnVolver_Click(object sender, RoutedEventArgs e) { Menu.getInstance().Show(); ventanaInventario = null; this.Close(); }