// Existing class from. public ClassListForm(string clubID, int year, int classNo) { ActiveClass = new Class(clubID, year, classNo); InitializeComponent(); SetExistingData(); }
// Refresh to existing class form. private void RefreshForm(string clubID, int year, int classNo) { ActiveClass = new Class(clubID, year, classNo); SetExistingData(); }
// New class form. public ClassListForm(string clubID, int year) { ActiveClass = new Class(clubID, year); InitializeComponent(); SetNewData(); }
// Refresh to new class form. private void RefreshForm(string clubID, int year) { ActiveClass = new Class(clubID, year); SetNewData(); }