public IEnumerable<MenuItem> GetMenuItems()
        {
            DropDownMenuItem reportsMenu = new DropDownMenuItem("Reporting", "/global/commerce/reports")
            {
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins"),
                SortIndex = 100
            };

            UrlMenuItem urlMenuItem = new UrlMenuItem("Latest sales",
                "/global/commerce/reports/sales",
                "/commercereports/index")
            {
                SortIndex = 100,
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins")
            };

            UrlMenuItem latestorders = new UrlMenuItem("Latest orders",
                "/global/commerce/reports/latestorders",
                "/commercereports/latestorders")
            {
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins"),
                SortIndex = 200
            };

            return new MenuItem[]
            {
                reportsMenu,
                urlMenuItem,
                latestorders
            };
        }
示例#2
0
        public IEnumerable <MenuItem> GetMenuItems()
        {
            DropDownMenuItem reportsMenu = new DropDownMenuItem("Reporting", "/global/commerce/reports")
            {
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins"),
                SortIndex   = 100
            };

            UrlMenuItem urlMenuItem = new UrlMenuItem("Latest sales",
                                                      "/global/commerce/reports/sales",
                                                      "/commercereports/index")
            {
                SortIndex   = 100,
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins")
            };

            UrlMenuItem latestorders = new UrlMenuItem("Latest orders",
                                                       "/global/commerce/reports/latestorders",
                                                       "/commercereports/latestorders")
            {
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins"),
                SortIndex   = 200
            };


            return(new MenuItem[]
            {
                reportsMenu,
                urlMenuItem,
                latestorders
            });
        }
示例#3
0
        public IEnumerable <MenuItem> GetMenuItems()
        {
            var dashboard = new UrlMenuItem("Configuration",
                                            "/global/foundation/configuration",
                                            $"{Paths.ToResource("Foundation.Demo", "foundationconfiguration")}/index")
            {
                SortIndex   = 0,
                IsAvailable = (_) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins")
            };

            var powerbi = new DropDownMenuItem("Power Bi", "/global/foundation/powerbi")
            {
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins"),
                SortIndex   = 400,
                Alignment   = MenuItemAlignment.Right
            };

            var ga = new UrlMenuItem("Google Analytics",
                                     "/global/foundation/powerbi/google",
                                     $"{Paths.ToResource("Foundation.Demo", "bireports")}/index/google")
            {
                SortIndex   = 13,
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins")
            };

            var advance = new UrlMenuItem("Marketing",
                                          "/global/foundation/powerbi/marketing",
                                          $"{Paths.ToResource("Foundation.Demo", "bireports")}/index/marketing")
            {
                SortIndex   = 11,
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins")
            };

            var perform = new UrlMenuItem("Commerce",
                                          "/global/foundation/powerbi/commerce",
                                          $"{Paths.ToResource("Foundation.Demo", "bireports")}/index/commerce")
            {
                SortIndex   = 10,
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins")
            };

            var segment = new UrlMenuItem("Segments",
                                          "/global/foundation/powerbi/commerce",
                                          $"{Paths.ToResource("Foundation.Demo", "bireports")}/index/segments")
            {
                SortIndex   = 12,
                IsAvailable = (request) => PrincipalInfo.CurrentPrincipal.IsInRole("CommerceAdmins")
            };

            return(new MenuItem[]
            {
                dashboard,
                powerbi,
                ga,
                advance,
                perform,
                segment
            });
        }
        public void AddItem(T item)
        {
            DropDownMenuItem itemObj = m_compMonoCtrl.AddSingleItem(item.GetItemDesc());

            item.SetItemObj(itemObj.gameObject);
            m_lLogicInsList.Add(item);
            m_dictLogicInsMapper.Add(itemObj.gameObject, item);
        }
示例#5
0
        private bool[,] RenderDropDownMenuVertical(IViewBoxModel view, UiElement uiContent)
        {//TODO: Element muss eine Mindestgröße haben
            //call pre hooks
            object cM = uiContent.text as object;

            callAllPreHooks(ref view, ref cM);
            bool[,] boxMatrix;
            if (uiContent.isDisabled)
            {
                boxMatrix = Helper.createBoxDeaktivatedLeft(view.ViewBox.Height, view.ViewBox.Width - 2);
            }
            else
            {
                boxMatrix = Helper.createBox(view.ViewBox.Height, view.ViewBox.Width - 2);       //erstmal eine eckige Matrix // view.ViewBox.Width -2 => da open/close noch angezeigt werden muss
            }
            DropDownMenuItem dropDownMenu = (DropDownMenuItem)uiContent.uiElementSpecialContent; //Der Type mussan dieser Stelle vorher nicht geprüft werden, da das schon in der aufrufenden Methode gemacht wurde

            if (dropDownMenu.hasPrevious)
            {
                //Helper.RemoveBottomBoarder(ref boxMatrix);
                Helper.RemoveTopBoarder(ref boxMatrix);
            }
            //String to Braille/Matrix
            MatrixBrailleRenderer m = new MatrixBrailleRenderer();

            bool[,] textMatrix = m.RenderMatrix(view.ViewBox.Width - 4, (uiContent.text as object == null ? "" : uiContent.text as object), false);
            Helper.copyTextMatrixInMatrix(textMatrix, ref boxMatrix, 2);
            if (dropDownMenu.hasNext)
            {
                SeparatorNextDropDownMenuElementDown(ref boxMatrix);
            }
            bool[,] viewMatrix = new bool[view.ViewBox.Height, view.ViewBox.Width];
            // bool[,] viewMatrix =  Helper.createBox(view.ViewBox.Height - 2, view.ViewBox.Width);
            Helper.copyMatrixInMatrix(boxMatrix, ref viewMatrix); // macht platz in der Matrix für open/close
            //Anpassungen je nach spezifischen DropDownMenuItem
            if (dropDownMenu.hasChild)
            {
                if (dropDownMenu.isOpen)
                {
                    OpenDropDownMenuElementRight(ref viewMatrix);
                }
                else
                {
                    CloseDropDownMenuElementRight(ref viewMatrix);
                }
            }
            //call post hooks
            callAllPostHooks(view, cM, ref viewMatrix, false);

            return(viewMatrix);
        }
示例#6
0
        public IEnumerable <MenuItem> GetMenuItems()
        {
            List <MenuItem> menuItems = new List <MenuItem>();

            if (_versionCheckConfiguration?.Enabled == false)
            {
                return(menuItems);
            }

            if (!HasAccessToVersionChecker())
            {
                return(menuItems);
            }

            var mainMenuItem = new DropDownMenuItem(
                ResultMarkUp(_resources.CssSuccess),
                "/global/versionchecker")
            {
                Alignment = MenuItemAlignment.Right,
                CssClass  = "",
                ToolTip   = _resources.ToolTipUpToDate,
                SortIndex = int.MaxValue
            };

            var packageMenuItems = GetPackageMenuItems(mainMenuItem);

            if (packageMenuItems != null && !packageMenuItems.Any())
            {
                return(menuItems);
            }

            menuItems.Add(mainMenuItem);
            menuItems.AddRange(packageMenuItems);

            return(menuItems);
        }
        //
        // CONSTRUCTOR/DESTRUCTOR
        //
        public FormDiagrammer(string[] args) {
            try {
                // Call Partial Class Constructor
                InitializeComponent();

                // Assign ArcDiagrammer Icon to Application
                this.Icon = Resources.DIAGRAMMER;
                
                // Main Menu
                this.menuBar1.Text = Resources.TEXT_MAIN_MENU;

                // MenuBarItem Text
                this.menuBarItemFile.Text = Resources.TEXT_FILE_;
                this.menuBarItemEdit.Text = Resources.TEXT_EDIT_;
                this.menuBarItemView.Text = Resources.TEXT_VIEW_;
                this.menuBarItemTools.Text = Resources.TEXT_TOOLS_;
                this.menuBarItemWindow.Text = Resources.TEXT_WINDOW_;
                this.menuBarItemHelp.Text = Resources.TEXT_HELP_;

                // MenuButtonItem Text (File)
                this.menuButtonItemNew.Text = Resources.TEXT_NEW_;
                this.menuButtonItemOpen.Text = Resources.TEXT_OPEN_;
                this.menuButtonItemClose.Text = Resources.TEXT_CLOSE_;
                this.menuButtonItemSave.Text = Resources.TEXT_SAVE_;
                this.menuButtonItemSaveAs.Text = Resources.TEXT_SAVE_AS_;
                this.menuButtonItemPublish.Text = Resources.TEXT_PUBLISH_;
                this.menuButtonItemExport.Text = Resources.TEXT_EXPORT_;
                this.menuButtonItemPrintSetup.Text = Resources.TEXT_PRINT_SETUP_;
                this.menuButtonItemPrintPreview.Text = Resources.TEXT_PRINT_PREVIEW_;
                this.menuButtonItemPrint.Text = Resources.TEXT_PRINT_;
                this.menuButtonItemExit.Text = Resources.TEXT_EXIT_;

                // MenuButtonItem Text (Edit)
                this.menuButtonItemUndo.Text = Resources.TEXT_UNDO_;
                this.menuButtonItemRedo.Text = Resources.TEXT_REDO_;
                this.menuButtonItemCut.Text = Resources.TEXT_CUT_;
                this.menuButtonItemCopy.Text = Resources.TEXT_COPY_;
                this.menuButtonItemPaste.Text = Resources.TEXT_PASTE_;
                this.menuButtonItemDelete.Text = Resources.TEXT_DELETE_;
                this.menuButtonItemSelectAll.Text = Resources.TEXT_SELECTALL_;

                // MenuButtonItem Text (View)
                this.menuButtonItemColorScheme.Text = Resources.TEXT_COLOR_SCHEME_;
                this.menuButtonItemLayout.Text = Resources.TEXT_LAYOUT_;
                this.menuButtonItemToolbars.Text = Resources.TEXT_TOOLBARS_;
                this.menuButtonItemZoom.Text = Resources.TEXT_ZOOM_;
                this.menuButtonItemCatalogWindow.Text = Resources.TEXT_CATALOG_;
                this.menuButtonItemOverviewWindow.Text = Resources.TEXT_OVERVIEW_;
                this.menuButtonItemPaletteWindow.Text = Resources.TEXT_PALETTE_;
                this.menuButtonItemPropertiesWindow.Text = Resources.TEXT_PROPERTIES_;
                this.menuButtonItemErrorList.Text = Resources.TEXT_ERROR_LIST_;
                this.menuButtonItemExceptions.Text = Resources.TEXT_EXCEPTIONS_;
                this.menuButtonItemStatusBar.Text = Resources.TEXT_STATUSBAR_;

                // MenuButtonItem Text (View - Color Scheme)
                this.menuButtonItemColorSchemeBlack.Text = Resources.TEXT_BLACK_;
                this.menuButtonItemColorSchemeBlue.Text = Resources.TEXT_BLUE_;
                this.menuButtonItemColorSchemeSilver.Text = Resources.TEXT_SILVER_;

                // MenuButtonItem Text (View - Layout)
                this.menuButtonItemCircular.Text = Resources.TEXT_CIRCULAR_;
                this.menuButtonItemForcedDirect.Text = Resources.TEXT_FORCED_DIRECT_;
                this.menuButtonItemHierachical.Text = Resources.TEXT_HIERARCHICAL_;
                this.menuButtonItemOrthogonal.Text = Resources.TEXT_ORTHOGONAL_;
                this.menuButtonItemTree.Text = Resources.TEXT_TREE_;
                this.menuButtonItemAlignLeft.Text = Resources.TEXT_ALIGN_LEFT_;
                this.menuButtonItemAlignCenter.Text = Resources.TEXT_ALIGN_CENTER_;
                this.menuButtonItemAlignRight.Text = Resources.TEXT_ALIGN_RIGHT_;
                this.menuButtonItemAlignTop.Text = Resources.TEXT_ALIGN_TOP_;
                this.menuButtonItemAlignMiddle.Text = Resources.TEXT_ALIGN_MIDDLE_;
                this.menuButtonItemAlignBottom.Text = Resources.TEXT_ALIGN_BOTTOM_;

                // MenuButtonItem Text (View - Toolbars)
                this.menuButtonItemStandardToolbar.Text = Resources.TEXT_STANDARD_;
                this.menuButtonItemLayoutToolbar.Text = Resources.TEXT_LAYOUT_;
                this.menuButtonItemInteractiveModeToolbar.Text = Resources.TEXT_INTERACTIVE_MODE_;

                // MenuButtonItem Text (View - Zoom)
                this.menuButtonItemZoom300.Text = Resources.TEXT_300_PERCENT_;
                this.menuButtonItemZoom200.Text = Resources.TEXT_200_PERCENT_;
                this.menuButtonItemZoom100.Text = Resources.TEXT_100_PERCENT_;
                this.menuButtonItemZoom75.Text = Resources.TEXT_75_PERCENT_;
                this.menuButtonItemZoom50.Text = Resources.TEXT_50_PERCENT_;
                this.menuButtonItemZoom25.Text = Resources.TEXT_25_PERCENT_;
                this.menuButtonItemZoomFull.Text = Resources.TEXT_FULL_;

                // MenuButtonItem Text (Tools)
                this.menuButtonItemNormalMode.Text = Resources.TEXT_NORMAL_MODE_;
                this.menuButtonItemLinkMode.Text = Resources.TEXT_LINK_MODE_;
                this.menuButtonItemSchemaReport.Text = Resources.TEXT_SCHEMA_REPORT_;
                this.menuButtonItemDataReport.Text = Resources.TEXT_DATA_REPORT_;
                this.menuButtonItemXmlReport.Text = Resources.TEXT_XML_REPORT_;
                this.menuButtonItemValidate.Text = Resources.TEXT_REPORTER_;
                this.menuButtonItemOptions.Text = Resources.TEXT_OPTIONS_;

                // MenuButtonItem Text (Window)
                this.menuButtonItemNewHorizontalTabGroup.Text = Resources.TEXT_NEW_HORIZONTAL_TAB_GROUP_;
                this.menuButtonItemNewVerticalTabGroup.Text = Resources.TEXT_NEW_VERTICAL_TAB_GROUP_;
                this.menuButtonItemRestoreTabGroup.Text = Resources.TEXT_RESTORE_TAB_GROUP_;
                this.menuButtonItemCloseAllDocuments.Text = Resources.TEXT_CLOSE_ALL_DOCUMENTS_;
                this.menuButtonItemWindows.Text = Resources.TEXT_TABWINDOWS_;

                // MenuButtonItem Text (Help)
                this.menuButtonItemUserGuide.Text = Resources.TEXT_ARCGIS_DIAGRAMMER_USERGUIDE_;
                this.menuButtonItemTutorials.Text = Resources.TEXT_TUTORIALS_;
                this.menuButtonItemSendFeedback.Text = Resources.TEXT_SEND_FEEDBACK_;
                this.menuButtonItemDiscussionForum.Text = Resources.TEXT_DISCUSSION_FORUM_;
                this.menuButtonItemHistory.Text = Resources.TEXT_HISTORY_;
                this.menuButtonItemEsriHome.Text = Resources.TEXT_ESRI_HOME_;
                this.menuButtonItemEsriSupportCenter.Text = Resources.TEXT_ARCGIS_IDEAS_;
                this.menuButtonItemAbout.Text = Resources.TEXT_ABOUT_ARCDIAGRAMMER_;
                this.menuButtonItemCreateSchemaReport.Text = Resources.TEXT_CREATE_SCHEMA_REPORT_;
                this.menuButtonItemCreateDataReport.Text = Resources.TEXT_CREATE_DATA_REPORT_;
                this.menuButtonItemReorderFields.Text = Resources.TEXT_REORDER_FIELDS_;
                this.menuButtonItemAddSubtype.Text = Resources.TEXT_ADD_SUBTYPE;
                this.menuButtonItemCreateOneToManyRelationship.Text = Resources.TEXT_CREATE_ONE_TO_MANY_RELATIONSHIP;

                // Clear Toolbar Text
                foreach (TD.SandBar.ToolBar toolbar in this.sandBarManager1.GetToolBars()) {
                    if (toolbar is TD.SandBar.MenuBar) { continue; }
                    foreach (TD.SandBar.ToolbarItemBase toolbarItem in toolbar.Items) {
                        toolbarItem.Text = string.Empty;
                    }
                }

                // Toolbars
                this.toolBarStandard.Text = Resources.TEXT_STANDARD;
                this.toolBarLayout.Text = Resources.TEXT_LAYOUT;
                this.toolBarInteractiveMode.Text = Resources.TEXT_INTERACTIVE_MODE;

                // MenuButtonItem Bitmaps
                this.menuButtonItemCopy.Image = Resources.BITMAP_COPY;
                this.menuButtonItemCut.Image = Resources.BITMAP_CUT;
                this.menuButtonItemDelete.Image = Resources.BITMAP_DELETE;
                this.menuButtonItemSelectAll.Image = Resources.BITMAP_SELECT_ALL;
                this.menuButtonItemExport.Image = Resources.BITMAP_EXPORT;
                this.menuButtonItemUserGuide.Image = Resources.BITMAP_HELP;
                this.menuButtonItemCircular.Image = Resources.BITMAP_LAYOUT_CIRCULAR;
                this.menuButtonItemForcedDirect.Image = Resources.BITMAP_LAYOUT_FORCEDDIRECT;
                this.menuButtonItemHierachical.Image = Resources.BITMAP_LAYOUT_HIERACHICAL;
                this.menuButtonItemOrthogonal.Image = Resources.BITMAP_LAYOUT_ORTHOGONAL;
                this.menuButtonItemTree.Image = Resources.BITMAP_LAYOUT_TREE;
                this.menuButtonItemAlignLeft.Image = Resources.BITMAP_ALIGN_LEFT;
                this.menuButtonItemAlignCenter.Image = Resources.BITMAP_ALIGN_CENTER;
                this.menuButtonItemAlignRight.Image = Resources.BITMAP_ALIGN_RIGHT;
                this.menuButtonItemAlignTop.Image = Resources.BITMAP_ALIGN_TOP;
                this.menuButtonItemAlignMiddle.Image = Resources.BITMAP_ALIGN_MIDDLE;
                this.menuButtonItemAlignBottom.Image = Resources.BITMAP_ALIGN_BOTTOM;
                this.menuButtonItemNew.Image = Resources.BITMAP_NEW;
                this.menuButtonItemOpen.Image = Resources.BITMAP_OPEN;
                this.menuButtonItemClose.Image = Resources.BITMAP_CLOSE;
                this.menuButtonItemOptions.Image = Resources.BITMAP_OPTIONS;
                this.menuButtonItemPaste.Image = Resources.BITMAP_PASTE;
                this.menuButtonItemPrintSetup.Image = Resources.BITMAP_PRINT_SETUP;
                this.menuButtonItemPrint.Image = Resources.BITMAP_PRINT;
                this.menuButtonItemPrintPreview.Image = Resources.BITMAP_PRINT_PREVIEW;
                this.menuButtonItemPublish.Image = Resources.BITMAP_PUBLISH;
                this.menuButtonItemRedo.Image = Resources.BITMAP_REDO;
                this.menuButtonItemSave.Image = Resources.BITMAP_SAVE;
                this.menuButtonItemSaveAs.Image = Resources.BITMAP_SAVEAS;
                this.menuButtonItemNewHorizontalTabGroup.Image = Resources.BITMAP_SPLIT_HORIZONTAL;
                this.menuButtonItemNewVerticalTabGroup.Image = Resources.BITMAP_SPLIT_VERTICAL;
                this.menuButtonItemUndo.Image = Resources.BITMAP_UNDO;
                this.menuButtonItemNormalMode.Image = Resources.BITMAP_MODE_NORMAL;
                this.menuButtonItemLinkMode.Image = Resources.BITMAP_MODE_LINK;
                this.menuButtonItemSchemaReport.Image = Resources.BITMAP_SCHEMA_REPORT;
                this.menuButtonItemDataReport.Image = Resources.BITMAP_DATA_REPORT;
                this.menuButtonItemXmlReport.Image = Resources.BITMAP_XML_REPORT;
                this.menuButtonItemValidate.Image = Resources.BITMAP_VALIDATE;
                this.menuButtonItemSendFeedback.Image = Resources.BITMAP_MAIL;
                this.menuButtonItemEsriHome.Image = Resources.BITMAP_ESRI;
                this.menuButtonItemColorSchemeBlack.Image = Resources.BITMAP_BLACK;
                this.menuButtonItemColorSchemeBlue.Image = Resources.BITMAP_BLUE;
                this.menuButtonItemColorSchemeSilver.Image = Resources.BITMAP_SILVER;

                // ButtonItem Bitmaps
                this.buttonItemCopy.Image = Resources.BITMAP_COPY;
                this.buttonItemCut.Image = Resources.BITMAP_CUT;
                this.buttonItemDelete.Image = Resources.BITMAP_DELETE;
                this.buttonItemNew.Image = Resources.BITMAP_NEW;
                this.buttonItemOpen.Image = Resources.BITMAP_OPEN;
                this.buttonItemPaste.Image = Resources.BITMAP_PASTE;
                this.buttonItemExport.Image = Resources.BITMAP_EXPORT;
                this.buttonItemPrint.Image = Resources.BITMAP_PRINT;
                this.buttonItemPublish.Image = Resources.BITMAP_PUBLISH;
                this.buttonItemRedo.Image = Resources.BITMAP_REDO;
                this.buttonItemSave.Image = Resources.BITMAP_SAVE;
                this.buttonItemUndo.Image = Resources.BITMAP_UNDO;
                this.buttonItemCircular.Image = Resources.BITMAP_LAYOUT_CIRCULAR;
                this.buttonItemForcedDirect.Image = Resources.BITMAP_LAYOUT_FORCEDDIRECT;
                this.buttonItemHierachical.Image = Resources.BITMAP_LAYOUT_HIERACHICAL;
                this.buttonItemOrthogonal.Image = Resources.BITMAP_LAYOUT_ORTHOGONAL;
                this.buttonItemTree.Image = Resources.BITMAP_LAYOUT_TREE;
                this.buttonItemAlignLeft.Image = Resources.BITMAP_ALIGN_LEFT;
                this.buttonItemAlignCenter.Image = Resources.BITMAP_ALIGN_CENTER;
                this.buttonItemAlignRight.Image = Resources.BITMAP_ALIGN_RIGHT;
                this.buttonItemAlignTop.Image = Resources.BITMAP_ALIGN_TOP;
                this.buttonItemAlignMiddle.Image = Resources.BITMAP_ALIGN_MIDDLE;
                this.buttonItemAlignBottom.Image = Resources.BITMAP_ALIGN_BOTTOM;
                this.buttonItemNormal.Image = Resources.BITMAP_MODE_NORMAL;
                this.buttonItemLink.Image = Resources.BITMAP_MODE_LINK;

                // ButtonItem Text
                this.buttonItemCopy.ToolTipText = Resources.TEXT_COPY_.Replace("&", string.Empty);
                this.buttonItemCut.ToolTipText = Resources.TEXT_CUT_.Replace("&", string.Empty);
                this.buttonItemDelete.ToolTipText = Resources.TEXT_DELETE_.Replace("&", string.Empty);
                this.buttonItemNew.ToolTipText = Resources.TEXT_NEW_.Replace("&", string.Empty);
                this.buttonItemOpen.ToolTipText = Resources.TEXT_OPEN_.Replace("&", string.Empty);
                this.buttonItemPaste.ToolTipText = Resources.TEXT_PASTE_.Replace("&", string.Empty);
                this.buttonItemExport.ToolTipText = Resources.TEXT_EXPORT_.Replace("&", string.Empty);
                this.buttonItemPrint.ToolTipText = Resources.TEXT_PRINT_.Replace("&", string.Empty);
                this.buttonItemPublish.ToolTipText = Resources.TEXT_PUBLISH_.Replace("&", string.Empty);
                this.buttonItemRedo.ToolTipText = Resources.TEXT_REDO_.Replace("&", string.Empty);
                this.buttonItemSave.ToolTipText = Resources.TEXT_SAVE;
                this.buttonItemUndo.ToolTipText = Resources.TEXT_UNDO_.Replace("&", string.Empty);
                this.buttonItemCircular.ToolTipText = Resources.TEXT_CIRCULAR_.Replace("&", string.Empty);
                this.buttonItemForcedDirect.ToolTipText = Resources.TEXT_FORCED_DIRECT_.Replace("&", string.Empty);
                this.buttonItemHierachical.ToolTipText = Resources.TEXT_HIERARCHICAL_.Replace("&", string.Empty);
                this.buttonItemOrthogonal.ToolTipText = Resources.TEXT_ORTHOGONAL_.Replace("&", string.Empty);
                this.buttonItemAlignLeft.ToolTipText = Resources.TEXT_ALIGN_LEFT_.Replace("&", string.Empty);
                this.buttonItemAlignCenter.ToolTipText = Resources.TEXT_ALIGN_CENTER_.Replace("&", string.Empty);
                this.buttonItemAlignRight.ToolTipText = Resources.TEXT_ALIGN_RIGHT_.Replace("&", string.Empty);
                this.buttonItemAlignTop.ToolTipText = Resources.TEXT_ALIGN_TOP_.Replace("&", string.Empty);
                this.buttonItemAlignMiddle.ToolTipText = Resources.TEXT_ALIGN_MIDDLE_.Replace("&", string.Empty);
                this.buttonItemAlignBottom.ToolTipText = Resources.TEXT_ALIGN_BOTTOM_.Replace("&", string.Empty);
                this.buttonItemTree.ToolTipText = Resources.TEXT_TREE_.Replace("&", string.Empty);
                this.buttonItemNormal.ToolTipText = Resources.TEXT_NORMAL_MODE_.Replace("&", string.Empty);
                this.buttonItemLink.ToolTipText = Resources.TEXT_LINK_MODE_.Replace("&", string.Empty);

                // Windows
                this.dockableWindowOverview.Text = Resources.TEXT_OVERVIEW;
                this.dockableWindowCatalog.Text = Resources.TEXT_CATALOG;
                this.dockableWindowPalette.Text = Resources.TEXT_PALETTE;
                this.dockableWindowProperties.Text = Resources.TEXT_PROPERTIES;
                this.dockableWindowErrorList.Text = Resources.TEXT_ERROR_LIST;

                // StatusBar
                this._bitmapError = Resources.BITMAP_ERROR;
                this._bitmapNoError = Resources.BITMAP_OK;
                this.statusBarItemMain.Text = Resources.TEXT_READY;
                this.statusBarItemError.Text = string.Empty;
                this.statusBarItemError.Image = this._bitmapNoError;

                // Add StatusBar Zoom Menu
                this._zoomMenu = new DropDownMenuItem();
                //this._zoomMenu.Text = "XZoom";
                this._zoomMenu.BeginGroup = true;
                this._zoomMenu.BeforePopup += new MenuItemBase.BeforePopupEventHandler(this.MenuItem_BeforePopup);
                this._zoomMenu.Items.Add(new ZoomMenuItem(Resources.TEXT_300_PERCENT_, 300f, new EventHandler(this.MenuItem_Activate)));
                this._zoomMenu.Items.Add(new ZoomMenuItem(Resources.TEXT_200_PERCENT_, 200f, new EventHandler(this.MenuItem_Activate)));
                this._zoomMenu.Items.Add(new ZoomMenuItem(Resources.TEXT_100_PERCENT_, 100f, new EventHandler(this.MenuItem_Activate)));
                this._zoomMenu.Items.Add(new ZoomMenuItem(Resources.TEXT_75_PERCENT_, 75f, new EventHandler(this.MenuItem_Activate)));
                this._zoomMenu.Items.Add(new ZoomMenuItem(Resources.TEXT_50_PERCENT_, 50f, new EventHandler(this.MenuItem_Activate)));
                this._zoomMenu.Items.Add(new ZoomMenuItem(Resources.TEXT_25_PERCENT_, 25f, new EventHandler(this.MenuItem_Activate)));
                this._zoomMenu.Items.Add(new ZoomMenuItem(Resources.TEXT_FULL_, -1f, new EventHandler(this.MenuItem_Activate)));
                this.statusBar1.Items.Insert(1, this._zoomMenu);

                // Listen for Exceptions 
                ExceptionDialog exceptionDialog = ExceptionDialog.Default;
                exceptionDialog.FeedbackAddress = Resources.TEXT_URL_FEEDBACK;
                exceptionDialog.Exception += new EventHandler<ExceptionHandlerEventArgs>(this.Form_Exception);

                // Update Renderer
                ColorSchemeSettings.Default.PropertyChanged += new PropertyChangedEventHandler(this.ColorScheme_PropertyChanged);
                this.ColorScheme_PropertyChanged(null, null);

                // Get Diagrammer Environment
                DiagrammerEnvironment diagrammerEnvironment = DiagrammerEnvironment.Default;
                diagrammerEnvironment.ProgressChanged += new EventHandler<ProgressEventArgs>(this.DiagrammerEnvironment_ProgressChanged);
                diagrammerEnvironment.TableValidationRequest += new EventHandler<TableEventArgs>(this.DiagrammerEnvironment_TableValidationRequest);
                diagrammerEnvironment.MetadataViewerRequest += new EventHandler<DatasetEventArgs>(this.DiagrammerEnvironment_MetadataViewerRequest);

                // Changes the default font to Tahoma 
                Crainiate.ERM4.Component.Instance.DefaultFont = new Font("Tahoma", 8);
                Crainiate.ERM4.Component.Instance.DefaultStringFormat.FormatFlags = StringFormatFlags.NoWrap;
                Crainiate.ERM4.Component.Instance.DefaultStringFormat.Trimming = StringTrimming.EllipsisCharacter;

                // Set the Help ComboBox text
                this.comboBoxItemHelp.DefaultText = Resources.TEXT_TYPE_A_QUESTION_FOR_HELP;

                // Assign this form to the PropertyEditor Window
                this.propertyEditor1.PropertyGrid.SetParent(this);

                if (args != null) {
                    if (args.Length > 0) {
                        string arg = args[0];
                        if (!string.IsNullOrEmpty(arg)) {
                            if (File.Exists(arg)) {
                                this.CreateTabbedDocument(arg);
                            }
                        }
                    }
                }
            }
            catch(Exception ex){
                ExceptionDialog.HandleException(ex);
            }
        }
        public IEnumerable <MenuItem> GetMenuItems()
        {
            var menuText = _localizationService.GetString("/cmsaudit/menus/audit", "Audit");

            var sectionMenu =
                new DropDownMenuItem(menuText, MenuPath)
            {
                SortIndex = int.MaxValue, IsAvailable = (_) => true
            };

            var menuSites =
                new UrlMenuItem(
                    _localizationService.GetString("/cmsaudit/menus/audit/sites", "Sites"),
                    MenuPath + "/sites",
                    Paths.ToResource("CmsAudit", ""))
            {
                IsAvailable = (request) => true,
                SortIndex   = 100
            };

            var menuPageTypes =
                new UrlMenuItem(
                    _localizationService.GetString("/cmsaudit/menus/audit/pagetypes", "Page Types"),
                    MenuPath + "/pagetypes",
                    Paths.ToResource("CmsAudit", "PageTypes"))
            {
                IsAvailable = (request) => true,
                SortIndex   = 200
            };

            var menuBlockTypes =
                new UrlMenuItem(
                    _localizationService.GetString("/cmsaudit/menus/audit/blocktypes", "Block Types"),
                    MenuPath + "/blocktypes",
                    Paths.ToResource("CmsAudit", "BlockTypes"))
            {
                IsAvailable = (request) => true,
                SortIndex   = 300
            };

            var menuVisitorGroups =
                new UrlMenuItem(
                    _localizationService.GetString("/cmsaudit/menus/audit/visitorgroups", "Visitor Groups"),
                    MenuPath + "/visitorgroups",
                    Paths.ToResource("CmsAudit", "VisitorGroups"))
            {
                IsAvailable = (request) => true,
                SortIndex   = 400
            };

            var list = new List <MenuItem>
            {
                sectionMenu,
                menuSites,
                menuPageTypes,
                menuBlockTypes,
                menuVisitorGroups
            };

            return(list);
        }
示例#9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));
     this.contextMenu1       = new System.Windows.Forms.ContextMenu();
     this.setFontMenuItem    = new System.Windows.Forms.MenuItem();
     this.openMenuItem       = new System.Windows.Forms.MenuItem();
     this.saveMenuItem       = new System.Windows.Forms.MenuItem();
     this.fontDialog1        = new System.Windows.Forms.FontDialog();
     this.saveFileDialog1    = new System.Windows.Forms.SaveFileDialog();
     this.openFileDialog1    = new System.Windows.Forms.OpenFileDialog();
     this.statusBar1         = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1    = new System.Windows.Forms.StatusBarPanel();
     this.sandDockManager1   = new TD.SandDock.SandDockManager();
     this.leftSandDock       = new TD.SandDock.DockContainer();
     this.rightSandDock      = new TD.SandDock.DockContainer();
     this.bottomSandDock     = new TD.SandDock.DockContainer();
     this.topSandDock        = new TD.SandDock.DockContainer();
     this.toolBar1           = new TD.SandBar.ToolBar();
     this.buttonOpen         = new TD.SandBar.ButtonItem();
     this.saveButton         = new TD.SandBar.ButtonItem();
     this.recordButton       = new TD.SandBar.ButtonItem();
     this.assertButton       = new TD.SandBar.ButtonItem();
     this.playbackButton     = new TD.SandBar.ButtonItem();
     this.dropDownMenuItem1  = new TD.SandBar.DropDownMenuItem();
     this.menuButtonItem2    = new TD.SandBar.MenuButtonItem();
     this.menuButtonItem5    = new TD.SandBar.MenuButtonItem();
     this.menuButtonItem6    = new TD.SandBar.MenuButtonItem();
     this.menuButtonItem3    = new TD.SandBar.MenuButtonItem();
     this.menuButtonItem4    = new TD.SandBar.MenuButtonItem();
     this.menuButtonItem1    = new TD.SandBar.MenuButtonItem();
     this.aboutButton        = new TD.SandBar.ButtonItem();
     this.documentContainer1 = new TD.SandDock.DocumentContainer();
     this.dockControl1       = new TD.SandDock.DockControl();
     this.panel1             = new System.Windows.Forms.Panel();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.textScript         = new System.Windows.Forms.RichTextBox();
     this.splitter1          = new System.Windows.Forms.Splitter();
     this.groupBox2          = new System.Windows.Forms.GroupBox();
     this.lstEvents          = new System.Windows.Forms.ListBox();
     this.dockControlOutput  = new TD.SandDock.DockControl();
     this.groupBox3          = new System.Windows.Forms.GroupBox();
     this.rtbStdOutLog       = new System.Windows.Forms.RichTextBox();
     this.btnSaveLog         = new System.Windows.Forms.Button();
     this.btnClear           = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     this.documentContainer1.SuspendLayout();
     this.dockControl1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.dockControlOutput.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.setFontMenuItem,
         this.openMenuItem,
         this.saveMenuItem
     });
     //
     // setFontMenuItem
     //
     this.setFontMenuItem.Index  = 0;
     this.setFontMenuItem.Text   = "Set Font...";
     this.setFontMenuItem.Click += new System.EventHandler(this.setFontMenuItem_Click);
     //
     // openMenuItem
     //
     this.openMenuItem.Index  = 1;
     this.openMenuItem.Text   = "Open...";
     this.openMenuItem.Click += new System.EventHandler(this.openMenuItem_Click);
     //
     // saveMenuItem
     //
     this.saveMenuItem.Index  = 2;
     this.saveMenuItem.Text   = "Save...";
     this.saveMenuItem.Click += new System.EventHandler(this.saveMenuItem_Click);
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 583);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(608, 22);
     this.statusBar1.TabIndex   = 8;
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.statusBarPanel1.Name     = "statusBarPanel1";
     this.statusBarPanel1.Width    = 592;
     //
     // sandDockManager1
     //
     this.sandDockManager1.OwnerForm = this;
     //
     // leftSandDock
     //
     this.leftSandDock.Dock         = System.Windows.Forms.DockStyle.Left;
     this.leftSandDock.Guid         = new System.Guid("25ec745e-de38-4c1a-a783-53b829ea6734");
     this.leftSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.leftSandDock.Location     = new System.Drawing.Point(0, 0);
     this.leftSandDock.Manager      = this.sandDockManager1;
     this.leftSandDock.Name         = "leftSandDock";
     this.leftSandDock.Size         = new System.Drawing.Size(0, 605);
     this.leftSandDock.TabIndex     = 10;
     //
     // rightSandDock
     //
     this.rightSandDock.Dock         = System.Windows.Forms.DockStyle.Right;
     this.rightSandDock.Guid         = new System.Guid("c4aec7ed-9055-44f4-af3f-2ea35df51099");
     this.rightSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.rightSandDock.Location     = new System.Drawing.Point(608, 0);
     this.rightSandDock.Manager      = this.sandDockManager1;
     this.rightSandDock.Name         = "rightSandDock";
     this.rightSandDock.Size         = new System.Drawing.Size(0, 605);
     this.rightSandDock.TabIndex     = 11;
     //
     // bottomSandDock
     //
     this.bottomSandDock.Dock         = System.Windows.Forms.DockStyle.Bottom;
     this.bottomSandDock.Guid         = new System.Guid("5196e983-c717-40e9-b223-368ca5f449f3");
     this.bottomSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.bottomSandDock.Location     = new System.Drawing.Point(0, 605);
     this.bottomSandDock.Manager      = this.sandDockManager1;
     this.bottomSandDock.Name         = "bottomSandDock";
     this.bottomSandDock.Size         = new System.Drawing.Size(608, 0);
     this.bottomSandDock.TabIndex     = 12;
     //
     // topSandDock
     //
     this.topSandDock.Dock         = System.Windows.Forms.DockStyle.Top;
     this.topSandDock.Guid         = new System.Guid("c11b7c3d-b652-47b2-bf7d-0a72097ec98e");
     this.topSandDock.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400);
     this.topSandDock.Location     = new System.Drawing.Point(0, 0);
     this.topSandDock.Manager      = this.sandDockManager1;
     this.topSandDock.Name         = "topSandDock";
     this.topSandDock.Size         = new System.Drawing.Size(608, 0);
     this.topSandDock.TabIndex     = 13;
     //
     // toolBar1
     //
     this.toolBar1.ContextMenu  = this.contextMenu1;
     this.toolBar1.FlipLastItem = true;
     this.toolBar1.Guid         = new System.Guid("a57ee27e-f5fa-4a3f-986a-cbe4264539d5");
     this.toolBar1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.buttonOpen,
         this.saveButton,
         this.recordButton,
         this.assertButton,
         this.playbackButton,
         this.dropDownMenuItem1,
         this.aboutButton
     });
     this.toolBar1.Location = new System.Drawing.Point(0, 0);
     this.toolBar1.Name     = "toolBar1";
     this.toolBar1.ShowShortcutsInToolTips = true;
     this.toolBar1.Size      = new System.Drawing.Size(608, 22);
     this.toolBar1.TabIndex  = 14;
     this.toolBar1.Text      = "";
     this.toolBar1.TextAlign = TD.SandBar.ToolBarTextAlign.Underneath;
     //
     // buttonOpen
     //
     this.buttonOpen.IconSize    = new System.Drawing.Size(32, 32);
     this.buttonOpen.Text        = "Open";
     this.buttonOpen.ToolTipText = "Open";
     this.buttonOpen.Activate   += new System.EventHandler(this.buttonOpen_Activate);
     //
     // saveButton
     //
     this.saveButton.IconSize    = new System.Drawing.Size(32, 32);
     this.saveButton.Text        = "Save";
     this.saveButton.ToolTipText = "Save";
     this.saveButton.Activate   += new System.EventHandler(this.saveButton_Activate);
     //
     // recordButton
     //
     this.recordButton.BeginGroup  = true;
     this.recordButton.Text        = "Start";
     this.recordButton.ToolTipText = "Start";
     this.recordButton.Activate   += new System.EventHandler(this.recordButton_Activate);
     //
     // assertButton
     //
     this.assertButton.IconSize    = new System.Drawing.Size(128, 128);
     this.assertButton.Text        = "Assert";
     this.assertButton.ToolTipText = "Add assertion";
     this.assertButton.Activate   += new System.EventHandler(this.assertButton_Activate);
     //
     // playbackButton
     //
     this.playbackButton.Text        = "Playback";
     this.playbackButton.ToolTipText = "Playback";
     this.playbackButton.Activate   += new System.EventHandler(this.playbackButton_Activate);
     //
     // dropDownMenuItem1
     //
     this.dropDownMenuItem1.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuButtonItem2,
         this.menuButtonItem3,
         this.menuButtonItem4,
         this.menuButtonItem1
     });
     this.dropDownMenuItem1.Text    = "Options";
     this.dropDownMenuItem1.Visible = false;
     //
     // menuButtonItem2
     //
     this.menuButtonItem2.Items.AddRange(new TD.SandBar.ToolbarItemBase[] {
         this.menuButtonItem5,
         this.menuButtonItem6
     });
     this.menuButtonItem2.Text = "Browser Selection";
     //
     // menuButtonItem5
     //
     this.menuButtonItem5.Text = "Firewatir: Mozilla Firefox";
     //
     // menuButtonItem6
     //
     this.menuButtonItem6.Text = "Watir: Internet Explorer";
     //
     // menuButtonItem3
     //
     this.menuButtonItem3.Text = "Watir Project Page";
     //
     // menuButtonItem4
     //
     this.menuButtonItem4.Text = "Ruby Project Page";
     //
     // menuButtonItem1
     //
     this.menuButtonItem1.BeginGroup = true;
     this.menuButtonItem1.Text       = "About...";
     this.menuButtonItem1.Activate  += new System.EventHandler(this.menuButtonItem1_Activate);
     //
     // aboutButton
     //
     this.aboutButton.BuddyMenu   = this.menuButtonItem1;
     this.aboutButton.IconSize    = new System.Drawing.Size(32, 32);
     this.aboutButton.Text        = "About";
     this.aboutButton.ToolTipText = "About";
     this.aboutButton.Activate   += new System.EventHandler(this.aboutButton_Activate);
     //
     // documentContainer1
     //
     this.documentContainer1.Controls.Add(this.dockControl1);
     this.documentContainer1.Controls.Add(this.dockControlOutput);
     this.documentContainer1.Guid         = new System.Guid("a1f0db60-29b8-4f8c-b3ca-0613232ae52d");
     this.documentContainer1.LayoutSystem = new TD.SandDock.SplitLayoutSystem(250, 400, System.Windows.Forms.Orientation.Horizontal, new TD.SandDock.LayoutSystemBase[] {
         ((TD.SandDock.LayoutSystemBase)(new TD.SandDock.DocumentLayoutSystem(606, 559, new TD.SandDock.DockControl[] {
             this.dockControl1,
             this.dockControlOutput
         }, this.dockControl1)))
     });
     this.documentContainer1.Location   = new System.Drawing.Point(0, 22);
     this.documentContainer1.Manager    = null;
     this.documentContainer1.Name       = "documentContainer1";
     this.documentContainer1.Renderer   = new TD.SandDock.Rendering.Office2003Renderer();
     this.documentContainer1.Size       = new System.Drawing.Size(608, 561);
     this.documentContainer1.TabIndex   = 15;
     this.documentContainer1.DragDrop  += new System.Windows.Forms.DragEventHandler(this.textScript_DragDrop);
     this.documentContainer1.DragEnter += new System.Windows.Forms.DragEventHandler(this.textScript_DragEnter);
     //
     // dockControl1
     //
     this.dockControl1.Controls.Add(this.panel1);
     this.dockControl1.Guid     = new System.Guid("804e5184-274f-4191-a3ab-346cf996384a");
     this.dockControl1.Location = new System.Drawing.Point(5, 33);
     this.dockControl1.Name     = "dockControl1";
     this.dockControl1.Size     = new System.Drawing.Size(598, 523);
     this.dockControl1.TabIndex = 0;
     this.dockControl1.Text     = "Recording";
     this.dockControl1.Closing += new System.ComponentModel.CancelEventHandler(this.dockControl1_Closing);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.splitter1);
     this.panel1.Controls.Add(this.groupBox2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 0);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(598, 523);
     this.panel1.TabIndex = 8;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.textScript);
     this.groupBox1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.groupBox1.Location   = new System.Drawing.Point(0, 0);
     this.groupBox1.Name       = "groupBox1";
     this.groupBox1.Size       = new System.Drawing.Size(598, 384);
     this.groupBox1.TabIndex   = 4;
     this.groupBox1.TabStop    = false;
     this.groupBox1.Text       = "Watir Test Code";
     this.groupBox1.DragOver  += new System.Windows.Forms.DragEventHandler(this.textScript_DragEnter);
     this.groupBox1.DragDrop  += new System.Windows.Forms.DragEventHandler(this.textScript_DragDrop);
     this.groupBox1.DragEnter += new System.Windows.Forms.DragEventHandler(this.textScript_DragEnter);
     //
     // textScript
     //
     this.textScript.AllowDrop   = true;
     this.textScript.ContextMenu = this.contextMenu1;
     this.textScript.DetectUrls  = false;
     this.textScript.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.textScript.Font        = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textScript.Location    = new System.Drawing.Point(3, 16);
     this.textScript.Name        = "textScript";
     this.textScript.Size        = new System.Drawing.Size(592, 365);
     this.textScript.TabIndex    = 1;
     this.textScript.Text        = "";
     this.textScript.DragDrop   += new System.Windows.Forms.DragEventHandler(this.textScript_DragDrop);
     this.textScript.DragEnter  += new System.Windows.Forms.DragEventHandler(this.textScript_DragEnter);
     //
     // splitter1
     //
     this.splitter1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.splitter1.Location = new System.Drawing.Point(0, 384);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(598, 3);
     this.splitter1.TabIndex = 6;
     this.splitter1.TabStop  = false;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.lstEvents);
     this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.groupBox2.Location = new System.Drawing.Point(0, 387);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(598, 136);
     this.groupBox2.TabIndex = 5;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Events";
     //
     // lstEvents
     //
     this.lstEvents.Dock           = System.Windows.Forms.DockStyle.Fill;
     this.lstEvents.Font           = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lstEvents.IntegralHeight = false;
     this.lstEvents.ItemHeight     = 16;
     this.lstEvents.Location       = new System.Drawing.Point(3, 16);
     this.lstEvents.Name           = "lstEvents";
     this.lstEvents.Size           = new System.Drawing.Size(592, 117);
     this.lstEvents.TabIndex       = 2;
     //
     // dockControlOutput
     //
     this.dockControlOutput.Controls.Add(this.groupBox3);
     this.dockControlOutput.Controls.Add(this.btnSaveLog);
     this.dockControlOutput.Controls.Add(this.btnClear);
     this.dockControlOutput.Guid     = new System.Guid("e4b3c490-2cd9-4436-a969-ac697467fb4a");
     this.dockControlOutput.Location = new System.Drawing.Point(5, 33);
     this.dockControlOutput.Name     = "dockControlOutput";
     this.dockControlOutput.Size     = new System.Drawing.Size(598, 523);
     this.dockControlOutput.TabIndex = 1;
     this.dockControlOutput.Text     = "Standard Output Log";
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.rtbStdOutLog);
     this.groupBox3.Location = new System.Drawing.Point(0, 0);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(603, 460);
     this.groupBox3.TabIndex = 3;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "Standard Output";
     //
     // rtbStdOutLog
     //
     this.rtbStdOutLog.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.rtbStdOutLog.Enabled   = false;
     this.rtbStdOutLog.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.rtbStdOutLog.ForeColor = System.Drawing.SystemColors.Desktop;
     this.rtbStdOutLog.Location  = new System.Drawing.Point(3, 16);
     this.rtbStdOutLog.Name      = "rtbStdOutLog";
     this.rtbStdOutLog.ReadOnly  = true;
     this.rtbStdOutLog.Size      = new System.Drawing.Size(597, 441);
     this.rtbStdOutLog.TabIndex  = 0;
     this.rtbStdOutLog.Text      = "";
     //
     // btnSaveLog
     //
     this.btnSaveLog.Location = new System.Drawing.Point(435, 466);
     this.btnSaveLog.Name     = "btnSaveLog";
     this.btnSaveLog.Size     = new System.Drawing.Size(75, 23);
     this.btnSaveLog.TabIndex = 2;
     this.btnSaveLog.Text     = "Save Log";
     this.btnSaveLog.UseVisualStyleBackColor = true;
     this.btnSaveLog.Click += new System.EventHandler(this.btnSaveLog_Click);
     //
     // btnClear
     //
     this.btnClear.Location = new System.Drawing.Point(516, 466);
     this.btnClear.Name     = "btnClear";
     this.btnClear.Size     = new System.Drawing.Size(75, 23);
     this.btnClear.TabIndex = 1;
     this.btnClear.Text     = "Clear";
     this.btnClear.UseVisualStyleBackColor = true;
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // frmMain
     //
     this.AccessibleName    = "WatirRecorder#";
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(608, 605);
     this.Controls.Add(this.documentContainer1);
     this.Controls.Add(this.toolBar1);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.leftSandDock);
     this.Controls.Add(this.rightSandDock);
     this.Controls.Add(this.bottomSandDock);
     this.Controls.Add(this.topSandDock);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name  = "frmMain";
     this.Text  = "WatirRecorder#";
     this.Load += new System.EventHandler(this.frmMain_Load);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     this.documentContainer1.ResumeLayout(false);
     this.dockControl1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.dockControlOutput.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.ResumeLayout(false);
 }