public void Dispose() { _nodeHandler -= NodeItems; _nodeHandler -= NodeItem; _nodeHandler -= NodeHandler; _mainMenu.Dispose(); }
public void Dispose() { _nodeHandler -= NodeItems; _nodeHandler -= NodeItem; _nodeHandler -= NodeHandler; _mainMenu.Dispose(); }
public MainMenuLoader(MenuStrip mainMenu) { _mainMenu = mainMenu; _nodeHandler += NodeItems; _nodeHandler += NodeItem; _nodeHandler += NodeHandler; _nodeHandlerWrapper = (xmlReader) => { foreach (var item in _nodeHandler.GetInvocationList()) if (((NodeHandlerDelegate)item)(xmlReader)) break; }; }
public MainMenuLoader(MenuStrip mainMenu) { _mainMenu = mainMenu; _nodeHandler += NodeItems; _nodeHandler += NodeItem; _nodeHandler += NodeHandler; _nodeHandlerWrapper = (xmlReader) => { foreach (var item in _nodeHandler.GetInvocationList()) { if (((NodeHandlerDelegate)item)(xmlReader)) { break; } } }; }