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