Exemple #1
0
        private void UpdateStudent_Click(object sender, EventArgs e)
        {
            SearchStudent studupdate = new SearchStudent();

            studupdate.update_button.Text    = "Update";
            studupdate.remove_button.Visible = true;
            FormCall(studupdate);
        }
Exemple #2
0
        private void StudentProfile_Click(object sender, EventArgs e)
        {
            SearchStudent studprofile = new SearchStudent();

            studprofile.update_button.Text = "View Student Details";
            studprofile.student_search_groupBox.Controls.Add(studprofile.update_button);
            studprofile.update_button.Location = new System.Drawing.Point(400, 27);
            studprofile.update_button.Width    = 180;
            studprofile.update_button.Font     = new Font("Times New Roman", 13);
            studprofile.remove_button.Visible  = false;
            FormCall(studprofile);
        }
 private void FormCloseBtn_Click(object sender, EventArgs e)
 {
     if (isUpdate)
     {
         SearchStudent obj = new SearchStudent();
         obj.TopLevel = false;
         obj.Parent   = ClassCall.mainFormObj.masterpanel;
         obj.Dock     = DockStyle.Fill;
         obj.BringToFront();
         obj.Focus();
         obj.Show();
     }
 }
 public StudentAdmission(StudentEntity se, SearchStudent obj1)
 {
     InitializeComponent();
     this.se          = se;
     searchstudentobj = obj1;
 }