Пример #1
0
        private bool EditMenuItemsChangeCallback(object context)
        {
            IServiceProvider site = this._menu.Site;
            MenuItemCollectionEditorDialog form = new MenuItemCollectionEditorDialog(this._menu, this);

            return(UIServiceHelper.ShowDialog(site, form) == DialogResult.OK);
        }
 private bool EditMenuItemsChangeCallback(object context)
 {
     IServiceProvider site = this._menu.Site;
     MenuItemCollectionEditorDialog form = new MenuItemCollectionEditorDialog(this._menu, this);
     return (UIServiceHelper.ShowDialog(site, form) == DialogResult.OK);
 }