public NuGenMainPopupMenu(NuGenEventHandler handler, NuGenPopupMenu parent) : base(handler, parent)
        {
            InitializeComponent();

            viewMenu      = new NuGenViewPopupMenu(handler, this);
            exportMenu    = new NuGenExportPopupMenu(handler, this);
            templatesMenu = new TemplateSelector(handler, this);

            AddChild(viewMenu);
            AddChild(exportMenu);
            AddChild(templatesMenu);
        }
        public NuGenMainPopupMenu(NuGenEventHandler handler, NuGenPopupMenu parent):base(handler, parent)
        {            
            InitializeComponent();

            viewMenu = new NuGenViewPopupMenu(handler, this);
            exportMenu = new NuGenExportPopupMenu(handler, this);
            templatesMenu = new TemplateSelector(handler, this);

            AddChild(viewMenu);
            AddChild(exportMenu);
            AddChild(templatesMenu);
        }