コード例 #1
0
ファイル: MainWindow.cs プロジェクト: mono/monohotdraw
 protected virtual void OnEntityActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool (this, new Entity ());
 }
コード例 #2
0
ファイル: MainWindow.cs プロジェクト: mono/monohotdraw
 protected virtual void OnRelationActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool (this, new Relation ());
 }
コード例 #3
0
ファイル: MainWindow.cs プロジェクト: mono/monohotdraw
 protected virtual void OnAddUseCaseActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool(this, new UseCaseFigure() );
 }
コード例 #4
0
ファイル: MainWindow.cs プロジェクト: mono/monohotdraw
 protected virtual void OnAttributeActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool (this, new MonoHotDraw.Database.Attribute ());
 }
コード例 #5
0
ファイル: MainWindow.cs プロジェクト: mono/monohotdraw
 protected virtual void OnAddCommentActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool(this, new NoteFigure("new note") );
 }
コード例 #6
0
ファイル: MainWindow.cs プロジェクト: mono/monohotdraw
 protected virtual void OnAddActorActivated(object sender, System.EventArgs e)
 {
     Console.WriteLine("Actor Added");
     Tool = new DragCreationTool(this, new ActorFigure() );
 }
コード例 #7
0
ファイル: MainWindow.cs プロジェクト: mono/monohotdraw
 protected virtual void OnAddDigitalClockActionActivated(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool (this, new DigitalClockFigure ());
 }
コード例 #8
0
ファイル: MainWindow.cs プロジェクト: mono/monohotdraw
 protected virtual void OnAddAction(object sender, System.EventArgs e)
 {
     Tool = new DragCreationTool (this, new AnalogClockFigure ());
 }
コード例 #9
0
 public void AddWithDragging(Figure figure)
 {
     Tool = new DragCreationTool(this, figure);
 }