public IUIComponents CreateUIComponents(string strUI) { IUIComponents retComponents = null; switch (strUI) { } return(retComponents); }
public IUIComponents CreateUIComponentsByUIName(string uiName) { IUIComponents retComponents = null; switch (uiName) { case "UIEditPanel": retComponents = new UIEditPanelComponents(); break; case "UIExample4AboutPage": retComponents = new UIExample4AboutPageComponents(); break; case "UIExample4Dialog": retComponents = new UIExample4DialogComponents(); break; case "UIExample4GamePage": retComponents = new UIExample4GamePageComponents(); break; case "UIExample4MainPage": retComponents = new UIExample4MainPageComponents(); break; case "UIExample5AboutPage": retComponents = new UIExample5AboutPageComponents(); break; case "UIExample5Dialog": retComponents = new UIExample5DialogComponents(); break; case "UIExample5GamePage": retComponents = new UIExample5GamePageComponents(); break; case "UIExample5MainPage": retComponents = new UIExample5MainPageComponents(); break; case "UIHomePage": retComponents = new UIHomePageComponents(); break; case "UIToDoListPage": retComponents = new UIToDoListPageComponents(); break; } return(retComponents); }
public IUIComponents CreateUIComponents(string strUI) { IUIComponents retComponents = null; switch (strUI) { case "UIFirstPage": retComponents = new UIFirstPageComponents(); break; case "UIMainPage": retComponents = new UIMainPageComponents(); break; } return(retComponents); }
public IUIComponents CreateUIComponents(string strUI) { IUIComponents retComponents = null; switch (strUI) { case "UIExample4AboutPage": retComponents = new UIExample4AboutPageComponents(); break; case "UIExample4Dialog": retComponents = new UIExample4DialogComponents(); break; case "UIExample4GamePage": retComponents = new UIExample4GamePageComponents(); break; case "UIExample4MainPage": retComponents = new UIExample4MainPageComponents(); break; case "UIExample5AboutPage": retComponents = new UIExample5AboutPageComponents(); break; case "UIExample5Dialog": retComponents = new UIExample5DialogComponents(); break; case "UIExample5GamePage": retComponents = new UIExample5GamePageComponents(); break; case "UIExample5MainPage": retComponents = new UIExample5MainPageComponents(); break; case "UIHomePage": retComponents = new UIHomePageComponents(); break; } return(retComponents); }
public IUIComponents CreateUIComponents(string strUI) { IUIComponents retComponents = null; switch (strUI) { // case "UIBottomFrame": // retComponents = new UIBottomFrameComponents(); // break; // case "UICommonBg": // retComponents = new UICommonBgComponents(); // break; // case "UIGameLayer": // retComponents = new UIGameLayerComponents(); // break; // case "UIGoldLabel": // retComponents = new UIGoldLabelComponents(); // break; // case "UIHelpLayer": // retComponents = new UIHelpLayerComponents(); // break; // case "UIHomeBg": // retComponents = new UIHomeBgComponents(); // break; // case "UIHomeLayer": // retComponents = new UIHomeLayerComponents(); // break; // case "UIPauseLayer": // retComponents = new UIPauseLayerComponents(); // break; // case "UISettingLayer": // retComponents = new UISettingLayerComponents(); // break; // case "UIShopLayer": // retComponents = new UIShopLayerComponents(); // break; // case "UITopFrame": // retComponents = new UITopFrameComponents(); // break; } return(retComponents); }
protected void SetUIBehavior(IUIComponents uiChild) { mIComponents = uiChild; mIComponents.InitUIComponents(); }
protected void SetUIComponents(IUIComponents uiComponents) { mIComponents = uiComponents; }
void InnerInit() { m_IComponents = UIFactory.Instance.CreateUIComponents(name); m_IComponents.InitUIComponents(); InitUI(); }
protected void SetUIBehavior(IUIComponents uiChild) { mIComponents = uiChild; mIComponents.InitUIComponents(); }