private void barbtn_BookManage_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { UC_ReadPlanEdit content = new UC_ReadPlanEdit(); tabHelper.AddorShowTabPage(barbtn_BookManage.Caption, content); GParam.Create().Mediator.AddActor(typeof(UC_ReadPlanEdit).Name, content); }
public void NotifyUpdateReadPlan() { UC_ReadPlanEdit content = GetActor(typeof(UC_ReadPlanEdit).Name) as UC_ReadPlanEdit; if (content != null) { content.onInitialUI(); } }
public void NotifyUpdateBookCatalog() { UC_ReadPlanEdit content = GetActor(typeof(UC_ReadPlanEdit).Name) as UC_ReadPlanEdit; if (content != null) { content.onLoadBookCatalog(); } }