Esempio n. 1
0
        private void lbSignup_Click(object sender, EventArgs e)
        {
            fSignUp f = new fSignUp();

            this.Hide();
            f.ShowDialog();
            this.Show();
        }
        private void btAddUserName_Click(object sender, EventArgs e)
        {
            fSignUp frm = new fSignUp();

            frm.ShowDialog();
            List <Account> accounts = AccountDAL.Instance.GetListAccount();

            this.cbbUser.Items.Clear();
            foreach (Account acc in accounts)
            {
                this.cbbUser.Items.Add(acc.Username);
            }
        }