示例#1
0
        public iOSUITheme(IAspyGlobals _iOSGlobals, IUITheme _sharedGlobal)
        {
            this._iosglobals = _iOSGlobals;
            this.g           = _sharedGlobal;

            AssignGlobals();
        }
示例#2
0
 public static void Accept(this Control control, IUITheme theme)
 {
     if (control != null)
     {
         if (ThemeMap.ContainsKey(control.GetType()))
         {
             ThemeMap[control.GetType()](control, theme);
         }
         if (control.Controls != null)
         {
             foreach (Control c in control.Controls)
             {
                 c.Accept(theme);
             }
         }
     }
 }
示例#3
0
 public ApplicationFactory()
 {
     currentTheme       = new DefaultUITheme();
     memoryRepository   = new MemoryRepository();
     traceServerService = new TraceServerService(memoryRepository);
 }
 public void AddVcUITheme(IUITheme _vcuitheme)
 {
     this._vcUIThemeList.Add(_vcuitheme.VcTag, _vcuitheme);
 }