public void SetAllAreas(object obj)
        {
            var patternCombItem = new CommUI.Pattern_Comb_Item
            {
                Bg_Brush_Solid = { Color = (Color)obj },
                Sel_Item       = { Style = null }
            };

            patternCombItem.Sel_Item.Background          = patternCombItem.Bg_Brush_Solid;
            patternCombItem.Sel_Item.Content             = string.Empty;
            patternCombItem.But_Args                     = CommUI.Get_Color_Sceenes_class_From_Brush(patternCombItem.Bg_Brush_Solid);
            patternCombItem.But_Args[0].Scenes_type      = 0;
            patternCombItem.But_Args[1].Scenes_type      = 0;
            patternCombItem.But_Args[0].TransitionsTeime = 10;
            patternCombItem.But_Args[1].TransitionsTeime = 10;
            patternCombItem.Bri   = 9;
            patternCombItem.Speed = 2;
            patternCombItem.Type  = 0;

            var allAreaInfo = _allAreaInfo.Select(areaInfo => new CommUI.Area_class(patternCombItem, areaInfo.Area_index, null)).ToList();

            var allExtAreaInfo = _allExtAreaInfo.Select(areaInfo => new CommUI.Area_class(patternCombItem, areaInfo.Area_index, null)
            {
                Ext_Area_id = areaInfo.Ext_Area_id
            }).ToList();

            allAreaInfo.AddRange(allExtAreaInfo);
            _ledFun.Set_Adv_mode(allAreaInfo, true);
        }
 public void SetMainboardRingAreas()
 {
     FillAllAreaInfo();
     while (_MainBoardRingCommandsThread.IsAlive)
     {
         _MainBoardRingCommandEvent.WaitOne();
         CreateAreaCommands();
         if (MainboardCommandsCommands.Count > 0)
         {
             _ledFun.Set_Adv_mode(MainboardCommandsCommands, true); // Just Mainboard can work in direct mode with RGBFusion gigabyte dlls. Managed to get direct mode on VGA with lower level dll.
         }
         _MainBoardRingCommandEvent.Reset();
     }
 }