Skip to content

Commit

Permalink
Update App
Browse files Browse the repository at this point in the history
  • Loading branch information
ricaun committed Feb 2, 2024
1 parent 9e79c94 commit 43ad782
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions RevitAddin.VisualStudioDebug/Revit/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,18 @@ public Result OnStartup(UIControlledApplication application)

//ribbonPanel.SetDialogLauncher(button);

var startButton = ribbonPanel.CreatePushButton<CommandPlay>("Start")
.SetLargeImage("Resources/Play-Light.ico")
.SetToolTip("Start Debugging using Visual Studio process.");

var stopButton = ribbonPanel.CreatePushButton<CommandStop>("Stop")
.SetLargeImage("Resources/Stop-Light.ico")
.SetToolTip("Stop Debugging using Visual Studio process.");

ribbonPanel.RowStackedItems(
ribbonPanel.CreatePushButton<CommandPlay>("Start").SetLargeImage("Resources/Play-Light.ico"),
startButton,
//ribbonPanel.CreatePushButton<CommandPause>("Pause").SetLargeImage("Resources/Pause-Light.ico"),
ribbonPanel.CreatePushButton<CommandStop>("Stop").SetLargeImage("Resources/Stop-Light.ico")
stopButton
);

return Result.Succeeded;
Expand Down

0 comments on commit 43ad782

Please sign in to comment.