diff --git a/RevitAddin.VisualStudioDebug/Revit/App.cs b/RevitAddin.VisualStudioDebug/Revit/App.cs index 69c262e..37adbcb 100644 --- a/RevitAddin.VisualStudioDebug/Revit/App.cs +++ b/RevitAddin.VisualStudioDebug/Revit/App.cs @@ -25,10 +25,18 @@ public Result OnStartup(UIControlledApplication application) //ribbonPanel.SetDialogLauncher(button); + var startButton = ribbonPanel.CreatePushButton("Start") + .SetLargeImage("Resources/Play-Light.ico") + .SetToolTip("Start Debugging using Visual Studio process."); + + var stopButton = ribbonPanel.CreatePushButton("Stop") + .SetLargeImage("Resources/Stop-Light.ico") + .SetToolTip("Stop Debugging using Visual Studio process."); + ribbonPanel.RowStackedItems( - ribbonPanel.CreatePushButton("Start").SetLargeImage("Resources/Play-Light.ico"), + startButton, //ribbonPanel.CreatePushButton("Pause").SetLargeImage("Resources/Pause-Light.ico"), - ribbonPanel.CreatePushButton("Stop").SetLargeImage("Resources/Stop-Light.ico") + stopButton ); return Result.Succeeded;