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

.net编程

开发平台:

C#

  1. namespace Sunisoft.IrisSkin
  2. {
  3.     using System;
  4.     using System.Drawing;
  5.     using System.Windows.Forms;
  6.     internal class xf2c3112f07098aa3 : xbd3f2493841f18a1
  7.     {
  8.         private Color x303d02b7f8775afc;
  9.         private Color x9629e77ac7f4d39c;
  10.         private Color xc664c9651c8df79a;
  11.         private Color xe145387a71f8d313;
  12.         private Color xef45ba12d6a1ece8;
  13.         public xf2c3112f07098aa3(Control control, SkinEngine engine) : base(control, engine)
  14.         {
  15.         }
  16.         protected override void DoInit()
  17.         {
  18.             this.x2a81cba7d4877ed7();
  19.             this.x645eb62d485b533f();
  20.             base.DoInit();
  21.         }
  22.         protected override void OnCurrentSkinChanged(object sender, SkinChangedEventArgs e)
  23.         {
  24.             base.OnCurrentSkinChanged(sender, e);
  25.             if (base.CanPaint)
  26.             {
  27.                 this.x645eb62d485b533f();
  28.             }
  29.             else
  30.             {
  31.                 this.x3d7a7fd39121f268();
  32.             }
  33.         }
  34.         private void x2a81cba7d4877ed7()
  35.         {
  36.             ToolStripContainer ctrl = (ToolStripContainer) base.Ctrl;
  37.             this.xc664c9651c8df79a = ctrl.TopToolStripPanel.BackColor;
  38.             this.x9629e77ac7f4d39c = ctrl.ContentPanel.BackColor;
  39.             this.xef45ba12d6a1ece8 = ctrl.BottomToolStripPanel.BackColor;
  40.             this.xe145387a71f8d313 = ctrl.LeftToolStripPanel.BackColor;
  41.             this.x303d02b7f8775afc = ctrl.RightToolStripPanel.BackColor;
  42.         }
  43.         private void x3d7a7fd39121f268()
  44.         {
  45.             ToolStripContainer ctrl = (ToolStripContainer) base.Ctrl;
  46.             ctrl.TopToolStripPanel.BackColor = this.xc664c9651c8df79a;
  47.             ctrl.ContentPanel.BackColor = this.x9629e77ac7f4d39c;
  48.             ctrl.BottomToolStripPanel.BackColor = this.xef45ba12d6a1ece8;
  49.             ctrl.LeftToolStripPanel.BackColor = this.xe145387a71f8d313;
  50.             ctrl.RightToolStripPanel.BackColor = this.x303d02b7f8775afc;
  51.         }
  52.         private void x645eb62d485b533f()
  53.         {
  54.             ToolStripContainer ctrl = (ToolStripContainer) base.Ctrl;
  55.             Color color = base.Engine.Res.Colors.SKIN2_FORMCOLOR;
  56.             ctrl.TopToolStripPanel.BackColor = color;
  57.             ctrl.RightToolStripPanel.BackColor = color;
  58.             ctrl.LeftToolStripPanel.BackColor = color;
  59.             ctrl.BottomToolStripPanel.BackColor = color;
  60.         }
  61.     }
  62. }