Example #1
0
        public MainWindow()
        {
            InitializeComponent();
            U.Update();
            users.Text      = String.Join(" ", U.users);
            passswords.Text = String.Join(" ", U.passwords);
            string line = Txt.ReadLine();

            if (!(line == "None"))
            {
                int     id      = Convert.ToInt32(line);
                Window1 window1 = new Window1(U.users[id]);
                this.Hide();
                window1.ShowDialog();
                this.Show();
            }
        }