Esempio n. 1
0
 // Token: 0x060001AE RID: 430 RVA: 0x00007EC0 File Offset: 0x000060C0
 public static void ApplyTheme(this ObjectListView list, Style style)
 {
     if (style == Style.Light)
     {
         for (int i = 0; i < list.Items.Count; i++)
         {
             list.Items[i].BackColor = ThemeExtensions.LightListViewBack;
             list.Items[i].ForeColor = ThemeExtensions.LightListViewFore;
         }
     }
     if (style == Style.Dark)
     {
         for (int j = 0; j < list.Items.Count; j++)
         {
             list.Items[j].BackColor = ThemeExtensions.DarkListViewBack;
             list.Items[j].ForeColor = ThemeExtensions.DarkListViewFore;
         }
     }
     ThemeExtensions.ApplyListView(list, style);
 }
Esempio n. 2
0
 // Token: 0x060001AC RID: 428 RVA: 0x000034F4 File Offset: 0x000016F4
 public static void ApplyTheme(this ListView list, Style style)
 {
     ThemeExtensions.ApplyListView(list, style);
 }