예제 #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
파일: Main.cs 프로젝트: synesthesiam/nexus
        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");
        }