コード例 #1
0
 // Create this command with DrawObject instance added to the list
 public CommandAdd(DrawObject drawObject) : base()
 {
     // Keep copy of added object
     this.drawObject = drawObject.Clone();
 }
コード例 #2
0
ファイル: CommandAdd.cs プロジェクト: ArsenShnurkov/DrawTools
 // Create this command with DrawObject instance added to the list
 public CommandAdd(DrawObject drawObject)
     : base()
 {
     // Keep copy of added object
     this.drawObject = drawObject.Clone();
 }