private void btnBack_Click(object sender, EventArgs e)
 {
     if (txtListAccount.Text == "")
     {
         this.Close();
         frmAddingQuestion newform = new frmAddingQuestion();
         newform.Show();
     }
     else
     {
         if (MessageBox.Show("Exit?", "Notification!", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
         {
             this.Close();
             frmAddingQuestion newform = new frmAddingQuestion();
             newform.Show();
         }
     }
 }
示例#2
0
        private void btnAddAccount_Click(object sender, EventArgs e)
        {
            frmAddingQuestion quest = new frmAddingQuestion();

            quest.Show();
        }