Example #1
0
 private void AddSubItem(string caption, InvokeNumber num)
 {
     BarButtonItem barItem = new BarButtonItem();
     barItem.Caption =caption;
     barItem.ItemClick += delegate
     {
         this.m_SkylineHook.TerraExplorer.Invoke((int)num);
     };
     m_Control.AddItem(barItem);
 }
Example #2
0
        private void AddSubItem(string caption, InvokeNumber num)
        {
            BarButtonItem barItem = new BarButtonItem();

            barItem.Caption    = caption;
            barItem.ItemClick += delegate
            {
                this.m_SkylineHook.TerraExplorer.Invoke((int)num);
            };
            m_Control.AddItem(barItem);
        }