Пример #1
0
        public static AdministrarContrato getInstance()
        {
            if (ventana == null)
            {
                ventana = new AdministrarContrato();
            }

            return(ventana);
        }
Пример #2
0
 private void btnadministrarContrato_Click(object sender, RoutedEventArgs e)
 {
     AdministrarContrato.getInstance().Show();
     AdministrarContrato.getInstance().Activate();
 }
Пример #3
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     ventana = null;
 }