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");
        }