public static AdminContrato getInstance() { if (ventanaPrincipal2 == null) { ventanaPrincipal2 = new AdminContrato(); } return(ventanaPrincipal2); }
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) { ventanaPrincipal2 = null; }
private void Tile_Click_3(object sender, RoutedEventArgs e) { AdminContrato.getInstance().Show(); AdminContrato.getInstance().ContratoCollection = this._contratoCollection; }