/// <summary> /// Fills the subjects from the database table into the list view. /// </summary> public void RepopulateSubjectTab() { if (this.InvokeRequired) { RepopulateSubjectTabDelegate repopulateSubjectTabDelegate = new RepopulateSubjectTabDelegate(this.RepopulateSubjectTab); this.Invoke(repopulateSubjectTabDelegate); return; } this.PopulateSubjectListView(); this.Refresh(); }
/// <summary> /// Fills the subjects from the database table into the list view. /// </summary> public void RepopulateSubjectTab() { if (this.InvokeRequired) { RepopulateSubjectTabDelegate repopulateSubjectTabDelegate = new RepopulateSubjectTabDelegate(this.RepopulateSubjectTab); this.Invoke(repopulateSubjectTabDelegate); return; } this.PopulateSubjectListView(); this.Refresh(); }