Exemplo n.º 1
0
        public void AddPushButton(string ButtonName,
                                  string PopupText,
                                  string AssemblyFullPath,
                                  string FullClassName,
                                  string LongDescription,
                                  ContextualHelp ContextualHelp
                                  )
        {
            PushButtonControl PBC = new PushButtonControl(ButtonName,
                                                          PopupText, AssemblyFullPath, FullClassName);

            PBC.LongDiscription(LongDescription);
            PBC.SetContextualHelp(ContextualHelp);
            PBC.CreateButton();
            Icontrol Control = PBC;
        }
Exemplo n.º 2
0
        public void AddPushButton(
            string ButtonName,
            string PopupText,
            string AssemblyFullPath,
            string FullClassName,
            System.Drawing.Bitmap LargeImage,
            System.Drawing.Bitmap Image,
            string LongDescription,
            ContextualHelp ContextualHelp,
            string AvailabilityFullClassName)
        {
            PushButtonControl PBC = new PushButtonControl(ButtonName,
                                                          PopupText, AssemblyFullPath, FullClassName);

            PBC.LargeImage(LargeImage);
            PBC.Image(Image);
            PBC.LongDiscription(LongDescription);
            PBC.SetContextualHelp(ContextualHelp);
            PBC.AvailablilityClass(AvailabilityFullClassName);
            PBC.CreateButton();

            Icontrol Control = PBC;
        }