Ejemplo n.º 1
0
        private void dispatcherTimer_Tick(object sender, EventArgs e)
        {
            this.TickCount++;

            if (this.TickCount == 5)
            {
                if (this._Users.Count == 0)
                {
                    NewUserWindow nuw = new NewUserWindow(this._Users);
                    nuw.Show();
                    this.Close();
                }
                else
                {
                    StartupWindow sw = new StartupWindow(this._Users);
                    sw.Show();
                    this.Close();
                }
            }
        }
 private void btn_NewUser_Click(object sender, RoutedEventArgs e)
 {
     NewUserWindow nuw = new NewUserWindow(this._Users);
     nuw.Show();
     this.Close();
 }