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