예제 #1
0
        private void Change_Account_Click(object sender, EventArgs e)
        {
            User.loggedin = false;
            Auth_Form form = new Auth_Form();

            form.ShowDialog();
            if (User.loggedin)
            {
                initaccount();
            }
        }
예제 #2
0
        static void Main()
        {
            string    login;
            Auth_Form authform = new Auth_Form();

            authform.ShowDialog();
            if (User.loggedin == false)
            {
                return;
            }
            Account_Form account = new Account_Form();

            account.ShowDialog();
        }