예제 #1
0
        private void lbSignup_Click(object sender, EventArgs e)
        {
            fSignUp f = new fSignUp();

            this.Hide();
            f.ShowDialog();
            this.Show();
        }
예제 #2
0
        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);
            }
        }