Beispiel #1
0
 private GraphicsHandle(int Value, GraphicHandleKind Kind)
 {
     this.Value = Value;
     this.Kind  = Kind;
     this.Alive = Value;
     if (Null == Value)
     {
         GC.SuppressFinalize(this);
         throw new System.ArgumentException("Cannot be GraphicsHandle.Null!", "Value");
     }
 }
Beispiel #2
0
 private GraphicsHandle(GraphicHandleKind DummyKind)
 {
     this.Kind  = DummyKind;
     this.Value = Null;
     GC.SuppressFinalize(this);
 }