Esempio n. 1
0
        private void UpdateColorScheme(WindowsColorScheme scheme)
        {
            LayoutOptions layoutOptions = (LayoutOptions)this.Options;

            if (layoutOptions.ColorScheme == scheme)
            {
                return;
            }
            layoutOptions.ColorScheme = scheme;
            layoutOptions.Apply();
            this.OptionsChanged = true;
        }
Esempio n. 2
0
 public WhidbeyRenderer(WindowsColorScheme colorScheme)
 {
     this.ColorScheme = colorScheme;
 }
Esempio n. 3
0
		public WhidbeyRenderer(WindowsColorScheme colorScheme)
		{
			ColorScheme = colorScheme;
		}
Esempio n. 4
0
        protected override void GetColorsFromSystem()
        {
            WindowsColorScheme x62a65b2c0f145432 = this.x62a65b2c0f145432;

label_28:
            do
            {
                switch (x62a65b2c0f145432)
                {
                case WindowsColorScheme.Automatic:
                    goto label_14;

                case WindowsColorScheme.Standard:
                    this.ApplyStandardColors();
                    continue;

                case WindowsColorScheme.LunaBlue:
                    goto label_4;

                case WindowsColorScheme.LunaOlive:
                    goto label_5;

                case WindowsColorScheme.LunaSilver:
                    goto label_1;

                default:
                    goto label_2;
                }
            }while (false);
            goto label_2;
label_1:
            this.ApplyLunaSilverColors();
label_2:
            base.GetColorsFromSystem();
            return;

label_4:
            this.ApplyLunaBlueColors();
            goto label_2;
label_5:
            this.ApplyLunaOliveColors();
            goto label_2;
label_14:
            if (!WhidbeyRenderer.x7fb2e1ce54a27086())
            {
                goto label_24;
            }
            else
            {
                goto label_15;
            }
label_13:
            if (true)
            {
                goto label_21;
            }
            else
            {
                goto label_14;
            }
label_15:
            string str1;

            if (x60f3af502af1d663.x2e20a402b77c44dc)
            {
                str1 = x60f3af502af1d663.x4f15c2ab6fab0941;
            }
            else
            {
                goto label_13;
            }
label_17:
            string str2 = str1;

            while (true)
            {
                if (true)
                {
                    if (false)
                    {
                        if (true)
                        {
                            goto label_28;
                        }
                        else
                        {
                            goto label_24;
                        }
                    }
                    else
                    {
                        if (false)
                        {
                            return;
                        }
                        switch (str2)
                        {
                        case "NormalColor":
                            this.ApplyLunaBlueColors();
                            goto label_2;

                        case "HomeStead":
                            this.ApplyLunaOliveColors();
                            goto label_2;

                        case "Metallic":
                            if (true)
                            {
                                this.ApplyLunaSilverColors();
                                goto label_2;
                            }
                            else
                            {
                                goto label_13;
                            }

                        default:
                            this.ApplyStandardColors();
                            if (true)
                            {
                                if (false)
                                {
                                    return;
                                }
                                if (false)
                                {
                                    continue;
                                }
                                goto label_2;
                            }
                            else
                            {
                                goto case "HomeStead";
                            }
                        }
                    }
                }
                else
                {
                    goto label_20;
                }
            }
            goto label_2;
label_20:
            if (true)
            {
                goto label_13;
            }
label_21:
            str1 = "none";
            goto label_17;
label_24:
            if (false)
            {
                if (true)
                {
                    goto label_20;
                }
            }
            else
            {
                goto label_21;
            }
        }
Esempio n. 5
0
 public Office2003Renderer(WindowsColorScheme colorScheme)
 {
     ColorScheme = colorScheme;
 }
Esempio n. 6
0
 private void UpdateColorScheme(WindowsColorScheme scheme)
 {
   LayoutOptions layoutOptions = (LayoutOptions) this.Options;
   if (layoutOptions.ColorScheme == scheme)
     return;
   layoutOptions.ColorScheme = scheme;
   layoutOptions.Apply();
   this.OptionsChanged = true;
 }
Esempio n. 7
0
 public Office2003Renderer(WindowsColorScheme colorScheme)
 {
     this.ColorScheme = colorScheme;
 }