//======================================= // // <Summary> // Method for Show the Add Student // Popup form // //======================================= private void ShowAddStudentModal() { AddStudentRecord asr = new AddStudentRecord(); if (asr.ShowDialog() == DialogResult.OK) { GetStudentRecords(); } }
//======================================= // <Summary> // Method for showing Add Student // Modal // </Summary> //======================================= private void ShowAddStudentModal() { AddStudentRecord modal = new AddStudentRecord(); modal.ShowDialog(); }