[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public virtual IGoTool Tool {get; set;}
[Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public virtual IGoTool Tool {get; set;}
As standard input events occur, the event args information is canonicalized into an instance of GoInputEventArgs and then the current Tool's appropriate method is called.
Setting this property to null results in setting it to the value of DefaultTool. A tool that has finished will probably need to reset this property to the DefaultTool, typically by calling the GoTool.StopTool method.
If the tool is explicitly set as a result of some user-interface command, the tool is being used in a "modal" fashion.
If the tool is set as a result of the GoToolManager searching through the lists of tools to be started as a result of a mouse down, a mouse move, or a mouse up, then the tool is being used in a "mode-less" fashion.