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

.net编程

开发平台:

C#

  1. namespace Sunisoft.IrisSkin.InternalControls
  2. {
  3.     using System;
  4.     using System.Drawing;
  5.     using System.Reflection;
  6.     internal class xd53b20b7b4b2a08a : x81f0e41c32f52159
  7.     {
  8.         protected Brush extraBackBrush = null;
  9.         protected Color extraBackColor = SystemColors.ActiveCaption;
  10.         protected Font extraFont = SystemInformation.MenuFont;
  11.         protected string extraText = "";
  12.         protected Brush extraTextBrush = null;
  13.         protected Color extraTextColor = SystemColors.ActiveCaptionText;
  14.         protected bool showInfrequent = false;
  15.         public x5f4b657f68f87baa Add(x5f4b657f68f87baa value)
  16.         {
  17.             base.List.Add(value);
  18.             return value;
  19.         }
  20.         public void AddRange(x5f4b657f68f87baa[] values)
  21.         {
  22.             foreach (x5f4b657f68f87baa xfbffbaa in values)
  23.             {
  24.                 this.Add(xfbffbaa);
  25.             }
  26.         }
  27.         public bool Contains(x5f4b657f68f87baa value)
  28.         {
  29.             return base.List.Contains(value);
  30.         }
  31.         public int IndexOf(x5f4b657f68f87baa value)
  32.         {
  33.             return base.List.IndexOf(value);
  34.         }
  35.         public void Insert(int index, x5f4b657f68f87baa value)
  36.         {
  37.             base.List.Insert(index, value);
  38.         }
  39.         public void Remove(x5f4b657f68f87baa value)
  40.         {
  41.             base.List.Remove(value);
  42.         }
  43.         public bool VisibleItems()
  44.         {
  45.             foreach (x5f4b657f68f87baa xfbffbaa in base.List)
  46.             {
  47.                 if ((xfbffbaa.Visible && (xfbffbaa.Text != "-")) && ((xfbffbaa.MenuCommands.Count <= 0) || xfbffbaa.MenuCommands.VisibleItems()))
  48.                 {
  49.                     return true;
  50.                 }
  51.             }
  52.             return false;
  53.         }
  54.         public Brush ExtraBackBrush
  55.         {
  56.             get
  57.             {
  58.                 return this.extraBackBrush;
  59.             }
  60.             set
  61.             {
  62.                 this.extraBackBrush = value;
  63.             }
  64.         }
  65.         public Color ExtraBackColor
  66.         {
  67.             get
  68.             {
  69.                 return this.extraBackColor;
  70.             }
  71.             set
  72.             {
  73.                 this.extraBackColor = value;
  74.             }
  75.         }
  76.         public Font ExtraFont
  77.         {
  78.             get
  79.             {
  80.                 return this.extraFont;
  81.             }
  82.             set
  83.             {
  84.                 this.extraFont = value;
  85.             }
  86.         }
  87.         public string ExtraText
  88.         {
  89.             get
  90.             {
  91.                 return this.extraText;
  92.             }
  93.             set
  94.             {
  95.                 this.extraText = value;
  96.             }
  97.         }
  98.         public Brush ExtraTextBrush
  99.         {
  100.             get
  101.             {
  102.                 return this.extraTextBrush;
  103.             }
  104.             set
  105.             {
  106.                 this.extraTextBrush = value;
  107.             }
  108.         }
  109.         public Color ExtraTextColor
  110.         {
  111.             get
  112.             {
  113.                 return this.extraTextColor;
  114.             }
  115.             set
  116.             {
  117.                 this.extraTextColor = value;
  118.             }
  119.         }
  120.         public x5f4b657f68f87baa this[int index]
  121.         {
  122.             get
  123.             {
  124.                 return (base.List[index] as x5f4b657f68f87baa);
  125.             }
  126.         }
  127.         public x5f4b657f68f87baa this[string text]
  128.         {
  129.             get
  130.             {
  131.                 foreach (x5f4b657f68f87baa xfbffbaa in base.List)
  132.                 {
  133.                     if (xfbffbaa.Text == text)
  134.                     {
  135.                         return xfbffbaa;
  136.                     }
  137.                 }
  138.                 return null;
  139.             }
  140.         }
  141.         public bool ShowInfrequent
  142.         {
  143.             get
  144.             {
  145.                 return this.showInfrequent;
  146.             }
  147.             set
  148.             {
  149.                 this.showInfrequent = value;
  150.             }
  151.         }
  152.     }
  153. }