I found the source of the problem and a workaround
for this issue.
Here's a snippet of code before I change something
on the form that has inherited command toolbar.
//
//
cmdToolbar
//
this.cmdToolbar.AccessibleName = "Tool
Bar";
this.cmdToolbar.CommandLinks.AddRange(new
C1.Win.C1Command.C1CommandLink[]
{
this.linkReturnLoad});
When I make a change to the form I then get the
following...
//
//
cmdToolbar
//
this.cmdToolbar.AccessibleName = "Tool
Bar";
this.cmdToolbar.CommandLinks.AddRange(new
C1.Win.C1Command.C1CommandLink[]
{
this.linkOK,
this.linkReload,
this.linkSelect,
this.linkReturnLoad,
this.linkAutoLoad,
this.linkPrint,
this.linkNext,
this.linkExit});
this.cmdToolbar.Size = new
System.Drawing.Size(695, 24);
The linkOK, linkReload, linkSelect, linkAutoLoad,
linkPrint, linkNext and linkNext links are all part of the inherited base
form. The linkReturnLoad was added in derived class form.
As soon as inherited links get added to the
CommandLinks in the derived form I started getting the popup dialogs in
VS2005. I get one popup for each link that is part of the base class
form.
The work around for now is to manually remove the
base links from the CommandLinks.AddRange list.
I'm currently using C1.Win.C1Command.2 version
2.0.20071.19008. This behavior was not present in previous versions of the
C1Command controls.
Dima if you view this post let me know if you would
for me to open a tech support case for this issue or if you would like more
information.
Thanks,
Gregg Walker
Here's another before and after.
Before...
//
//
menuAutoLoad
//
this.menuAutoLoad.HideNonRecentLinks =
false;
this.menuAutoLoad.ShowToolTips =
true;
this.menuAutoLoad.Visible = false;
After...
//
//
menuAutoLoad
//
this.menuAutoLoad.CommandLinks.AddRange(new
C1.Win.C1Command.C1CommandLink[]
{
this.linkAutoLoadOff,
this.linkAutoLoad30,
this.linkAutoLoad60});
this.menuAutoLoad.HideNonRecentLinks
= false;
this.menuAutoLoad.ShowToolTips =
true;
this.menuAutoLoad.Visible = false;
In this case all the links are from the inherited
base class form.