Пример #1
0
 void newBiller_MenuBarInitialize(K3ClassEvents.MenuBar oMenuBar)
 {
     if (this.On_InitToolsButton != null)
     {
         this.On_InitToolsButton(new NewBillerToolsButton(this, oMenuBar));
     }
 }
Пример #2
0
        void NewBillOjbect_MenuBarInitialize(K3ClassEvents.MenuBar oMenuBar)
        {
            var item = oMenuBar.BOSTools.Add("AboutPlug");

            item.Caption     = "关于插件";
            item.Enabled     = true;
            item.Visible     = true;
            item.ShortcutKey = 0;
            item.BeginGroup  = true;

            var bb = oMenuBar.BOSBands["mnuHelp"];

            bb.BOSTools.InsertAfter(0, ref item);
        }
Пример #3
0
 public NewBillerToolsButton(BaseBiller biller, K3ClassEvents.MenuBar oMenuBar)
 {
     this.CurrentBiller  = biller;
     this.m_BillTransfer = biller.M_BillTransfer as K3ClassEvents.BillEvent;
     this.OMenuBar       = oMenuBar;
 }