コード例 #1
0
        public NuGenMainPopupMenu(NuGenEventHandler handler, NuGenPopupMenu parent):base(handler, parent)
        {            
            InitializeComponent();

            viewMenu = new NuGenViewPopupMenu(handler, this);
            settingsMenu = new NuGenSettingsPopupMenu(handler, this);
            windowMenu = new NuGenWindowPopupMenu(handler, this);
            fileMenu = new NuGenFilePopupMenu(handler, this);

            AddChild(viewMenu);
            AddChild(settingsMenu);
            AddChild(windowMenu);
            AddChild(fileMenu);
        }
コード例 #2
0
        public NuGenMainPopupMenu(NuGenEventHandler handler, NuGenPopupMenu parent) : base(handler, parent)
        {
            InitializeComponent();

            viewMenu     = new NuGenViewPopupMenu(handler, this);
            settingsMenu = new NuGenSettingsPopupMenu(handler, this);
            windowMenu   = new NuGenWindowPopupMenu(handler, this);
            fileMenu     = new NuGenFilePopupMenu(handler, this);

            AddChild(viewMenu);
            AddChild(settingsMenu);
            AddChild(windowMenu);
            AddChild(fileMenu);
        }