Ejemplo n.º 1
0
        /// <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();
        }
Ejemplo n.º 2
0
    /// <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();
    }