Demo entry 6333467

asdfe

   

Submitted by anonymous on Dec 04, 2016 at 04:33
Language: C#. Code size: 560 Bytes.

private void 创建空间书签ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            IToolbarMenu2 ptoolbarmenu = new ToolbarMenuClass();
            ptoolbarmenu.Caption = "空间书签";
            ptoolbarmenu.AddItem(new CreateBookmark(), -1, -1, false, esriCommandStyles.esriCommandStyleTextOnly);
            ptoolbarmenu.AddMultiItem(new SpatialBookmarks(), -1,true, esriCommandStyles.esriCommandStyleTextOnly);
            axToolbarControl1.AddItem(ptoolbarmenu, -1, -1, true, 0, esriCommandStyles.esriCommandStyleTextOnly);
        
        }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).