Example #1
0
 public static void ApplyLook(NlmSearchBar searchBar)
 {
     using (CuiUpdater cuiUpdater = CuiUpdater.GetInstance())
     {
         searchBar.BackColor = cuiUpdater.GetMaxColor(7);
         searchBar.ForeColor = cuiUpdater.GetMaxColor(1);
     }
 }
Example #2
0
 public static void ApplyLook(NestedLayerManager nlm)
 {
     using (CuiUpdater cuiUpdater = CuiUpdater.GetInstance())
     {
         nlm.BackColor = cuiUpdater.GetMaxColor(0);
     }
 }
Example #3
0
 public static Color GetHighlightColor()
 {
     using (CuiUpdater cuiUpdater = CuiUpdater.GetInstance())
     {
         return(cuiUpdater.GetMaxColor(13));
     }
 }
Example #4
0
 public static void ApplyLook(NlmTreeListView listView)
 {
     using (CuiUpdater cuiUpdater = CuiUpdater.GetInstance())
     {
         listView.BackColor                         = cuiUpdater.GetMaxColor(7);
         listView.ForeColor                         = cuiUpdater.GetMaxColor(1);
         listView.AlternateRowBackColor             = Color.FromArgb(listView.BackColor.R + 5, listView.BackColor.G + 5, listView.BackColor.B + 5);
         listView.HighlightBackgroundColor          = cuiUpdater.GetMaxColor(13);
         listView.UnfocusedHighlightBackgroundColor = cuiUpdater.GetMaxColor(13);
         listView.HighlightForegroundColor          = cuiUpdater.GetMaxColor(11);
         listView.UnfocusedHighlightForegroundColor = cuiUpdater.GetMaxColor(11);
     }
 }