SpaceClaim.AddIn.Utilities.ThreadToolCapsule.OnExecute C# (CSharp) Method

OnExecute() protected method

protected OnExecute ( System.Windows.Forms.Command command, ExecutionContext context, Rectangle buttonRect ) : void
command System.Windows.Forms.Command
context ExecutionContext
buttonRect System.Drawing.Rectangle
return void
        protected override void OnExecute(Command command, ExecutionContext context, Rectangle buttonRect)
        {
            Window window = Window.ActiveWindow;
            window.SetTool(new ThreadTool());
        }