Posted 18 years ago
by John Mancine
![Avatar](https://secure.gravatar.com/avatar/4bf3bf1bb6939b6b4c136b4465c05abe.jpg?s=64&d=identicon&r=g)
I am using a ToolBar inside a ToolWindow, docked at the top. I then go into my BarManager and drag a command onto this toolbar. Everything seems to be great, but when I compile there is a problem with the order the code is being produced inside the MainForm.designer.cs code.
The 'link' for the command is being produced *before* the actual command is created.
*Update* After deleting both the barManager and dockManager - and making sure that I create the barManager *first* before the dockManager seems to solve this problem.
Thanks,
John
[Modified at 02/23/2006 01:20 PM]
The 'link' for the command is being produced *before* the actual command is created.
*Update* After deleting both the barManager and dockManager - and making sure that I create the barManager *first* before the dockManager seems to solve this problem.
Thanks,
John
[Modified at 02/23/2006 01:20 PM]