Esempio n. 1
0
 /// <summary>
 /// 新增學生相關報表按鈕
 /// </summary>
 /// <param name="report"></param>
 public static void AddReport(ButtonAdapter report)
 {
     if (_Manager == null)
     {
         catchItems.Add(report);
     }
     _Manager.AddButton(report);
 }
Esempio n. 2
0
 public static void SetManager(IReportManager manager)
 {
     _Manager = manager;
     foreach (ButtonAdapter var in catchItems)
     {
         _Manager.AddButton(var);
     }
     catchItems.Clear();
 }