Ejemplo n.º 1
0
 protected override void ClearCommand()
 {
     if (this.cmd != null)
     {
         this.cmd.Dispose();
     }
     base._color = Color.FromArgb(this._opacity, base._color);
     this.cmd    = new PenToolCommand(base._color, this.PenWidth);
 }
Ejemplo n.º 2
0
 public override void Dispose()
 {
     base.Dispose();
     if (this.cmd != null)
     {
         this.cmd.Dispose();
         this.cmd = null;
     }
     if (this.frm != null)
     {
         this.frm.Dispose();
         this.frm = null;
     }
 }