Пример #1
0
 private void button_Click(object sender, RoutedEventArgs e)
 {
    /*obtiene la contraseña y la guarda en una variable 
    String uno = "";
     uno = passwordBox.Password;
     textBlock.Text = uno;
   */
     MainWindow inicio = new MainWindow();
     inicio.Show();
     this.Close();
 }
Пример #2
0
        public static void Main(string[] args)
        {
            BasicConfigurator.Configure();
            log4net.ILog logger = log4net.LogManager.GetLogger("Nexus.Application");

            logger.Info("Starting Nexus");

            Application.Init ();
            MainWindow win = new MainWindow ();
            win.Show ();
            Application.Run ();

            logger.Info("Stopping Nexus");
        }