Exemple #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            LOGIN_FORM FLogin = new LOGIN_FORM(2);
            FLogin.ShowDialog();

            if (!FLogin.LoginStatus)
                return;

            Properties.Settings.Default.ParameterHis = "";
            Properties.Settings.Default.Save();
            comboBox1.Items.Clear();
        }
Exemple #2
0
        private void FUpdateDb_Load(object sender, EventArgs e)
        {
            FLogin = new LOGIN_FORM(2);
            FLogin.ShowDialog();

            if (!FLogin.LoginStatus)
            {
                this.Close();
            }

            User = new AppUser();
            User = FLogin.User;
        }