Northwoods.Go Assembly > Northwoods.Go Namespace : GoToolCreating Class |
'Declaration <SerializableAttribute()> Public Class GoToolCreating Inherits GoTool Implements IGoTool
[SerializableAttribute()] public class GoToolCreating : GoTool, IGoTool
GoToolCreating ctool = new GoToolCreating(goView1); GoPolygon tri = new GoPolygon(); tri.BrushColor = Color.LightBlue; tri.AddPoint(5, 0); tri.AddPoint(0, 10); tri.AddPoint(10, 10); ctool.Prototype = tri; goView1.ReplaceMouseTool(typeof(GoToolRubberBanding), ctool);
GoToolCreating ctool = new GoToolCreating(goView1); GoPolygon tri = new GoPolygon(); tri.BrushColor = Color.LightBlue; tri.AddPoint(5, 0); tri.AddPoint(0, 10); tri.AddPoint(10, 10); ctool.Prototype = tri; ctool.Modal = true; ctool.OneShot = false; goView1.Tool = ctool;
System.Object
Northwoods.Go.GoTool
Northwoods.Go.GoToolCreating
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2