x095234c5c1abb370.cs
上传用户:xlxx0122
上传日期:2015-04-24
资源大小:3904k
文件大小:1k
源码类别:

.net编程

开发平台:

C#

  1. namespace Sunisoft.IrisSkin
  2. {
  3.     using System;
  4.     using System.Drawing;
  5.     using System.Windows.Forms;
  6.     internal class x095234c5c1abb370 : xbd3f2493841f18a1
  7.     {
  8.         private ToolStripRenderer x38870620fd380a6b;
  9.         private xebe00acade2e10a1 xc6e9edf302baab93;
  10.         private static Brush xd4d28a8f36023ad0 = new SolidBrush(Color.Gray);
  11.         public x095234c5c1abb370(Control control, SkinEngine engine) : base(control, engine)
  12.         {
  13.         }
  14.         protected override void DoInit()
  15.         {
  16.             ToolStrip ctrl = (ToolStrip) base.Ctrl;
  17.             if (ctrl.Renderer is xebe00acade2e10a1)
  18.             {
  19.                 this.x38870620fd380a6b = new ToolStripProfessionalRenderer();
  20.             }
  21.             else
  22.             {
  23.                 this.x38870620fd380a6b = ctrl.Renderer;
  24.             }
  25.             this.xc6e9edf302baab93 = new xebe00acade2e10a1(base.Engine);
  26.             this.x2580793586131414();
  27.             base.DoInit();
  28.         }
  29.         protected override void OnCurrentSkinChanged(object sender, SkinChangedEventArgs e)
  30.         {
  31.             this.x2580793586131414();
  32.         }
  33.         private void x2580793586131414()
  34.         {
  35.             ToolStrip ctrl = (ToolStrip) base.Ctrl;
  36.             if (base.CanPaint)
  37.             {
  38.                 ctrl.Renderer = this.xc6e9edf302baab93;
  39.             }
  40.             else
  41.             {
  42.                 ctrl.Renderer = this.x38870620fd380a6b;
  43.             }
  44.         }
  45.     }
  46. }