Beispiel #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            var logstdnt = new logstdnt();

            logstdnt.Closed += (s, args) => this.Close();
            logstdnt.Show();
        }
        private void button3_Click(object sender, EventArgs e)
        {
            this.Hide();
            logstdnt logstudent = new logstdnt();

            logstudent.Show();
        }
Beispiel #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            student aStudent = new student();

            aStudent.StudentID   = txtstdntID.Text;
            aStudent.StudentName = txtstdnName.Text;
            aStudent.Course      = txtCourse.Text;
            aStudent.Password    = txtPass.Text;

            saveToFile(filepath);

            MessageBox.Show("your registration is sucessfully");
            this.Hide();
            logstdnt log = new logstdnt();

            log.Show();
        }