/// <summary>
 ///
 /// </summary>
 /// <param name="_cn"></param>
 /// <param name="showFun">для вывода в listbox</param>
 /// <param name="qFun">для вывода при ошибке</param>
 public DelInStudentForm(OleDbConnection _cn, Database.fun showFun, Database.fun1 qFun)
 {
     InitializeComponent();
     this.showFun  += showFun;
     this.qFun     += qFun;
     button1.Click += Delete;
     cn             = _cn;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="_cn"></param>
 /// <param name="isAdd">true if add, false if update</param>
 /// <param name="showFun">обновлять Listbox</param>
 /// <param name="qFun">вызывается при ошибке</param>
 public SubjWithMoreHours(OleDbConnection _cn, Database.fun3 showFun, Database.fun1 qFun)
 {
     InitializeComponent();
     this.showFun  += showFun;
     this.qFun     += qFun;
     button1.Click += Query;
     cn             = _cn;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="_cn"></param>
 /// <param name="isAdd">true if add, false if update</param>
 /// <param name="showFun">обновлять Listbox</param>
 /// <param name="qFun">вызывается при ошибке</param>
 public GroupsFromCath(OleDbConnection _cn, Database.fun3 showFun, Database.fun1 qFun)
 {
     InitializeComponent();
     this.showFun  += showFun;
     this.qFun     += qFun;
     button1.Click += Query;
     cn             = _cn;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="_cn"></param>
 /// <param name="isAdd">true if add, false if update</param>
 /// <param name="showFun">обновлять Listbox</param>
 /// <param name="qFun">вызывается при ошибке</param>
 public AddOrUpdateSemestrForm(OleDbConnection _cn, bool isAdd, Database.fun showFun, Database.fun1 qFun)
 {
     InitializeComponent();
     this.showFun  += showFun;
     this.qFun     += qFun;
     button1.Click += Add;
     this.isAdd     = isAdd;
     if (!isAdd)
     {
         this.Text    = "Обновить в Семестр";
         button1.Text = "Обновить";
     }
     cn = _cn;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="_cn"></param>
 /// <param name="isAdd">true if add, false if update</param>
 /// <param name="showFun">обновлять Listbox</param>
 /// <param name="qFun">вызывается при ошибке</param>
 public AddOrUpdateMarksForm(OleDbConnection _cn, bool isAdd, Database.fun showFun, Database.fun1 qFun)
 {
     InitializeComponent();
     this.showFun  += showFun;
     this.qFun     += qFun;
     button1.Click += Add;
     this.isAdd     = isAdd;
     if (!isAdd)
     {
         this.Text    = "Обновить в Текущая успеваемость";
         button1.Text = "Обновить";
     }
     cn = _cn;
 }