示例#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;
 }