Esempio n. 1
0
        static void Main()
        {
            bool firstRun      = true;
            int  currentUserID = 0;



            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);



            while (isAdminUnchanged())
            {
                InformationChange userInfoChangeForm = new InformationChange();
                Application.Run(userInfoChangeForm);
            }

            Regis regisForm = new Regis();

            Application.Run(regisForm);
            LoginForm userLoginForm = new LoginForm();

            Application.Run(userLoginForm);
            currentUserID = userLoginForm.currentUser;
            //Application.Run(new ProfileMain());
        }
Esempio n. 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            textBox1.Text     = "Hi!";
            textBox2.Text     = "Your name here";
            textBox3.Text     = "Still your name, but your last name";
            textBox4.Text     = "Your gmail/yahoo or whatever you use, if you have one";
            textBox6.Text     = "This account type: Super Admin/Admin/Normal User.";
            user_idField.Text = "#123456";
            InformationChange infoChagWindow = new InformationChange();

            infoChagWindow.Show();
            this.Hide();
        }