Ejemplo n.º 1
0
        private void btn_Account_Click(object sender, EventArgs e)
        {
            if (UserSettings.LoggedOn)
            {
                UserAccountPage user_page = new UserAccountPage();
                user_page.ShowDialog();
            }
            else
            {
                LoginPage login_page = new LoginPage();
                login_page.ShowDialog();
            }


            //RegistrationPage regis = new RegistrationPage();
            //regis.ShowDialog();

            //UserAccountPage uap = new UserAccountPage();
            //uap.ShowDialog();
        }