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

.net编程

开发平台:

C#

  1. namespace Sunisoft.IrisSkin.InternalControls
  2. {
  3.     using System;
  4.     using System.Collections;
  5.     using System.Runtime.CompilerServices;
  6.     internal class x81f0e41c32f52159 : CollectionBase
  7.     {
  8.         private int xa83ef27b7a71ab3f = 0;
  9.         public event x66edf89974942dab Cleared;
  10.         public event x66edf89974942dab Clearing;
  11.         public event x2f6aff803d60b50c Inserted;
  12.         public event x2f6aff803d60b50c Inserting;
  13.         public event x2f6aff803d60b50c Removed;
  14.         public event x2f6aff803d60b50c Removing;
  15.         protected override void OnClear()
  16.         {
  17.             if (!this.IsSuspended && (this.x18717d558d54a6dc != null))
  18.             {
  19.                 this.x18717d558d54a6dc();
  20.             }
  21.         }
  22.         protected override void OnClearComplete()
  23.         {
  24.             if (!this.IsSuspended && (this.xebadb072f5851c44 != null))
  25.             {
  26.                 this.xebadb072f5851c44();
  27.             }
  28.         }
  29.         protected override void OnInsert(int index, object value)
  30.         {
  31.             if (!this.IsSuspended && (this.xf12ffa4bc2262d75 != null))
  32.             {
  33.                 this.xf12ffa4bc2262d75(index, value);
  34.             }
  35.         }
  36.         protected override void OnInsertComplete(int index, object value)
  37.         {
  38.             if (!this.IsSuspended && (this.xb1acec69632d2193 != null))
  39.             {
  40.                 this.xb1acec69632d2193(index, value);
  41.             }
  42.         }
  43.         protected override void OnRemove(int index, object value)
  44.         {
  45.             if (!this.IsSuspended && (this.xf41c8c66e3182d79 != null))
  46.             {
  47.                 this.xf41c8c66e3182d79(index, value);
  48.             }
  49.         }
  50.         protected override void OnRemoveComplete(int index, object value)
  51.         {
  52.             if (!this.IsSuspended && (this.xb56f44eae6e354a0 != null))
  53.             {
  54.                 this.xb56f44eae6e354a0(index, value);
  55.             }
  56.         }
  57.         public void ResumeEvents()
  58.         {
  59.             this.xa83ef27b7a71ab3f--;
  60.         }
  61.         public void SuspendEvents()
  62.         {
  63.             this.xa83ef27b7a71ab3f++;
  64.         }
  65.         protected int x2ee5ad3d826ed0fe(object xbcea506a33cf9111)
  66.         {
  67.             return base.List.IndexOf(xbcea506a33cf9111);
  68.         }
  69.         public bool IsSuspended
  70.         {
  71.             get
  72.             {
  73.                 return (this.xa83ef27b7a71ab3f > 0);
  74.             }
  75.         }
  76.     }
  77. }