public GTModel GetModelByID(int varModelID)
        {
            GTModel model = null;

            mModels.TryGetValue(varModelID, out model);
            return(model);
        }
 //public GTModuleListenerControl()
 //{
 //    mGlobalEventManager = GlobalEventManager.GetSingleton();
 //    mNetMsgEventManager = NetWorkEventManager.GetSingleton();
 //}
 public GTModuleListenerControl(GTModel varModel)
 {
     mModel = varModel;
     if (varModel != null)
     {
         varModel.AddListener(this);
     }
     mGlobalMsgQueue     = new EventHandlerQueue(CrossContextEventProcessor.GetInstance());
     mNetMsgQueue        = new EventHandlerQueue(NetworkEventProcessor.GetInstance());
     mGlobalEventManager = CrossContextEventProcessor.GetInstance();
     mNetMsgEventManager = NetworkEventProcessor.GetInstance();
 }
 public void AddModel(GTModel model)
 {
     return;
 }