private void StuLoginNextButton_Click(object sender, EventArgs e)
        {
            if ((NameTextBox.Text != "") && (EmailTextBox.Text != ""))
            {
                studentInfo();
                this.Hide();
                CategoryForm options = new CategoryForm();
                options.Show();

                if (options.done())
                {
                    catdone = true;
                }
            }
            else
            {
                if (NameTextBox.Text == "")
                {
                    MessageBox.Show("Please Enter A Name !", "", MessageBoxButtons.OK);
                }
                else if (EmailTextBox.Text == "")
                {
                    MessageBox.Show("Please Enter An E-mail !", "", MessageBoxButtons.OK);
                }
            }
        }
Exemple #2
0
        private void StuLoginNextButton_Click(object sender, EventArgs e)
        {
            Student person = new Student();


            // ca
            CategoryForm options = new CategoryForm();

            options.Show();
        }