상속: ContainerControl
예제 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._coreToolStripContainer = new System.Windows.Forms.ToolStripContainer();
     this._coreToolStripContainer.SuspendLayout();
     this.SuspendLayout();
     //
     // _coreToolStripContainer
     //
     //
     // _coreToolStripContainer.ContentPanel
     //
     this._coreToolStripContainer.ContentPanel.Size = new System.Drawing.Size(632, 445);
     this._coreToolStripContainer.Dock = System.Windows.Forms.DockStyle.Fill;
     this._coreToolStripContainer.Location = new System.Drawing.Point(0, 0);
     this._coreToolStripContainer.Name = "_coreToolStripContainer";
     this._coreToolStripContainer.Size = new System.Drawing.Size(632, 445);
     this._coreToolStripContainer.TabIndex = 0;
     //
     // CoreWorkbench
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(632, 445);
     this.Controls.Add(this._coreToolStripContainer);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F);
     this.IsMdiContainer = true;
     this.MinimumSize = new System.Drawing.Size(640, 480);
     this.Name = "CoreWorkbench";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this._coreToolStripContainer.ResumeLayout(false);
     this._coreToolStripContainer.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #2
0
         public ToolStripContainer AddExitButton(ToolStripContainer toolbarContainer,ExitButtonDelegate myDelegate)
         {
             if (myDelegate != null) {
                imgExitToolStrip = new ToolStrip();
               // imgExitToolStrip.ImageScalingSize = new Size(18, 18);

                imgExitToolStrip.ImageList = new ImageList();
                imgExitToolStrip.ItemClicked += new ToolStripItemClickedEventHandler(this.toolBar_Click);
                imgExitToolStrip.ImageList.Images.Add("Exit", Image.FromHbitmap(ImageEdit.EXIT.GetHbitmap()));

                ToolStripItem button;

                button = new ToolStripButton();
                button.Text = "";
                button.ImageKey = "Exit";
                button.Name = "Exit";
                button.ToolTipText = "Exit";
                imgExitToolStrip.Items.Add(button);
    
                toolbarContainer.TopToolStripPanel.Controls.Add(imgExitToolStrip);
                this.exitDelegate = myDelegate;
             }
             else {
                 if (imgExitToolStrip != null) {
                    toolbarContainer.TopToolStripPanel.Controls.Remove(imgExitToolStrip);
                 }
                 imgExitToolStrip = null;
             }
             return toolbarContainer;

         }
예제 #3
0
        /// <summary>
        /// Called when a part's imports have been satisfied and it is safe to use. (Shell will have a value)
        /// </summary>
        public void OnImportsSatisfied()
        {
            this.toolStripContainer1 = new ToolStripContainer();
            this.toolStripContainer1.ContentPanel.SuspendLayout();
            this.toolStripContainer1.SuspendLayout();

            this.toolStripContainer1.Dock = DockStyle.Fill;
            this.toolStripContainer1.Name = "toolStripContainer1";

            // place all of the controls that were on the form originally inside of our content panel.
            while (Shell.Controls.Count > 0)
            {
                foreach (Control control in Shell.Controls)
                {
                    this.toolStripContainer1.ContentPanel.Controls.Add(control);
                }
            }

            Shell.Controls.Add(this.toolStripContainer1);

            this.toolStripContainer1.ContentPanel.ResumeLayout(false);
            this.toolStripContainer1.ResumeLayout(false);
            this.toolStripContainer1.PerformLayout();

            Initialize(toolStripContainer1);
        }
		public void PropertyRightToolStripPanelVisible ()
		{
			ToolStripContainer tsc = new ToolStripContainer ();

			tsc.RightToolStripPanelVisible = false; ;
			Assert.AreEqual (false, tsc.RightToolStripPanelVisible, "B1");
		}
예제 #5
0
        public MainForm()
        {
            InitializeComponent();

            // Create toolbar
            ToolStripButton toolStripMap = new ToolStripButton();

            toolStripMap.Text   = "Map";
            toolStripMap.Click += new System.EventHandler(this.toolStripMap_Click);

            ToolStripButton toolStripExit = new ToolStripButton();

            toolStripExit.Text   = "Exit";
            toolStripExit.Click += new System.EventHandler(this.toolStripExit_Click);

            ToolStrip toolStrip = new System.Windows.Forms.ToolStrip();

            toolStrip.Items.Add(toolStripMap);
            toolStrip.Items.Add(toolStripExit);

            ToolStripContainer toolStripContainer = new System.Windows.Forms.ToolStripContainer();

            toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip);
            Controls.Add(toolStripContainer);
        }
        /// <summary>
        /// Imports the toolStripContainer with all his nice controls into the given form
        /// also adds the controls from this.pnlContentHolder to masterFormContents.pnlContentHolder
        /// </summary>
        public static void InitializeContent(Form newForm,
            Label lblTooltip,
            ToolStripContainer toolStripContainer,
            Panel pnlContentHolder,
            CNNProjectHolder cnnProjectHolder)
        {
            MasterForm masterFormContents = new MasterForm(newForm, cnnProjectHolder);

            // import
            toolStripContainer = masterFormContents.toolStripContainer1;
            newForm.Controls.Add(toolStripContainer);

            // control replacement
            newForm.Controls.Remove(pnlContentHolder);
            newForm.Controls.Remove(lblTooltip);
            masterFormContents.pnlContentHolder.Controls.Clear();

            foreach (Control control in pnlContentHolder.Controls)
            {
                masterFormContents.pnlContentHolder.Controls.Add(control);
            }

            int time = (cnnProjectHolder.CNNProject.ExpertMode) ? 1 : 5000;

            masterFormContents.ShowPictureBoxBalloon(lblTooltip.Text, time, newForm, true);
            masterFormContents.lblHeading.Text = newForm.Text;
        }
예제 #7
0
 /// <summary>
 /// Creates a new instance of the GeoPluginArgs
 /// </summary>
 /// <param name="map">Each Manager is associated with a single map</param>
 /// <param name="legend">The legend</param>
 /// <param name="mainMenu">The main menu</param>
 /// <param name="mainToolStrip">The main toolstrip</param>
 /// <param name="progressHandler">The progress handler</param>
 /// <param name="plugins">The list of plugins controlled by the manager</param>
 /// <param name="toolStripContainer">The container where any toolstrips should be added</param>
 public GeoPluginArgs(IMap map, ILegend legend, MenuStrip mainMenu, ToolStrip mainToolStrip, IProgressHandler progressHandler, List<IMapPlugin> plugins, ToolStripContainer toolStripContainer)
 {
     _toolStripContainer = toolStripContainer;
     _map = map;
     _legend = legend;
     _mainMenu = mainMenu;
     _mainToolStrip = mainToolStrip;
     _plugins = plugins;
     _progressHandler = progressHandler;
 }
예제 #8
0
        public FindBar(ToolStripContainer workspace, EditorControl editor)
        {
            this.editor = editor;

            var cancelImage = Image.FromFile("/res/critical.png".AsAbsolute());
            var goImage = Image.FromFile("/res/findnexths.png".AsAbsolute());

            workspace.BottomToolStripPanel.Controls.Add(this);
            Visible = false;
            Left = workspace.LeftToolStripPanel.Width;

            Items.Add("", cancelImage, (_, e) => Visible = false);

            Items.Add(new ToolStripLabel("Find What:"));

            ec = new FindBarTextBox() { Width = 300 };
            ec.Dismissed += () => { Hide(); editor.Focus(); };
            ec.Accepted += () => { DoFind(); };

            var i = new ToolStripControlHost(ec) { AutoSize = false, Width = ec.Width };
            Items.Add(i);

            Items.Add(new ToolStripButton("", goImage, (_, e) => DoFind()));

            RegExCheckBox = new CheckBox()
            {
                Text = "Regular Expression",
                AutoSize = false,
                Width = 130,
                Checked = false,
                BackColor = Color.Transparent,
            };

            CaseSensitivityCheckBox = new CheckBox()
            {
                Text = "Case Sensitive",
                Checked = false,
                BackColor = Color.Transparent,
            };

            var RegExHost = new ToolStripControlHost(RegExCheckBox)
            {
                AutoSize = false,
                Width = RegExCheckBox.Width
            };

            var CaseHost = new ToolStripControlHost(CaseSensitivityCheckBox)
            {
                AutoSize = false,
                Width = CaseSensitivityCheckBox.Width
            };

            Items.Add(RegExHost);
            Items.Add(CaseHost);
        }
예제 #9
0
		public ToolbarBuilder(ToolStripContainer container, Dictionary<string, Image> images)
		{
			toolstrip = Lazy.New(() =>
			{
				var ts = new ToolStrip();
				container.LeftToolStripPanel.Controls.Add(ts);
				return ts;
			});

			this.images = images;
		}
		public MainForm() {
			this.Text = Catalog.GetString("Xenon File Manager");
			this.Size = new Size(600, 450);
			this.Icon = new Icon(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("XenonFileManagerWinForms.xenon.ico"));
			
			
			MenuStrip menuStrip = new MenuStrip();
			menuStrip.Parent = this;
			ToolStripMenuItem file = new ToolStripMenuItem("&File");
			menuStrip.Items.Add(file);
			ToolStripMenuItem newTab = new ToolStripMenuItem("New &Tab");
			newTab.ShortcutKeys = Keys.Control | Keys.T;
			file.DropDownItems.Add(newTab);
			MainMenuStrip = menuStrip;
			//menuStrip.RenderMode = ToolStripRenderMode.Custom;
			//Szotar.WindowsForms.ToolStripAeroRenderer rende = ;
			//menuStrip.Renderer = new Szotar.WindowsForms.ToolStripAeroRenderer(Szotar.WindowsForms.ToolbarTheme.Toolbar);
			//menuStrip.Renderer.
			
			ToolStripContainer toolStripContainer = new ToolStripContainer();
			toolStripContainer.Dock = DockStyle.Fill;
			//toolStripContainer.
			ToolStrip toolStrip = new ToolStrip();
			toolStrip.Items.Add("Back");
			toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip);
			toolStripContainer.TopToolStripPanel.Controls.Add(menuStrip);
			
			locationBar = new TextBox();
			locationBar.Dock = DockStyle.Top;
			toolStripContainer.ContentPanel.Controls.Add(locationBar);
			
			tabs = new XeTabControl();
			tabs.DrawTabButtonBox = false;
			tabs.HighlightTextInSelectedTab = true;
			tabs.ShowButtons = LazzyTab.ShowButtonEnum.Quit;
			tabs.Anchor = AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Right | AnchorStyles.Top;
			tabs.Top = locationBar.Height;
			tabs.Height = toolStripContainer.ContentPanel.Height - toolStripContainer.ContentPanel.Padding.Top
				- toolStripContainer.ContentPanel.Padding.Bottom - locationBar.Height;
			tabs.Width = toolStripContainer.ContentPanel.Width - toolStripContainer.ContentPanel.Padding.Right
				- toolStripContainer.ContentPanel.Padding.Left + 2;
			toolStripContainer.ContentPanel.Controls.Add(tabs);
			
			this.Controls.Add(toolStripContainer);
			
			//Controls.Add(toolContainer);
		
			
			CommonUtil.DirectoryChanged += new DirectoryChangedEventHandler(this.OnDirectoryChanged);
			
			TabPage page = (TabPage)CommonUtil.LoadControlInstance();
			tabs.TabPages.Add(page);
		}
        public WebBrowserTabPage(WebKitBrowser browserControl, bool goHome)
        {
            InitializeComponent();

            statusStrip = new StatusStrip();
            statusStrip.Name = "statusStrip";
            statusStrip.Visible = true;
            statusStrip.SizingGrip = false;

            container = new ToolStripContainer();
            container.Name = "container";
            container.Visible = true;
            container.Dock = DockStyle.Fill;

            statusLabel = new ToolStripLabel();
            statusLabel.Name = "statusLabel";
            statusLabel.Text = "Done";
            statusLabel.Visible = true;

            iconLabel = new ToolStripLabel();
            iconLabel.Name = "iconLabel";
            iconLabel.Text = "No Icon";
            iconLabel.Visible = true;

            statusStrip.Items.Add(statusLabel);
            statusStrip.Items.Add(iconLabel);

            container.BottomToolStripPanel.Controls.Add(statusStrip);

            // create webbrowser control
            browser = browserControl;
            browser.Visible = true;
            browser.Dock = DockStyle.Fill;
            browser.Name = "browser";
            container.ContentPanel.Controls.Add(browser);

            // context menu

            this.Controls.Add(container);
            this.Text = "<New Tab>";

            // events
            browser.DocumentTitleChanged += (s, e) => this.Text = browser.DocumentTitle;
            browser.Navigating += (s, e) => statusLabel.Text = "Loading...";
            browser.Navigated += (s, e) => { statusLabel.Text = "Downloading..."; };
            browser.DocumentCompleted += (s, e) => { statusLabel.Text = "Done"; };
            if (goHome)
                browser.Navigate("http://www.google.com");
            browser.ApplicationName = "WebKit.NET-test";
        }
		public void Constructor ()
		{
			ToolStripContainer tsc = new ToolStripContainer ();

			Assert.AreEqual ("System.Windows.Forms.ToolStripPanel", tsc.BottomToolStripPanel.ToString (), "A1");
			Assert.AreEqual (true, tsc.BottomToolStripPanelVisible, "A2");
			Assert.AreEqual ("System.Windows.Forms.ToolStripContentPanel", tsc.ContentPanel.GetType ().ToString (), "A3");
			Assert.AreEqual ("System.Windows.Forms.ToolStripPanel", tsc.LeftToolStripPanel.ToString (), "A4");
			Assert.AreEqual (true, tsc.LeftToolStripPanelVisible, "A5");
			Assert.AreEqual ("System.Windows.Forms.ToolStripPanel", tsc.RightToolStripPanel.ToString (), "A6");
			Assert.AreEqual (true, tsc.RightToolStripPanelVisible, "A7");
			Assert.AreEqual ("System.Windows.Forms.ToolStripPanel", tsc.TopToolStripPanel.ToString (), "A8");
			Assert.AreEqual (true, tsc.TopToolStripPanelVisible, "A9");
		}
예제 #13
0
        public ApplicationBridge(MenuStrip menuStrip,
            ToolStripContainer toolStripContainer, MapPanel mapPanel)
            : base(false)
        {
            m_commandHistory = CommandHistory.Instance;

            m_menuStripBridge = new MenuStripBridge(menuStrip);

            m_toolStripContainer = toolStripContainer;
            m_toolBars = new List<ToolBarBridge>();
            PopulateToolBars(toolStripContainer.TopToolStripPanel);
            PopulateToolBars(toolStripContainer.BottomToolStripPanel);
            PopulateToolBars(toolStripContainer.LeftToolStripPanel);
            PopulateToolBars(toolStripContainer.RightToolStripPanel);

            m_editorBridge = new EditorBridge(mapPanel);
        }
예제 #14
0
 public ToolStripContainerAccessibleObject(ToolStripContainer owner) : base(owner)
 {
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(iRulerMain));
     this.panel_TreeViewToolbar = new System.Windows.Forms.Panel();
     this.toolStrip2 = new System.Windows.Forms.ToolStrip();
     this.toolStripButton_New = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_Save = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_Delete = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_Share = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_CheckSyntax = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_RefreshList = new System.Windows.Forms.ToolStripButton();
     this.treeView_iRules = new System.Windows.Forms.TreeView();
     this.contextMenuStrip_TreeView = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.toolStripMenuItem_Save = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_Delete = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_CheckSyntax = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_Share = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_Reset = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_Reload = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_CopyOffline = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_Properties = new System.Windows.Forms.ToolStripMenuItem();
     this.imageList_TreeView = new System.Windows.Forms.ImageList(this.components);
     this.panel_TreeView = new System.Windows.Forms.Panel();
     this.m_textEditor = new scintilla.ScintillaControl();
     this.textBox_Status = new System.Windows.Forms.RichTextBox();
     this.panel_Top = new System.Windows.Forms.Panel();
     this.menuStrip1 = new System.Windows.Forms.MenuStrip();
     this.toolStripMenuItem_File = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_FileConnect = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_FilePartition = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_FileFolder = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_FileNew = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_FileSave = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_FileSaveAll = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_FileDelete = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_FileArchive = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_FileArchiveExport = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_FileArchiveImport = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_FileArchiveOpen = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_FileArchiveSetLocation = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_Exit = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_Edit = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_EditUndo = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_EditRedo = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_EditCut = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_EditCopy = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_EditPaste = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_EditDelete = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_EditSelectAll = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_Search = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_SearchFind = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_SearchFindNext = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_SearchFindPrevious = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_View = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ViewLineNumbers = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ViewIndentionGuides = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ViewMargin = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ViewFoldMargin = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ViewWordWrap = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ViewWhiteSpace = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ViewEndOfLine = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ViewBookmarks = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_ViewChangeIndentionSettings = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_ViewAutoComplete = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ViewHotspots = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_ViewStatus = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ShowSplashScreen = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_Tools = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ToolsDataGroupEditor = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ToolsLogViewer = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ToolsShare = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ToolsGenerateTraffic = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_ToolsCheckForUpdates = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_ToolsConfig = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ToolsReloadConfig = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_ToolsResetConfig = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_ToolsEditConfig = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_ToolsBIGIPConfig = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_ToolsBIGIPConfigSaveConfig = new System.Windows.Forms.ToolStripMenuItem();
     this.ToolStripMenuItem_ToolsBIGIPConfigAutoSave = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_Help = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_HelpiRuler = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_HelpDevCentral = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_HelpForums = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_HelpiRulesReference = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_HelpTCLReference = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripMenuItem_HelpTipOfTheDay = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripMenuItem_HelpAbout = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.toolStripButton_Connect = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton_DataGroups = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_GenerateTraffic = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripButton_DevCentral = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_DevCentralForums = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_Wiki = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton_TCL = new System.Windows.Forms.ToolStripButton();
     this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
     this.panelx = new System.Windows.Forms.Panel();
     this.statusStrip = new System.Windows.Forms.StatusStrip();
     this.statusStripLabel_Connection = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_Line = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_Column = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripStatusLabel_Character = new System.Windows.Forms.ToolStripStatusLabel();
     this.panel_Middle = new System.Windows.Forms.Panel();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.panel_TreeViewToolbar.SuspendLayout();
     this.toolStrip2.SuspendLayout();
     this.contextMenuStrip_TreeView.SuspendLayout();
     this.panel_TreeView.SuspendLayout();
     this.panel_Top.SuspendLayout();
     this.menuStrip1.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.toolStripContainer1.SuspendLayout();
     this.panelx.SuspendLayout();
     this.statusStrip.SuspendLayout();
     this.panel_Middle.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.SuspendLayout();
     //
     // panel_TreeViewToolbar
     //
     this.panel_TreeViewToolbar.Controls.Add(this.toolStrip2);
     this.panel_TreeViewToolbar.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel_TreeViewToolbar.Location = new System.Drawing.Point(0, 0);
     this.panel_TreeViewToolbar.Name = "panel_TreeViewToolbar";
     this.panel_TreeViewToolbar.Size = new System.Drawing.Size(140, 29);
     this.panel_TreeViewToolbar.TabIndex = 5;
     //
     // toolStrip2
     //
     this.toolStrip2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.toolStrip2.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripButton_New,
     this.toolStripButton_Save,
     this.toolStripButton_Delete,
     this.toolStripButton_Share,
     this.toolStripButton_CheckSyntax,
     this.toolStripButton_RefreshList});
     this.toolStrip2.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
     this.toolStrip2.Location = new System.Drawing.Point(0, 0);
     this.toolStrip2.Name = "toolStrip2";
     this.toolStrip2.Size = new System.Drawing.Size(140, 29);
     this.toolStrip2.TabIndex = 0;
     this.toolStrip2.Text = "toolStrip2";
     //
     // toolStripButton_New
     //
     this.toolStripButton_New.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton_New.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton_New.Image")));
     this.toolStripButton_New.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton_New.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_New.Name = "toolStripButton_New";
     this.toolStripButton_New.Size = new System.Drawing.Size(23, 26);
     this.toolStripButton_New.Text = "Create a new iRule";
     this.toolStripButton_New.Click += new System.EventHandler(this.toolStripButton_New_Click);
     //
     // toolStripButton_Save
     //
     this.toolStripButton_Save.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton_Save.Image = global::iRuler.Properties.Resources.ToolbarSave;
     this.toolStripButton_Save.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton_Save.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Save.Name = "toolStripButton_Save";
     this.toolStripButton_Save.Size = new System.Drawing.Size(23, 26);
     this.toolStripButton_Save.Text = "Save the current iRule";
     this.toolStripButton_Save.Click += new System.EventHandler(this.toolStripButton_Save_Click);
     //
     // toolStripButton_Delete
     //
     this.toolStripButton_Delete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton_Delete.Image = global::iRuler.Properties.Resources.ToolbarDelete;
     this.toolStripButton_Delete.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton_Delete.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Delete.Name = "toolStripButton_Delete";
     this.toolStripButton_Delete.Size = new System.Drawing.Size(23, 26);
     this.toolStripButton_Delete.Text = "Delete the current iRule";
     this.toolStripButton_Delete.Click += new System.EventHandler(this.toolStripButton_Delete_Click);
     //
     // toolStripButton_Share
     //
     this.toolStripButton_Share.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton_Share.Image = global::iRuler.Properties.Resources.ToolbarShare;
     this.toolStripButton_Share.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton_Share.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Share.Name = "toolStripButton_Share";
     this.toolStripButton_Share.Size = new System.Drawing.Size(23, 26);
     this.toolStripButton_Share.Text = "Share your iRule with the DevCentral Community!";
     this.toolStripButton_Share.Click += new System.EventHandler(this.toolStripButton_Share_Click);
     //
     // toolStripButton_CheckSyntax
     //
     this.toolStripButton_CheckSyntax.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton_CheckSyntax.Image = global::iRuler.Properties.Resources.ToolbarCheckSyntax;
     this.toolStripButton_CheckSyntax.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton_CheckSyntax.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_CheckSyntax.Name = "toolStripButton_CheckSyntax";
     this.toolStripButton_CheckSyntax.Size = new System.Drawing.Size(23, 26);
     this.toolStripButton_CheckSyntax.Text = "Check the syntax of the current iRule";
     this.toolStripButton_CheckSyntax.Click += new System.EventHandler(this.toolStripButton_CheckSyntax_Click);
     //
     // toolStripButton_RefreshList
     //
     this.toolStripButton_RefreshList.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton_RefreshList.Image = global::iRuler.Properties.Resources.ToolbarRefresh;
     this.toolStripButton_RefreshList.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton_RefreshList.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_RefreshList.Name = "toolStripButton_RefreshList";
     this.toolStripButton_RefreshList.Size = new System.Drawing.Size(23, 26);
     this.toolStripButton_RefreshList.Text = "Refresh the list of iRules";
     this.toolStripButton_RefreshList.Click += new System.EventHandler(this.toolStripButton_RefreshList_Click);
     //
     // treeView_iRules
     //
     this.treeView_iRules.AllowDrop = true;
     this.treeView_iRules.ContextMenuStrip = this.contextMenuStrip_TreeView;
     this.treeView_iRules.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeView_iRules.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.treeView_iRules.FullRowSelect = true;
     this.treeView_iRules.ImageIndex = 0;
     this.treeView_iRules.ImageList = this.imageList_TreeView;
     this.treeView_iRules.Location = new System.Drawing.Point(0, 0);
     this.treeView_iRules.Name = "treeView_iRules";
     this.treeView_iRules.SelectedImageIndex = 0;
     this.treeView_iRules.ShowNodeToolTips = true;
     this.treeView_iRules.Size = new System.Drawing.Size(140, 522);
     this.treeView_iRules.TabIndex = 3;
     this.treeView_iRules.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeView_iRules_ItemDrag);
     this.treeView_iRules.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_iRules_AfterSelect);
     this.treeView_iRules.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView_iRules_NodeMouseClick);
     this.treeView_iRules.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView_iRules_NodeMouseDoubleClick);
     this.treeView_iRules.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeView_iRules_DragDrop);
     this.treeView_iRules.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView_iRules_DragEnter);
     this.treeView_iRules.DragOver += new System.Windows.Forms.DragEventHandler(this.treeView_iRules_DragOver);
     this.treeView_iRules.DragLeave += new System.EventHandler(this.treeView_iRules_DragLeave);
     //
     // contextMenuStrip_TreeView
     //
     this.contextMenuStrip_TreeView.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem_Save,
     this.toolStripMenuItem_Delete,
     this.toolStripMenuItem_CheckSyntax,
     this.toolStripMenuItem_Share,
     this.toolStripMenuItem_Reset,
     this.toolStripMenuItem_Reload,
     this.toolStripMenuItem_CopyOffline,
     this.toolStripSeparator2,
     this.toolStripMenuItem_Properties});
     this.contextMenuStrip_TreeView.Name = "contextMenuStrip_TreeView";
     this.contextMenuStrip_TreeView.Size = new System.Drawing.Size(145, 186);
     this.contextMenuStrip_TreeView.Opened += new System.EventHandler(this.contextMenuStrip_TreeView_Opened);
     //
     // toolStripMenuItem_Save
     //
     this.toolStripMenuItem_Save.Image = global::iRuler.Properties.Resources.ToolbarSave;
     this.toolStripMenuItem_Save.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_Save.Name = "toolStripMenuItem_Save";
     this.toolStripMenuItem_Save.Size = new System.Drawing.Size(144, 22);
     this.toolStripMenuItem_Save.Text = "&Save";
     this.toolStripMenuItem_Save.Click += new System.EventHandler(this.toolStripMenuItem_Save_Click);
     //
     // toolStripMenuItem_Delete
     //
     this.toolStripMenuItem_Delete.Image = global::iRuler.Properties.Resources.ToolbarDelete;
     this.toolStripMenuItem_Delete.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_Delete.Name = "toolStripMenuItem_Delete";
     this.toolStripMenuItem_Delete.Size = new System.Drawing.Size(144, 22);
     this.toolStripMenuItem_Delete.Text = "&Delete";
     this.toolStripMenuItem_Delete.Click += new System.EventHandler(this.toolStripMenuItem_Delete_Click);
     //
     // toolStripMenuItem_CheckSyntax
     //
     this.toolStripMenuItem_CheckSyntax.Image = global::iRuler.Properties.Resources.ToolbarCheckSyntax;
     this.toolStripMenuItem_CheckSyntax.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_CheckSyntax.Name = "toolStripMenuItem_CheckSyntax";
     this.toolStripMenuItem_CheckSyntax.Size = new System.Drawing.Size(144, 22);
     this.toolStripMenuItem_CheckSyntax.Text = "&Check Syntax";
     this.toolStripMenuItem_CheckSyntax.Click += new System.EventHandler(this.toolStripMenuItem_CheckSyntax_Click);
     //
     // toolStripMenuItem_Share
     //
     this.toolStripMenuItem_Share.Image = global::iRuler.Properties.Resources.ToolbarShare;
     this.toolStripMenuItem_Share.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_Share.Name = "toolStripMenuItem_Share";
     this.toolStripMenuItem_Share.Size = new System.Drawing.Size(144, 22);
     this.toolStripMenuItem_Share.Text = "S&hare";
     this.toolStripMenuItem_Share.Click += new System.EventHandler(this.toolStripMenuItem_Share_Click);
     //
     // toolStripMenuItem_Reset
     //
     this.toolStripMenuItem_Reset.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_Reset.Name = "toolStripMenuItem_Reset";
     this.toolStripMenuItem_Reset.Size = new System.Drawing.Size(144, 22);
     this.toolStripMenuItem_Reset.Text = "&Reset";
     this.toolStripMenuItem_Reset.Click += new System.EventHandler(this.toolStripMenuItem_Reset_Click);
     //
     // toolStripMenuItem_Reload
     //
     this.toolStripMenuItem_Reload.Name = "toolStripMenuItem_Reload";
     this.toolStripMenuItem_Reload.Size = new System.Drawing.Size(144, 22);
     this.toolStripMenuItem_Reload.Text = "Re&load";
     this.toolStripMenuItem_Reload.Click += new System.EventHandler(this.toolStripMenuItem_Reload_Click);
     //
     // toolStripMenuItem_CopyOffline
     //
     this.toolStripMenuItem_CopyOffline.Image = global::iRuler.Properties.Resources.ToolbarConnect;
     this.toolStripMenuItem_CopyOffline.Name = "toolStripMenuItem_CopyOffline";
     this.toolStripMenuItem_CopyOffline.Size = new System.Drawing.Size(144, 22);
     this.toolStripMenuItem_CopyOffline.Text = "Copy &Offline";
     this.toolStripMenuItem_CopyOffline.Click += new System.EventHandler(this.toolStripMenuItem_CopyOffline_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(141, 6);
     //
     // toolStripMenuItem_Properties
     //
     this.toolStripMenuItem_Properties.Image = global::iRuler.Properties.Resources.ToolbarProperties;
     this.toolStripMenuItem_Properties.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_Properties.Name = "toolStripMenuItem_Properties";
     this.toolStripMenuItem_Properties.Size = new System.Drawing.Size(144, 22);
     this.toolStripMenuItem_Properties.Text = "&Properties";
     this.toolStripMenuItem_Properties.Click += new System.EventHandler(this.toolStripMenuItem_Properties_Click);
     //
     // imageList_TreeView
     //
     this.imageList_TreeView.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList_TreeView.ImageStream")));
     this.imageList_TreeView.TransparentColor = System.Drawing.Color.Magenta;
     this.imageList_TreeView.Images.SetKeyName(0, "Toolbar-iRule.bmp");
     this.imageList_TreeView.Images.SetKeyName(1, "Toolbar-LocalLB.bmp");
     this.imageList_TreeView.Images.SetKeyName(2, "Toolbar-GlobalLB.bmp");
     this.imageList_TreeView.Images.SetKeyName(3, "Toolbar-Document.bmp");
     this.imageList_TreeView.Images.SetKeyName(4, "Toolbar-Config.bmp");
     this.imageList_TreeView.Images.SetKeyName(5, "Toolbar-Connect.bmp");
     //
     // panel_TreeView
     //
     this.panel_TreeView.Controls.Add(this.treeView_iRules);
     this.panel_TreeView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel_TreeView.Location = new System.Drawing.Point(0, 29);
     this.panel_TreeView.Name = "panel_TreeView";
     this.panel_TreeView.Size = new System.Drawing.Size(140, 522);
     this.panel_TreeView.TabIndex = 4;
     //
     // m_textEditor
     //
     this.m_textEditor.AnchorPosition = 0;
     this.m_textEditor.BackSpaceUnIndents = false;
     this.m_textEditor.BufferedDraw = true;
     this.m_textEditor.CaretForeground = 0;
     this.m_textEditor.CaretLineBackground = 65535;
     this.m_textEditor.CaretLineVisible = false;
     this.m_textEditor.CaretPeriod = 500;
     this.m_textEditor.CaretWidth = 1;
     this.m_textEditor.CodePage = 0;
     this.m_textEditor.Configuration = null;
     this.m_textEditor.ConfigurationLanguage = "";
     this.m_textEditor.ControlCharSymbol = 0;
     this.m_textEditor.CurrentPos = 0;
     this.m_textEditor.CursorType = -1;
     this.m_textEditor.Dock = System.Windows.Forms.DockStyle.Fill;
     this.m_textEditor.EdgeColour = 12632256;
     this.m_textEditor.EdgeColumn = 0;
     this.m_textEditor.EdgeMode = 0;
     this.m_textEditor.EndAtLastLine = true;
     this.m_textEditor.EOLCharactersVisible = false;
     this.m_textEditor.EOLMode = 0;
     this.m_textEditor.focus = false;
     this.m_textEditor.Font = new System.Drawing.Font("Lucida Console", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.m_textEditor.HighlightGuide = 0;
     this.m_textEditor.HorizontalScrollBarVisible = true;
     this.m_textEditor.Indent = 0;
     this.m_textEditor.IndentationGuidesVisible = false;
     this.m_textEditor.LayoutCache = 1;
     this.m_textEditor.Lexer = scintilla.Lexer.container;
     this.m_textEditor.LexerLanguage = null;
     this.m_textEditor.Location = new System.Drawing.Point(0, 0);
     this.m_textEditor.MarginLeft = 0;
     this.m_textEditor.MarginRight = 0;
     this.m_textEditor.ModEventMask = 3959;
     this.m_textEditor.MouseDownCaptures = true;
     this.m_textEditor.MouseDwellTime = 10000000;
     this.m_textEditor.Name = "m_textEditor";
     this.m_textEditor.Overtype = false;
     this.m_textEditor.PrintColourMode = 0;
     this.m_textEditor.PrintMagnification = 0;
     this.m_textEditor.PrintWrapMode = 1;
     this.m_textEditor.ReadOnly = false;
     this.m_textEditor.ScrollWidth = 2000;
     this.m_textEditor.SearchFlags = 0;
     this.m_textEditor.SelectionEnd = 0;
     this.m_textEditor.SelectionStart = 0;
     this.m_textEditor.Size = new System.Drawing.Size(516, 506);
     this.m_textEditor.Status = 0;
     this.m_textEditor.StyleBits = 5;
     this.m_textEditor.TabIndents = true;
     this.m_textEditor.TabIndex = 0;
     this.m_textEditor.TabWidth = 4;
     this.m_textEditor.TargetEnd = 0;
     this.m_textEditor.TargetStart = 0;
     this.m_textEditor.UsePalette = false;
     this.m_textEditor.UseTabs = true;
     this.m_textEditor.VerticalScrollBarVisible = true;
     this.m_textEditor.WhitespaceVisibleState = 0;
     this.m_textEditor.WrapMode = 0;
     this.m_textEditor.XOffset = 0;
     this.m_textEditor.ZoomLevel = 0;
     this.m_textEditor.HotSpotClick += new scintilla.HotSpotClickHandler(this.m_textEditor_HotSpotClick);
     this.m_textEditor.DwellStart += new scintilla.DwellStartHandler(this.m_textEditor_DwellStart);
     this.m_textEditor.MarginClick += new scintilla.MarginClickHandler(this.m_textEditor_MarginClick);
     this.m_textEditor.Modified += new scintilla.ModifiedHandler(this.m_textEditor_Modified);
     this.m_textEditor.UpdateUI += new scintilla.UpdateUIHandler(this.m_textEditor_UpdateUI);
     this.m_textEditor.CharAdded += new scintilla.CharAddedHandler(this.m_textEditor_CharAdded);
     //
     // textBox_Status
     //
     this.textBox_Status.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textBox_Status.Cursor = System.Windows.Forms.Cursors.Arrow;
     this.textBox_Status.Dock = System.Windows.Forms.DockStyle.Fill;
     this.textBox_Status.Location = new System.Drawing.Point(0, 0);
     this.textBox_Status.Name = "textBox_Status";
     this.textBox_Status.ReadOnly = true;
     this.textBox_Status.Size = new System.Drawing.Size(516, 41);
     this.textBox_Status.TabIndex = 0;
     this.textBox_Status.Text = "Disconnected";
     this.textBox_Status.MouseClick += new System.Windows.Forms.MouseEventHandler(this.textBox_Status_MouseClick);
     //
     // panel_Top
     //
     this.panel_Top.BackColor = System.Drawing.SystemColors.Control;
     this.panel_Top.Controls.Add(this.menuStrip1);
     this.panel_Top.Controls.Add(this.toolStrip1);
     this.panel_Top.Dock = System.Windows.Forms.DockStyle.Top;
     this.panel_Top.Location = new System.Drawing.Point(0, 0);
     this.panel_Top.Name = "panel_Top";
     this.panel_Top.Size = new System.Drawing.Size(660, 51);
     this.panel_Top.TabIndex = 8;
     this.panel_Top.Paint += new System.Windows.Forms.PaintEventHandler(this.panel_Top_Paint);
     //
     // menuStrip1
     //
     this.menuStrip1.BackColor = System.Drawing.SystemColors.Control;
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem_File,
     this.toolStripMenuItem_Edit,
     this.toolStripMenuItem_Search,
     this.toolStripMenuItem_View,
     this.toolStripMenuItem_Tools,
     this.toolStripMenuItem_Help});
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name = "menuStrip1";
     this.menuStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
     this.menuStrip1.Size = new System.Drawing.Size(660, 24);
     this.menuStrip1.TabIndex = 7;
     this.menuStrip1.Text = "menuStrip1";
     //
     // toolStripMenuItem_File
     //
     this.toolStripMenuItem_File.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem_FileConnect,
     this.toolStripMenuItem_FilePartition,
     this.ToolStripMenuItem_FileFolder,
     this.toolStripMenuItem_FileNew,
     this.toolStripMenuItem_FileSave,
     this.toolStripMenuItem_FileSaveAll,
     this.toolStripMenuItem_FileDelete,
     this.toolStripSeparator4,
     this.toolStripMenuItem_FileArchive,
     this.toolStripSeparator5,
     this.toolStripMenuItem_Exit});
     this.toolStripMenuItem_File.Name = "toolStripMenuItem_File";
     this.toolStripMenuItem_File.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F)));
     this.toolStripMenuItem_File.Size = new System.Drawing.Size(37, 20);
     this.toolStripMenuItem_File.Text = "&File";
     //
     // toolStripMenuItem_FileConnect
     //
     this.toolStripMenuItem_FileConnect.Image = global::iRuler.Properties.Resources.ToolbarConnect;
     this.toolStripMenuItem_FileConnect.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_FileConnect.Name = "toolStripMenuItem_FileConnect";
     this.toolStripMenuItem_FileConnect.ShortcutKeys = System.Windows.Forms.Keys.F5;
     this.toolStripMenuItem_FileConnect.Size = new System.Drawing.Size(141, 22);
     this.toolStripMenuItem_FileConnect.Text = "&Connect";
     this.toolStripMenuItem_FileConnect.Click += new System.EventHandler(this.toolStripMenuItem_FileConnect_Click);
     //
     // toolStripMenuItem_FilePartition
     //
     this.toolStripMenuItem_FilePartition.Enabled = false;
     this.toolStripMenuItem_FilePartition.Name = "toolStripMenuItem_FilePartition";
     this.toolStripMenuItem_FilePartition.Size = new System.Drawing.Size(141, 22);
     this.toolStripMenuItem_FilePartition.Text = "&Partition";
     //
     // ToolStripMenuItem_FileFolder
     //
     this.ToolStripMenuItem_FileFolder.Enabled = false;
     this.ToolStripMenuItem_FileFolder.Name = "ToolStripMenuItem_FileFolder";
     this.ToolStripMenuItem_FileFolder.Size = new System.Drawing.Size(141, 22);
     this.ToolStripMenuItem_FileFolder.Text = "&Folder";
     this.ToolStripMenuItem_FileFolder.Visible = false;
     //
     // toolStripMenuItem_FileNew
     //
     this.toolStripMenuItem_FileNew.Image = global::iRuler.Properties.Resources.ToolbarNew;
     this.toolStripMenuItem_FileNew.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_FileNew.Name = "toolStripMenuItem_FileNew";
     this.toolStripMenuItem_FileNew.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N)));
     this.toolStripMenuItem_FileNew.Size = new System.Drawing.Size(141, 22);
     this.toolStripMenuItem_FileNew.Text = "&New";
     this.toolStripMenuItem_FileNew.Click += new System.EventHandler(this.toolStripMenuItem_FileNew_Click);
     //
     // toolStripMenuItem_FileSave
     //
     this.toolStripMenuItem_FileSave.Image = global::iRuler.Properties.Resources.ToolbarSave;
     this.toolStripMenuItem_FileSave.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_FileSave.Name = "toolStripMenuItem_FileSave";
     this.toolStripMenuItem_FileSave.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
     this.toolStripMenuItem_FileSave.Size = new System.Drawing.Size(141, 22);
     this.toolStripMenuItem_FileSave.Text = "&Save";
     this.toolStripMenuItem_FileSave.Click += new System.EventHandler(this.toolStripMenuItem_FileSave_Click);
     //
     // toolStripMenuItem_FileSaveAll
     //
     this.toolStripMenuItem_FileSaveAll.Image = global::iRuler.Properties.Resources.ToolbarSaveAll;
     this.toolStripMenuItem_FileSaveAll.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_FileSaveAll.Name = "toolStripMenuItem_FileSaveAll";
     this.toolStripMenuItem_FileSaveAll.Size = new System.Drawing.Size(141, 22);
     this.toolStripMenuItem_FileSaveAll.Text = "Save &All";
     this.toolStripMenuItem_FileSaveAll.Click += new System.EventHandler(this.toolStripMenuItem_FileSaveAll_Click);
     //
     // toolStripMenuItem_FileDelete
     //
     this.toolStripMenuItem_FileDelete.Image = global::iRuler.Properties.Resources.ToolbarDelete;
     this.toolStripMenuItem_FileDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_FileDelete.Name = "toolStripMenuItem_FileDelete";
     this.toolStripMenuItem_FileDelete.Size = new System.Drawing.Size(141, 22);
     this.toolStripMenuItem_FileDelete.Text = "&Delete";
     this.toolStripMenuItem_FileDelete.Click += new System.EventHandler(this.toolStripMenuItem_FileDelete_Click);
     //
     // toolStripSeparator4
     //
     this.toolStripSeparator4.Name = "toolStripSeparator4";
     this.toolStripSeparator4.Size = new System.Drawing.Size(138, 6);
     //
     // toolStripMenuItem_FileArchive
     //
     this.toolStripMenuItem_FileArchive.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem_FileArchiveExport,
     this.toolStripMenuItem_FileArchiveImport,
     this.toolStripMenuItem_FileArchiveOpen,
     this.toolStripMenuItem_FileArchiveSetLocation});
     this.toolStripMenuItem_FileArchive.Image = global::iRuler.Properties.Resources.ToolbarArchive;
     this.toolStripMenuItem_FileArchive.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_FileArchive.Name = "toolStripMenuItem_FileArchive";
     this.toolStripMenuItem_FileArchive.Size = new System.Drawing.Size(141, 22);
     this.toolStripMenuItem_FileArchive.Text = "A&rchive";
     //
     // toolStripMenuItem_FileArchiveExport
     //
     this.toolStripMenuItem_FileArchiveExport.Name = "toolStripMenuItem_FileArchiveExport";
     this.toolStripMenuItem_FileArchiveExport.Size = new System.Drawing.Size(227, 22);
     this.toolStripMenuItem_FileArchiveExport.Text = "&Export";
     this.toolStripMenuItem_FileArchiveExport.Click += new System.EventHandler(this.toolStripMenuItem_FileArchiveExport_Click);
     //
     // toolStripMenuItem_FileArchiveImport
     //
     this.toolStripMenuItem_FileArchiveImport.Name = "toolStripMenuItem_FileArchiveImport";
     this.toolStripMenuItem_FileArchiveImport.Size = new System.Drawing.Size(227, 22);
     this.toolStripMenuItem_FileArchiveImport.Text = "&Import";
     this.toolStripMenuItem_FileArchiveImport.Click += new System.EventHandler(this.toolStripMenuItem_FileArchiveImport_Click);
     //
     // toolStripMenuItem_FileArchiveOpen
     //
     this.toolStripMenuItem_FileArchiveOpen.Image = global::iRuler.Properties.Resources.ToolbarFolder;
     this.toolStripMenuItem_FileArchiveOpen.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_FileArchiveOpen.Name = "toolStripMenuItem_FileArchiveOpen";
     this.toolStripMenuItem_FileArchiveOpen.Size = new System.Drawing.Size(227, 22);
     this.toolStripMenuItem_FileArchiveOpen.Text = "&Open Archive Folder";
     this.toolStripMenuItem_FileArchiveOpen.Click += new System.EventHandler(this.toolStripMenuItem_FileArchiveOpen_Click);
     //
     // toolStripMenuItem_FileArchiveSetLocation
     //
     this.toolStripMenuItem_FileArchiveSetLocation.Name = "toolStripMenuItem_FileArchiveSetLocation";
     this.toolStripMenuItem_FileArchiveSetLocation.Size = new System.Drawing.Size(227, 22);
     this.toolStripMenuItem_FileArchiveSetLocation.Text = "&Set Archive Folder Location...";
     this.toolStripMenuItem_FileArchiveSetLocation.Click += new System.EventHandler(this.toolStripMenuItem_FileArchiveSetLocation_Click);
     //
     // toolStripSeparator5
     //
     this.toolStripSeparator5.Name = "toolStripSeparator5";
     this.toolStripSeparator5.Size = new System.Drawing.Size(138, 6);
     //
     // toolStripMenuItem_Exit
     //
     this.toolStripMenuItem_Exit.Name = "toolStripMenuItem_Exit";
     this.toolStripMenuItem_Exit.Size = new System.Drawing.Size(141, 22);
     this.toolStripMenuItem_Exit.Text = "E&xit";
     this.toolStripMenuItem_Exit.Click += new System.EventHandler(this.toolStripMenuItem_Exit_Click);
     //
     // toolStripMenuItem_Edit
     //
     this.toolStripMenuItem_Edit.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem_EditUndo,
     this.toolStripMenuItem_EditRedo,
     this.toolStripSeparator6,
     this.toolStripMenuItem_EditCut,
     this.toolStripMenuItem_EditCopy,
     this.toolStripMenuItem_EditPaste,
     this.toolStripMenuItem_EditDelete,
     this.toolStripSeparator7,
     this.toolStripMenuItem_EditSelectAll});
     this.toolStripMenuItem_Edit.Name = "toolStripMenuItem_Edit";
     this.toolStripMenuItem_Edit.Size = new System.Drawing.Size(39, 20);
     this.toolStripMenuItem_Edit.Text = "&Edit";
     //
     // toolStripMenuItem_EditUndo
     //
     this.toolStripMenuItem_EditUndo.Image = global::iRuler.Properties.Resources.ToolbarUndo;
     this.toolStripMenuItem_EditUndo.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_EditUndo.Name = "toolStripMenuItem_EditUndo";
     this.toolStripMenuItem_EditUndo.Size = new System.Drawing.Size(122, 22);
     this.toolStripMenuItem_EditUndo.Text = "&Undo";
     this.toolStripMenuItem_EditUndo.Click += new System.EventHandler(this.toolStripMenuItem_EditUndo_Click);
     //
     // toolStripMenuItem_EditRedo
     //
     this.toolStripMenuItem_EditRedo.Image = global::iRuler.Properties.Resources.ToolbarRedo;
     this.toolStripMenuItem_EditRedo.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_EditRedo.Name = "toolStripMenuItem_EditRedo";
     this.toolStripMenuItem_EditRedo.Size = new System.Drawing.Size(122, 22);
     this.toolStripMenuItem_EditRedo.Text = "&Redo";
     this.toolStripMenuItem_EditRedo.Click += new System.EventHandler(this.toolStripMenuItem_EditRedo_Click);
     //
     // toolStripSeparator6
     //
     this.toolStripSeparator6.Name = "toolStripSeparator6";
     this.toolStripSeparator6.Size = new System.Drawing.Size(119, 6);
     //
     // toolStripMenuItem_EditCut
     //
     this.toolStripMenuItem_EditCut.Image = global::iRuler.Properties.Resources.ToolbarCut;
     this.toolStripMenuItem_EditCut.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_EditCut.Name = "toolStripMenuItem_EditCut";
     this.toolStripMenuItem_EditCut.Size = new System.Drawing.Size(122, 22);
     this.toolStripMenuItem_EditCut.Text = "&Cut";
     this.toolStripMenuItem_EditCut.Click += new System.EventHandler(this.toolStripMenuItem_EditCut_Click);
     //
     // toolStripMenuItem_EditCopy
     //
     this.toolStripMenuItem_EditCopy.Image = global::iRuler.Properties.Resources.ToolbarCopy;
     this.toolStripMenuItem_EditCopy.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_EditCopy.Name = "toolStripMenuItem_EditCopy";
     this.toolStripMenuItem_EditCopy.Size = new System.Drawing.Size(122, 22);
     this.toolStripMenuItem_EditCopy.Text = "&Copy";
     this.toolStripMenuItem_EditCopy.Click += new System.EventHandler(this.toolStripMenuItem_EditCopy_Click);
     //
     // toolStripMenuItem_EditPaste
     //
     this.toolStripMenuItem_EditPaste.Image = global::iRuler.Properties.Resources.ToolbarPaste;
     this.toolStripMenuItem_EditPaste.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_EditPaste.Name = "toolStripMenuItem_EditPaste";
     this.toolStripMenuItem_EditPaste.Size = new System.Drawing.Size(122, 22);
     this.toolStripMenuItem_EditPaste.Text = "&Paste";
     this.toolStripMenuItem_EditPaste.Click += new System.EventHandler(this.toolStripMenuItem_EditPaste_Click);
     //
     // toolStripMenuItem_EditDelete
     //
     this.toolStripMenuItem_EditDelete.Image = global::iRuler.Properties.Resources.ToolbarDelete;
     this.toolStripMenuItem_EditDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_EditDelete.Name = "toolStripMenuItem_EditDelete";
     this.toolStripMenuItem_EditDelete.Size = new System.Drawing.Size(122, 22);
     this.toolStripMenuItem_EditDelete.Text = "&Delete";
     this.toolStripMenuItem_EditDelete.Click += new System.EventHandler(this.toolStripMenuItem_EditDelete_Click);
     //
     // toolStripSeparator7
     //
     this.toolStripSeparator7.Name = "toolStripSeparator7";
     this.toolStripSeparator7.Size = new System.Drawing.Size(119, 6);
     //
     // toolStripMenuItem_EditSelectAll
     //
     this.toolStripMenuItem_EditSelectAll.Name = "toolStripMenuItem_EditSelectAll";
     this.toolStripMenuItem_EditSelectAll.Size = new System.Drawing.Size(122, 22);
     this.toolStripMenuItem_EditSelectAll.Text = "Select &All";
     this.toolStripMenuItem_EditSelectAll.Click += new System.EventHandler(this.toolStripMenuItem_EditSelectAll_Click);
     //
     // toolStripMenuItem_Search
     //
     this.toolStripMenuItem_Search.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem_SearchFind,
     this.toolStripMenuItem_SearchFindNext,
     this.toolStripMenuItem_SearchFindPrevious});
     this.toolStripMenuItem_Search.Name = "toolStripMenuItem_Search";
     this.toolStripMenuItem_Search.Size = new System.Drawing.Size(54, 20);
     this.toolStripMenuItem_Search.Text = "&Search";
     //
     // toolStripMenuItem_SearchFind
     //
     this.toolStripMenuItem_SearchFind.Image = global::iRuler.Properties.Resources.ToolbarFind;
     this.toolStripMenuItem_SearchFind.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_SearchFind.Name = "toolStripMenuItem_SearchFind";
     this.toolStripMenuItem_SearchFind.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F)));
     this.toolStripMenuItem_SearchFind.Size = new System.Drawing.Size(196, 22);
     this.toolStripMenuItem_SearchFind.Text = "&Find...";
     this.toolStripMenuItem_SearchFind.Click += new System.EventHandler(this.toolStripMenuItem_SearchFind_Click);
     //
     // toolStripMenuItem_SearchFindNext
     //
     this.toolStripMenuItem_SearchFindNext.Name = "toolStripMenuItem_SearchFindNext";
     this.toolStripMenuItem_SearchFindNext.ShortcutKeys = System.Windows.Forms.Keys.F3;
     this.toolStripMenuItem_SearchFindNext.Size = new System.Drawing.Size(196, 22);
     this.toolStripMenuItem_SearchFindNext.Text = "Find &Next";
     this.toolStripMenuItem_SearchFindNext.Click += new System.EventHandler(this.toolStripMenuItem_SearchFindNext_Click);
     //
     // toolStripMenuItem_SearchFindPrevious
     //
     this.toolStripMenuItem_SearchFindPrevious.Name = "toolStripMenuItem_SearchFindPrevious";
     this.toolStripMenuItem_SearchFindPrevious.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.F3)));
     this.toolStripMenuItem_SearchFindPrevious.Size = new System.Drawing.Size(196, 22);
     this.toolStripMenuItem_SearchFindPrevious.Text = "Find Previou&s";
     this.toolStripMenuItem_SearchFindPrevious.Click += new System.EventHandler(this.toolStripMenuItem_SearchFindPrevious_Click);
     //
     // toolStripMenuItem_View
     //
     this.toolStripMenuItem_View.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem_ViewLineNumbers,
     this.toolStripMenuItem_ViewIndentionGuides,
     this.toolStripMenuItem_ViewMargin,
     this.toolStripMenuItem_ViewFoldMargin,
     this.toolStripMenuItem_ViewWordWrap,
     this.toolStripMenuItem_ViewWhiteSpace,
     this.toolStripMenuItem_ViewEndOfLine,
     this.toolStripMenuItem_ViewBookmarks,
     this.ToolStripMenuItem_ViewChangeIndentionSettings,
     this.toolStripSeparator8,
     this.toolStripMenuItem_ViewAutoComplete,
     this.toolStripMenuItem_ViewHotspots,
     this.toolStripSeparator9,
     this.toolStripMenuItem_ViewStatus,
     this.toolStripMenuItem_ShowSplashScreen});
     this.toolStripMenuItem_View.Name = "toolStripMenuItem_View";
     this.toolStripMenuItem_View.Size = new System.Drawing.Size(44, 20);
     this.toolStripMenuItem_View.Text = "&View";
     //
     // toolStripMenuItem_ViewLineNumbers
     //
     this.toolStripMenuItem_ViewLineNumbers.Name = "toolStripMenuItem_ViewLineNumbers";
     this.toolStripMenuItem_ViewLineNumbers.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L)));
     this.toolStripMenuItem_ViewLineNumbers.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewLineNumbers.Text = "&Line Numbers";
     this.toolStripMenuItem_ViewLineNumbers.Click += new System.EventHandler(this.toolStripMenuItem_ViewLineNumbers_Click);
     //
     // toolStripMenuItem_ViewIndentionGuides
     //
     this.toolStripMenuItem_ViewIndentionGuides.Name = "toolStripMenuItem_ViewIndentionGuides";
     this.toolStripMenuItem_ViewIndentionGuides.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.I)));
     this.toolStripMenuItem_ViewIndentionGuides.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewIndentionGuides.Text = "&Indention Guides";
     this.toolStripMenuItem_ViewIndentionGuides.Click += new System.EventHandler(this.toolStripMenuItem_ViewIndentionGuides_Click);
     //
     // toolStripMenuItem_ViewMargin
     //
     this.toolStripMenuItem_ViewMargin.Name = "toolStripMenuItem_ViewMargin";
     this.toolStripMenuItem_ViewMargin.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M)));
     this.toolStripMenuItem_ViewMargin.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewMargin.Text = "&Margin";
     this.toolStripMenuItem_ViewMargin.Click += new System.EventHandler(this.toolStripMenuItem_ViewMargin_Click);
     //
     // toolStripMenuItem_ViewFoldMargin
     //
     this.toolStripMenuItem_ViewFoldMargin.Name = "toolStripMenuItem_ViewFoldMargin";
     this.toolStripMenuItem_ViewFoldMargin.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
     this.toolStripMenuItem_ViewFoldMargin.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewFoldMargin.Text = "&Fold Margin";
     this.toolStripMenuItem_ViewFoldMargin.Click += new System.EventHandler(this.toolStripMenuItem_ViewFoldMargin_Click);
     //
     // toolStripMenuItem_ViewWordWrap
     //
     this.toolStripMenuItem_ViewWordWrap.Name = "toolStripMenuItem_ViewWordWrap";
     this.toolStripMenuItem_ViewWordWrap.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W)));
     this.toolStripMenuItem_ViewWordWrap.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewWordWrap.Text = "Word W&rap";
     this.toolStripMenuItem_ViewWordWrap.Click += new System.EventHandler(this.toolStripMenuItem_ViewWordWrap_Click);
     //
     // toolStripMenuItem_ViewWhiteSpace
     //
     this.toolStripMenuItem_ViewWhiteSpace.Name = "toolStripMenuItem_ViewWhiteSpace";
     this.toolStripMenuItem_ViewWhiteSpace.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewWhiteSpace.Text = "&Whitespace";
     this.toolStripMenuItem_ViewWhiteSpace.Click += new System.EventHandler(this.toolStripMenuItem_ViewWhiteSpace_Click);
     //
     // toolStripMenuItem_ViewEndOfLine
     //
     this.toolStripMenuItem_ViewEndOfLine.Name = "toolStripMenuItem_ViewEndOfLine";
     this.toolStripMenuItem_ViewEndOfLine.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewEndOfLine.Text = "&End of Line";
     this.toolStripMenuItem_ViewEndOfLine.Click += new System.EventHandler(this.toolStripMenuItem_ViewEndOfLine_Click);
     //
     // toolStripMenuItem_ViewBookmarks
     //
     this.toolStripMenuItem_ViewBookmarks.Name = "toolStripMenuItem_ViewBookmarks";
     this.toolStripMenuItem_ViewBookmarks.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewBookmarks.Text = "&Bookmarks";
     this.toolStripMenuItem_ViewBookmarks.Click += new System.EventHandler(this.toolStripMenuItem_ViewBookmarks_Click);
     //
     // ToolStripMenuItem_ViewChangeIndentionSettings
     //
     this.ToolStripMenuItem_ViewChangeIndentionSettings.Name = "ToolStripMenuItem_ViewChangeIndentionSettings";
     this.ToolStripMenuItem_ViewChangeIndentionSettings.Size = new System.Drawing.Size(223, 22);
     this.ToolStripMenuItem_ViewChangeIndentionSettings.Text = "Change I&ndention Settings...";
     this.ToolStripMenuItem_ViewChangeIndentionSettings.Click += new System.EventHandler(this.ToolStripMenuItem_ViewChangeIndentionSettings_Click);
     //
     // toolStripSeparator8
     //
     this.toolStripSeparator8.Name = "toolStripSeparator8";
     this.toolStripSeparator8.Size = new System.Drawing.Size(220, 6);
     //
     // toolStripMenuItem_ViewAutoComplete
     //
     this.toolStripMenuItem_ViewAutoComplete.Name = "toolStripMenuItem_ViewAutoComplete";
     this.toolStripMenuItem_ViewAutoComplete.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewAutoComplete.Text = "&Auto Complete";
     this.toolStripMenuItem_ViewAutoComplete.Click += new System.EventHandler(this.toolStripMenuItem_ViewAutoComplete_Click);
     //
     // toolStripMenuItem_ViewHotspots
     //
     this.toolStripMenuItem_ViewHotspots.Name = "toolStripMenuItem_ViewHotspots";
     this.toolStripMenuItem_ViewHotspots.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)));
     this.toolStripMenuItem_ViewHotspots.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewHotspots.Text = "&Hotspots";
     this.toolStripMenuItem_ViewHotspots.Click += new System.EventHandler(this.toolStripMenuItem_ViewHotspots_Click);
     //
     // toolStripSeparator9
     //
     this.toolStripSeparator9.Name = "toolStripSeparator9";
     this.toolStripSeparator9.Size = new System.Drawing.Size(220, 6);
     //
     // toolStripMenuItem_ViewStatus
     //
     this.toolStripMenuItem_ViewStatus.Name = "toolStripMenuItem_ViewStatus";
     this.toolStripMenuItem_ViewStatus.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T)));
     this.toolStripMenuItem_ViewStatus.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ViewStatus.Text = "&Status";
     this.toolStripMenuItem_ViewStatus.Click += new System.EventHandler(this.toolStripMenuItem_ViewStatus_Click);
     //
     // toolStripMenuItem_ShowSplashScreen
     //
     this.toolStripMenuItem_ShowSplashScreen.Name = "toolStripMenuItem_ShowSplashScreen";
     this.toolStripMenuItem_ShowSplashScreen.Size = new System.Drawing.Size(223, 22);
     this.toolStripMenuItem_ShowSplashScreen.Text = "S&how Splash Screen";
     this.toolStripMenuItem_ShowSplashScreen.Click += new System.EventHandler(this.toolStripMenuItem_ShowSplashScreen_Click);
     //
     // toolStripMenuItem_Tools
     //
     this.toolStripMenuItem_Tools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem_ToolsDataGroupEditor,
     this.toolStripMenuItem_ToolsLogViewer,
     this.toolStripMenuItem_ToolsShare,
     this.toolStripMenuItem_ToolsGenerateTraffic,
     this.toolStripSeparator10,
     this.toolStripMenuItem_ToolsCheckForUpdates,
     this.ToolStripMenuItem_ToolsConfig,
     this.ToolStripMenuItem_ToolsBIGIPConfig});
     this.toolStripMenuItem_Tools.Name = "toolStripMenuItem_Tools";
     this.toolStripMenuItem_Tools.Size = new System.Drawing.Size(48, 20);
     this.toolStripMenuItem_Tools.Text = "&Tools";
     //
     // toolStripMenuItem_ToolsDataGroupEditor
     //
     this.toolStripMenuItem_ToolsDataGroupEditor.Image = global::iRuler.Properties.Resources.ToolbarDataGroups;
     this.toolStripMenuItem_ToolsDataGroupEditor.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_ToolsDataGroupEditor.Name = "toolStripMenuItem_ToolsDataGroupEditor";
     this.toolStripMenuItem_ToolsDataGroupEditor.Size = new System.Drawing.Size(177, 22);
     this.toolStripMenuItem_ToolsDataGroupEditor.Text = "&Data Group Editor...";
     this.toolStripMenuItem_ToolsDataGroupEditor.Click += new System.EventHandler(this.toolStripMenuItem_ToolsDataGroupEditor_Click);
     //
     // toolStripMenuItem_ToolsLogViewer
     //
     this.toolStripMenuItem_ToolsLogViewer.Name = "toolStripMenuItem_ToolsLogViewer";
     this.toolStripMenuItem_ToolsLogViewer.Size = new System.Drawing.Size(177, 22);
     this.toolStripMenuItem_ToolsLogViewer.Text = "&Log Viewer...";
     this.toolStripMenuItem_ToolsLogViewer.Visible = false;
     this.toolStripMenuItem_ToolsLogViewer.Click += new System.EventHandler(this.toolStripMenuItem_ToolsLogViewer_Click);
     //
     // toolStripMenuItem_ToolsShare
     //
     this.toolStripMenuItem_ToolsShare.Image = global::iRuler.Properties.Resources.ToolbarShare;
     this.toolStripMenuItem_ToolsShare.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_ToolsShare.Name = "toolStripMenuItem_ToolsShare";
     this.toolStripMenuItem_ToolsShare.Size = new System.Drawing.Size(177, 22);
     this.toolStripMenuItem_ToolsShare.Text = "&Share your iRule...";
     this.toolStripMenuItem_ToolsShare.Click += new System.EventHandler(this.toolStripMenuItem_ToolsShare_Click);
     //
     // toolStripMenuItem_ToolsGenerateTraffic
     //
     this.toolStripMenuItem_ToolsGenerateTraffic.Image = global::iRuler.Properties.Resources.ToolbarTraffic;
     this.toolStripMenuItem_ToolsGenerateTraffic.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_ToolsGenerateTraffic.Name = "toolStripMenuItem_ToolsGenerateTraffic";
     this.toolStripMenuItem_ToolsGenerateTraffic.Size = new System.Drawing.Size(177, 22);
     this.toolStripMenuItem_ToolsGenerateTraffic.Text = "&Generate Traffic";
     this.toolStripMenuItem_ToolsGenerateTraffic.Click += new System.EventHandler(this.toolStripMenuItem_ToolsGenerateTraffic_Click);
     //
     // toolStripSeparator10
     //
     this.toolStripSeparator10.Name = "toolStripSeparator10";
     this.toolStripSeparator10.Size = new System.Drawing.Size(174, 6);
     //
     // toolStripMenuItem_ToolsCheckForUpdates
     //
     this.toolStripMenuItem_ToolsCheckForUpdates.Name = "toolStripMenuItem_ToolsCheckForUpdates";
     this.toolStripMenuItem_ToolsCheckForUpdates.Size = new System.Drawing.Size(177, 22);
     this.toolStripMenuItem_ToolsCheckForUpdates.Text = "&Check for Updates";
     this.toolStripMenuItem_ToolsCheckForUpdates.Click += new System.EventHandler(this.toolStripMenuItem_ToolsCheckForUpdates_Click);
     //
     // ToolStripMenuItem_ToolsConfig
     //
     this.ToolStripMenuItem_ToolsConfig.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripMenuItem_ToolsReloadConfig,
     this.toolStripMenuItem_ToolsResetConfig,
     this.ToolStripMenuItem_ToolsEditConfig});
     this.ToolStripMenuItem_ToolsConfig.Name = "ToolStripMenuItem_ToolsConfig";
     this.ToolStripMenuItem_ToolsConfig.Size = new System.Drawing.Size(177, 22);
     this.ToolStripMenuItem_ToolsConfig.Text = "Con&fig";
     //
     // toolStripMenuItem_ToolsReloadConfig
     //
     this.toolStripMenuItem_ToolsReloadConfig.Name = "toolStripMenuItem_ToolsReloadConfig";
     this.toolStripMenuItem_ToolsReloadConfig.Size = new System.Drawing.Size(149, 22);
     this.toolStripMenuItem_ToolsReloadConfig.Text = "&Reload Config";
     this.toolStripMenuItem_ToolsReloadConfig.Click += new System.EventHandler(this.toolStripMenuItem_ToolsReloadConfig_Click);
     //
     // toolStripMenuItem_ToolsResetConfig
     //
     this.toolStripMenuItem_ToolsResetConfig.Name = "toolStripMenuItem_ToolsResetConfig";
     this.toolStripMenuItem_ToolsResetConfig.Size = new System.Drawing.Size(149, 22);
     this.toolStripMenuItem_ToolsResetConfig.Text = "Rese&t Config";
     this.toolStripMenuItem_ToolsResetConfig.Click += new System.EventHandler(this.toolStripMenuItem_ToolsResetConfig_Click);
     //
     // ToolStripMenuItem_ToolsEditConfig
     //
     this.ToolStripMenuItem_ToolsEditConfig.Name = "ToolStripMenuItem_ToolsEditConfig";
     this.ToolStripMenuItem_ToolsEditConfig.Size = new System.Drawing.Size(149, 22);
     this.ToolStripMenuItem_ToolsEditConfig.Text = "&Edit Config";
     this.ToolStripMenuItem_ToolsEditConfig.Click += new System.EventHandler(this.ToolStripMenuItem_ToolsEditConfig_Click);
     //
     // ToolStripMenuItem_ToolsBIGIPConfig
     //
     this.ToolStripMenuItem_ToolsBIGIPConfig.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.ToolStripMenuItem_ToolsBIGIPConfigSaveConfig,
     this.ToolStripMenuItem_ToolsBIGIPConfigAutoSave});
     this.ToolStripMenuItem_ToolsBIGIPConfig.Name = "ToolStripMenuItem_ToolsBIGIPConfig";
     this.ToolStripMenuItem_ToolsBIGIPConfig.Size = new System.Drawing.Size(177, 22);
     this.ToolStripMenuItem_ToolsBIGIPConfig.Text = "&BIG-IP Config";
     //
     // ToolStripMenuItem_ToolsBIGIPConfigSaveConfig
     //
     this.ToolStripMenuItem_ToolsBIGIPConfigSaveConfig.Image = global::iRuler.Properties.Resources.ToolbarSaveAll;
     this.ToolStripMenuItem_ToolsBIGIPConfigSaveConfig.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.ToolStripMenuItem_ToolsBIGIPConfigSaveConfig.Name = "ToolStripMenuItem_ToolsBIGIPConfigSaveConfig";
     this.ToolStripMenuItem_ToolsBIGIPConfigSaveConfig.Size = new System.Drawing.Size(175, 22);
     this.ToolStripMenuItem_ToolsBIGIPConfigSaveConfig.Text = "&Save Configuration";
     this.ToolStripMenuItem_ToolsBIGIPConfigSaveConfig.Click += new System.EventHandler(this.ToolStripMenuItem_ToolsBIGIPConfigSaveConfig_Click);
     //
     // ToolStripMenuItem_ToolsBIGIPConfigAutoSave
     //
     this.ToolStripMenuItem_ToolsBIGIPConfigAutoSave.Name = "ToolStripMenuItem_ToolsBIGIPConfigAutoSave";
     this.ToolStripMenuItem_ToolsBIGIPConfigAutoSave.Size = new System.Drawing.Size(175, 22);
     this.ToolStripMenuItem_ToolsBIGIPConfigAutoSave.Text = "&Auto Save";
     this.ToolStripMenuItem_ToolsBIGIPConfigAutoSave.Click += new System.EventHandler(this.ToolStripMenuItem_ToolsBIGIPConfigAutoSave_Click);
     //
     // toolStripMenuItem_Help
     //
     this.toolStripMenuItem_Help.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripSeparator11,
     this.toolStripMenuItem_HelpiRuler,
     this.toolStripMenuItem_HelpDevCentral,
     this.toolStripMenuItem_HelpForums,
     this.toolStripMenuItem_HelpiRulesReference,
     this.toolStripMenuItem_HelpTCLReference,
     this.toolStripMenuItem_HelpTipOfTheDay,
     this.toolStripSeparator12,
     this.toolStripMenuItem_HelpAbout});
     this.toolStripMenuItem_Help.Name = "toolStripMenuItem_Help";
     this.toolStripMenuItem_Help.Size = new System.Drawing.Size(44, 20);
     this.toolStripMenuItem_Help.Text = "&Help";
     //
     // toolStripSeparator11
     //
     this.toolStripSeparator11.Name = "toolStripSeparator11";
     this.toolStripSeparator11.Size = new System.Drawing.Size(193, 6);
     //
     // toolStripMenuItem_HelpiRuler
     //
     this.toolStripMenuItem_HelpiRuler.Image = global::iRuler.Properties.Resources.ToolbarWebLink;
     this.toolStripMenuItem_HelpiRuler.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_HelpiRuler.Name = "toolStripMenuItem_HelpiRuler";
     this.toolStripMenuItem_HelpiRuler.ShortcutKeys = System.Windows.Forms.Keys.F1;
     this.toolStripMenuItem_HelpiRuler.Size = new System.Drawing.Size(196, 22);
     this.toolStripMenuItem_HelpiRuler.Text = "F5 iRule Editor Help";
     this.toolStripMenuItem_HelpiRuler.Click += new System.EventHandler(this.toolStripMenuItem_HelpiRuler_Click_1);
     //
     // toolStripMenuItem_HelpDevCentral
     //
     this.toolStripMenuItem_HelpDevCentral.Image = global::iRuler.Properties.Resources.ToolbarWebLink;
     this.toolStripMenuItem_HelpDevCentral.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_HelpDevCentral.Name = "toolStripMenuItem_HelpDevCentral";
     this.toolStripMenuItem_HelpDevCentral.Size = new System.Drawing.Size(196, 22);
     this.toolStripMenuItem_HelpDevCentral.Text = "&DevCentral.f5.com";
     this.toolStripMenuItem_HelpDevCentral.Click += new System.EventHandler(this.toolStripMenuItem_HelpDevCentral_Click);
     //
     // toolStripMenuItem_HelpForums
     //
     this.toolStripMenuItem_HelpForums.Image = global::iRuler.Properties.Resources.ToolbarWebLink;
     this.toolStripMenuItem_HelpForums.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_HelpForums.Name = "toolStripMenuItem_HelpForums";
     this.toolStripMenuItem_HelpForums.Size = new System.Drawing.Size(196, 22);
     this.toolStripMenuItem_HelpForums.Text = "DevCentral &Forums";
     this.toolStripMenuItem_HelpForums.Click += new System.EventHandler(this.toolStripMenuItem_HelpForums_Click);
     //
     // toolStripMenuItem_HelpiRulesReference
     //
     this.toolStripMenuItem_HelpiRulesReference.Image = global::iRuler.Properties.Resources.ToolbarWebLink;
     this.toolStripMenuItem_HelpiRulesReference.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_HelpiRulesReference.Name = "toolStripMenuItem_HelpiRulesReference";
     this.toolStripMenuItem_HelpiRulesReference.Size = new System.Drawing.Size(196, 22);
     this.toolStripMenuItem_HelpiRulesReference.Text = "iRules &Reference";
     this.toolStripMenuItem_HelpiRulesReference.Click += new System.EventHandler(this.toolStripMenuItem_HelpiRulesReference_Click);
     //
     // toolStripMenuItem_HelpTCLReference
     //
     this.toolStripMenuItem_HelpTCLReference.Image = global::iRuler.Properties.Resources.ToolbarWebLink;
     this.toolStripMenuItem_HelpTCLReference.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_HelpTCLReference.Name = "toolStripMenuItem_HelpTCLReference";
     this.toolStripMenuItem_HelpTCLReference.Size = new System.Drawing.Size(196, 22);
     this.toolStripMenuItem_HelpTCLReference.Text = "&TCL Reference";
     this.toolStripMenuItem_HelpTCLReference.Click += new System.EventHandler(this.toolStripMenuItem_HelpTCLReference_Click);
     //
     // toolStripMenuItem_HelpTipOfTheDay
     //
     this.toolStripMenuItem_HelpTipOfTheDay.Image = global::iRuler.Properties.Resources.ToolbarLightbulb;
     this.toolStripMenuItem_HelpTipOfTheDay.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripMenuItem_HelpTipOfTheDay.Name = "toolStripMenuItem_HelpTipOfTheDay";
     this.toolStripMenuItem_HelpTipOfTheDay.Size = new System.Drawing.Size(196, 22);
     this.toolStripMenuItem_HelpTipOfTheDay.Text = "Tip of the Day";
     this.toolStripMenuItem_HelpTipOfTheDay.Click += new System.EventHandler(this.toolStripMenuItem_HelpTipOfTheDay_Click);
     //
     // toolStripSeparator12
     //
     this.toolStripSeparator12.Name = "toolStripSeparator12";
     this.toolStripSeparator12.Size = new System.Drawing.Size(193, 6);
     //
     // toolStripMenuItem_HelpAbout
     //
     this.toolStripMenuItem_HelpAbout.Name = "toolStripMenuItem_HelpAbout";
     this.toolStripMenuItem_HelpAbout.Size = new System.Drawing.Size(196, 22);
     this.toolStripMenuItem_HelpAbout.Text = "&About F5 iRule Editor";
     this.toolStripMenuItem_HelpAbout.Click += new System.EventHandler(this.toolStripMenuItem_HelpAbout_Click);
     //
     // toolStrip1
     //
     this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.toolStripButton_Connect,
     this.toolStripSeparator1,
     this.toolStripButton_DataGroups,
     this.toolStripButton_GenerateTraffic,
     this.toolStripSeparator3,
     this.toolStripButton_DevCentral,
     this.toolStripButton_DevCentralForums,
     this.toolStripButton_Wiki,
     this.toolStripButton_TCL});
     this.toolStrip1.Location = new System.Drawing.Point(0, 24);
     this.toolStrip1.Name = "toolStrip1";
     this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
     this.toolStrip1.Size = new System.Drawing.Size(461, 25);
     this.toolStrip1.TabIndex = 0;
     //
     // toolStripButton_Connect
     //
     this.toolStripButton_Connect.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton_Connect.Image = global::iRuler.Properties.Resources.ToolbarConnect;
     this.toolStripButton_Connect.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton_Connect.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Connect.Name = "toolStripButton_Connect";
     this.toolStripButton_Connect.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton_Connect.Text = "Connect";
     this.toolStripButton_Connect.Click += new System.EventHandler(this.toolStripButton_Connect_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripButton_DataGroups
     //
     this.toolStripButton_DataGroups.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton_DataGroups.Image = global::iRuler.Properties.Resources.ToolbarDataGroups;
     this.toolStripButton_DataGroups.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
     this.toolStripButton_DataGroups.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_DataGroups.Name = "toolStripButton_DataGroups";
     this.toolStripButton_DataGroups.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton_DataGroups.Text = "Open the Data Group Editor";
     this.toolStripButton_DataGroups.Click += new System.EventHandler(this.toolStripButton_DataGroups_Click);
     //
     // toolStripButton_GenerateTraffic
     //
     this.toolStripButton_GenerateTraffic.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton_GenerateTraffic.Image = global::iRuler.Properties.Resources.ToolbarTraffic;
     this.toolStripButton_GenerateTraffic.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_GenerateTraffic.Name = "toolStripButton_GenerateTraffic";
     this.toolStripButton_GenerateTraffic.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton_GenerateTraffic.Text = "Open the Traffic Generation Dialog";
     this.toolStripButton_GenerateTraffic.Click += new System.EventHandler(this.toolStripButton_GenerateTraffic_Click);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripButton_DevCentral
     //
     this.toolStripButton_DevCentral.Image = global::iRuler.Properties.Resources.ToolbarWebLink;
     this.toolStripButton_DevCentral.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_DevCentral.Name = "toolStripButton_DevCentral";
     this.toolStripButton_DevCentral.Size = new System.Drawing.Size(85, 22);
     this.toolStripButton_DevCentral.Text = "DevCentral";
     this.toolStripButton_DevCentral.Click += new System.EventHandler(this.toolStripButton_DevCentral_Click);
     //
     // toolStripButton_DevCentralForums
     //
     this.toolStripButton_DevCentralForums.Image = global::iRuler.Properties.Resources.ToolbarWebLink;
     this.toolStripButton_DevCentralForums.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_DevCentralForums.Name = "toolStripButton_DevCentralForums";
     this.toolStripButton_DevCentralForums.Size = new System.Drawing.Size(67, 22);
     this.toolStripButton_DevCentralForums.Text = "Forums";
     this.toolStripButton_DevCentralForums.Click += new System.EventHandler(this.toolStripButton_DevCentralForums_Click);
     //
     // toolStripButton_Wiki
     //
     this.toolStripButton_Wiki.Image = global::iRuler.Properties.Resources.ToolbarWebLink;
     this.toolStripButton_Wiki.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_Wiki.Name = "toolStripButton_Wiki";
     this.toolStripButton_Wiki.Size = new System.Drawing.Size(113, 22);
     this.toolStripButton_Wiki.Text = "iRules Reference";
     this.toolStripButton_Wiki.Click += new System.EventHandler(this.toolStripButton_Wiki_Click);
     //
     // toolStripButton_TCL
     //
     this.toolStripButton_TCL.Image = global::iRuler.Properties.Resources.ToolbarWebLink;
     this.toolStripButton_TCL.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton_TCL.Name = "toolStripButton_TCL";
     this.toolStripButton_TCL.Size = new System.Drawing.Size(103, 22);
     this.toolStripButton_TCL.Text = "TCL Reference";
     this.toolStripButton_TCL.Click += new System.EventHandler(this.toolStripButton_TCL_Click);
     //
     // toolStripContainer1
     //
     //
     // toolStripContainer1.ContentPanel
     //
     this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(150, 150);
     this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
     this.toolStripContainer1.Name = "toolStripContainer1";
     this.toolStripContainer1.Size = new System.Drawing.Size(150, 175);
     this.toolStripContainer1.TabIndex = 0;
     //
     // panelx
     //
     this.panelx.Controls.Add(this.statusStrip);
     this.panelx.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panelx.Location = new System.Drawing.Point(0, 602);
     this.panelx.Name = "panelx";
     this.panelx.Size = new System.Drawing.Size(660, 20);
     this.panelx.TabIndex = 9;
     //
     // statusStrip
     //
     this.statusStrip.Dock = System.Windows.Forms.DockStyle.Top;
     this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.statusStripLabel_Connection,
     this.toolStripStatusLabel_Line,
     this.toolStripStatusLabel_Column,
     this.toolStripStatusLabel_Character});
     this.statusStrip.Location = new System.Drawing.Point(0, 0);
     this.statusStrip.Name = "statusStrip";
     this.statusStrip.Size = new System.Drawing.Size(660, 22);
     this.statusStrip.TabIndex = 9;
     this.statusStrip.Text = "statusStrip1";
     //
     // statusStripLabel_Connection
     //
     this.statusStripLabel_Connection.AutoSize = false;
     this.statusStripLabel_Connection.BorderStyle = System.Windows.Forms.Border3DStyle.Etched;
     this.statusStripLabel_Connection.Name = "statusStripLabel_Connection";
     this.statusStripLabel_Connection.Size = new System.Drawing.Size(420, 17);
     this.statusStripLabel_Connection.Spring = true;
     this.statusStripLabel_Connection.Text = "Disconnected. Click the Connect button...";
     this.statusStripLabel_Connection.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // toolStripStatusLabel_Line
     //
     this.toolStripStatusLabel_Line.AutoSize = false;
     this.toolStripStatusLabel_Line.Name = "toolStripStatusLabel_Line";
     this.toolStripStatusLabel_Line.Size = new System.Drawing.Size(75, 17);
     this.toolStripStatusLabel_Line.Text = "Ln 0";
     this.toolStripStatusLabel_Line.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // toolStripStatusLabel_Column
     //
     this.toolStripStatusLabel_Column.AutoSize = false;
     this.toolStripStatusLabel_Column.Name = "toolStripStatusLabel_Column";
     this.toolStripStatusLabel_Column.Size = new System.Drawing.Size(75, 17);
     this.toolStripStatusLabel_Column.Text = "Col 0";
     this.toolStripStatusLabel_Column.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // toolStripStatusLabel_Character
     //
     this.toolStripStatusLabel_Character.AutoSize = false;
     this.toolStripStatusLabel_Character.Name = "toolStripStatusLabel_Character";
     this.toolStripStatusLabel_Character.Size = new System.Drawing.Size(75, 17);
     this.toolStripStatusLabel_Character.Text = "Ch 0";
     this.toolStripStatusLabel_Character.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel_Middle
     //
     this.panel_Middle.Controls.Add(this.splitContainer1);
     this.panel_Middle.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel_Middle.Location = new System.Drawing.Point(0, 51);
     this.panel_Middle.Name = "panel_Middle";
     this.panel_Middle.Size = new System.Drawing.Size(660, 551);
     this.panel_Middle.TabIndex = 10;
     this.panel_Middle.Paint += new System.Windows.Forms.PaintEventHandler(this.panel_Middle_Paint);
     //
     // splitContainer1
     //
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.panel_TreeView);
     this.splitContainer1.Panel1.Controls.Add(this.panel_TreeViewToolbar);
     this.splitContainer1.Panel1MinSize = 0;
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
     this.splitContainer1.Panel2MinSize = 0;
     this.splitContainer1.Size = new System.Drawing.Size(660, 551);
     this.splitContainer1.SplitterDistance = 140;
     this.splitContainer1.TabIndex = 9;
     //
     // splitContainer2
     //
     this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.Location = new System.Drawing.Point(0, 0);
     this.splitContainer2.Name = "splitContainer2";
     this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.m_textEditor);
     this.splitContainer2.Panel1MinSize = 0;
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.Controls.Add(this.textBox_Status);
     this.splitContainer2.Panel2MinSize = 0;
     this.splitContainer2.Size = new System.Drawing.Size(516, 551);
     this.splitContainer2.SplitterDistance = 506;
     this.splitContainer2.TabIndex = 0;
     //
     // iRulerMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.BackColor = System.Drawing.SystemColors.Control;
     this.ClientSize = new System.Drawing.Size(660, 622);
     this.Controls.Add(this.panel_Middle);
     this.Controls.Add(this.panelx);
     this.Controls.Add(this.panel_Top);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.HelpButton = true;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip = this.menuStrip1;
     this.Name = "iRulerMain";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "F5 iRule Editor";
     this.HelpButtonClicked += new System.ComponentModel.CancelEventHandler(this.iRulerMain_HelpButtonClicked);
     this.Activated += new System.EventHandler(this.iRulerMain_Activated);
     this.Load += new System.EventHandler(this.iRulerMain_Load);
     this.panel_TreeViewToolbar.ResumeLayout(false);
     this.panel_TreeViewToolbar.PerformLayout();
     this.toolStrip2.ResumeLayout(false);
     this.toolStrip2.PerformLayout();
     this.contextMenuStrip_TreeView.ResumeLayout(false);
     this.panel_TreeView.ResumeLayout(false);
     this.panel_Top.ResumeLayout(false);
     this.panel_Top.PerformLayout();
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.toolStripContainer1.ResumeLayout(false);
     this.toolStripContainer1.PerformLayout();
     this.panelx.ResumeLayout(false);
     this.panelx.PerformLayout();
     this.statusStrip.ResumeLayout(false);
     this.statusStrip.PerformLayout();
     this.panel_Middle.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #16
0
        public WorkPage()
        {
            //logDocument
            InitLogDocument();

            //steg
            Steganographer = new Steganographer();
            Steganographer.Feedback += Steganographer_Feedback;

            //folder
            folderDialog = new FolderBrowserDialog();
            folderDialog.ShowNewFolderButton = true;

            //save
            saveDialog = new SaveFileDialog();
            saveDialog.Title = App.Name + " - Save";
            saveDialog.DefaultExt = ".bmp";
            saveDialog.AddExtension = true;
            saveDialog.Filter =
                "BITMAP Image (.bmp)|*.bmp|PNG File (.png)|*.png|JPG file (.jpg)|*.jpg" +
                "|JPEG file (.jpeg)|*.jpeg|HTML file (.html)|*.html|HTML file (.htm)|*.htm|XML file (.xml)|*.xml|All files|*.*";

            //open
            openDialog = new OpenFileDialog();
            openDialog.Title = App.Name + " - Open";
            openDialog.DefaultExt = ".*";
            openDialog.AddExtension = true;
            openDialog.Multiselect = false;
            openDialog.Filter =
                "All files|*.*|BITMAP Image (.bmp)|*.bmp|PNG File (.png)|*.png|JPG file (.jpg)|*.jpg" +
                "|JPEG file (.jpeg)|*.jpeg|Text file (.txt)|*.txt|HTML file (.html)|*.html|" +
                "HTML file (.htm)|*.htm";

            //btnSelectFile
            btnSelectFile = new Button()
            {
                Text = "Select File...",
                Location = new Point(offset, offset)
            };
            btnSelectFile.Click += btnSelectFile_Click;

            //btnSelectFolder
            btnSelectFolder = new Button() { Text = "Select Folder..." };
            btnSelectFolder.Click += btnSelectFolder_Click;

            //txtSource
            txtSource = new HintedTextBox("enter source file(s)")
            {
                Location = new Point(offset, btnSelectFile.Location.Y + btnSelectFile.Height + offset)
            };

            //txtPassword
            txtPassword = new HintedTextBox("enter password")
            {
                IsPasswordBox = true,
            };
            //a hack to make the hint show as normal text, not password chars:
            //after setting its IsPasswordBox = true, call HideHint(), then ShowHint()
            txtPassword.HideHint();
            txtPassword.ShowHint();

            //chckDeleteSource
            chckDeleteSource = new CheckBox()
            {
                Checked = false,
                Text = "Delete source files",
                TextAlign = ContentAlignment.MiddleLeft
            };

            //chckShowPassword
            chckShowPassword = new CheckBox()
            {
                Checked = false,
                Text = "Show password",
                TextAlign = ContentAlignment.MiddleLeft
            };
            chckShowPassword.CheckedChanged += chckShowPassword_CheckedChanged;

            //pnlControlPanel
            pnlControlPanel = new Panel();
            pnlControlPanel.BackColor = SystemColors.Control;
            pnlControlPanel.Dock = DockStyle.Fill;
            pnlControlPanel.Controls.AddRange(new Control[] { btnSelectFile, btnSelectFolder, txtSource });

            //listView
            listView = new ListView();
            listView.AllowColumnReorder = false;
            listView.CheckBoxes = false;
            listView.Dock = DockStyle.Fill;
            listView.FullRowSelect = true;
            listView.MultiSelect = false;
            listView.ShowItemToolTips = true;
            listView.View = View.Details;
            listView.Columns.Add("%", 20, HorizontalAlignment.Left);
            listView.Columns.Add("File", 100, HorizontalAlignment.Left);
            listView.Columns.Add("Message", 100, HorizontalAlignment.Left);

            //searchBox
            searchBox = new ToolStripTextBox() { };
            searchBox.ToolTipText = "search";
            searchBox.KeyUp += searchBox_KeyUp;

            //btnSaveLog
            btnSaveLog = new ToolStripButton()
            {
                //Image = Properties.Resources.Save,
                //ToolTipText = "Save Log"

                Text = "Save Log"
            };
            btnSaveLog.Click += btnSaveLog_Click;

            //stripListViewToolBar
            stripListViewToolBar = new ToolStrip();
            stripListViewToolBar.Dock = DockStyle.Fill;
            stripListViewToolBar.Items.Add(searchBox);
            stripListViewToolBar.Items.Add(new ToolStripSeparator());
            stripListViewToolBar.Items.Add(btnSaveLog);

            //tscListView
            tscListViewCont = new ToolStripContainer();
            tscListViewCont.Dock = DockStyle.Fill;
            tscListViewCont.TopToolStripPanel.Controls.Add(stripListViewToolBar);
            tscListViewCont.ContentPanel.Controls.Add(listView);

            //splitMain
            splitMain = new SplitContainer();
            splitMain.Dock = DockStyle.Fill;
            splitMain.BackColor = Color.Black;
            splitMain.IsSplitterFixed = true;
            splitMain.Orientation = Orientation.Vertical;
            splitMain.Panel1.Controls.Add(pnlControlPanel);
            splitMain.Panel2.Controls.Add(tscListViewCont);
            splitMain.SplitterDistance = 3;

            //this
            this.Controls.Add(splitMain);
            this.SizeChanged += WorkPage_Paint;
        }
 /// <summary>
 /// Returns an observable sequence wrapping the ForeColorChanged event on the ToolStripContainer instance.
 /// </summary>
 /// <param name="instance">The ToolStripContainer instance to observe.</param>
 /// <returns>An observable sequence wrapping the ForeColorChanged event on the ToolStripContainer instance.</returns>
 public static IObservable <EventPattern <EventArgs> > ForeColorChangedObservable(this ToolStripContainer instance)
 {
     return(Observable.FromEventPattern <EventHandler, EventArgs>(
                handler => instance.ForeColorChanged += handler,
                handler => instance.ForeColorChanged -= handler));
 }
예제 #18
0
        static void Main()
        {
            // important to call these before creating application host
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.DoEvents(); // see http://www.codeproject.com/buglist/EnableVisualStylesBug.asp?df=100&forumid=25268&exp=0&select=984714
#if true
            // Set up localization support early on, so that user-readable strings will be localized
            //  during the initialization phase below. Use XML files that are embedded resources.
            Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.CurrentCulture;
            Localizer.SetStringLocalizer(new EmbeddedResourceStringLocalizer());

            var catalog = new TypeCatalog(
                typeof(SettingsService),                // persistent settings and user preferences dialog
                typeof(StatusService),                  // status bar at bottom of main Form
                typeof(CommandService),                 // handles commands in menus and toolbars
                typeof(ControlHostService),             // docking control host
                typeof(WindowLayoutService),            // multiple window layout support
                typeof(WindowLayoutServiceCommands),    // window layout commands
                typeof(FileDialogService),              // standard Windows file dialogs
                typeof(AutoDocumentService),            // opens documents from last session, or creates a new document, on startup
                typeof(Outputs),                        // service that provides static methods for writing to IOutputWriter objects.
                typeof(OutputService),                  // rich text box for displaying error and warning messages. Implements IOutputWriter.
                
                typeof(RecentDocumentCommands),         // standard recent document commands in File menu
                typeof(StandardFileCommands),           // standard File menu commands for New, Open, Save, SaveAs, Close
                typeof(StandardFileExitCommand),        // standard File exit menu command
                typeof(StandardEditCommands),           // standard Edit menu commands for copy/paste
                typeof(StandardEditHistoryCommands),    // standard Edit menu commands for undo/redo
                typeof(StandardSelectionCommands),      // standard Edit menu selection commands
                typeof(HelpAboutCommand),               // Help -> About command

                typeof(UnhandledExceptionService),      // catches unhandled exceptions, displays info, and gives user a chance to save
                typeof(ContextRegistry),                // central context registry with change notification
                typeof(DocumentRegistry),               // central document registry with change notification
                typeof(MainWindowTitleService),         // tracks document changes and updates main form title
                typeof(TabbedControlSelector),          // enable ctrl-tab selection of documents and controls within the app
                typeof(DefaultTabCommands),             // provides the default commands related to document tab Controls

                typeof(PropertyEditor),                 // property grid for editing selected objects
                //typeof(GridPropertyEditor),             // grid control for editing selected objects
                typeof(PropertyEditingCommands),        // commands for PropertyEditor and GridPropertyEditor, like Reset,
                                                        //  Reset All, Copy Value, Paste Value, Copy All, Paste All

                typeof(Editor),                         // code editor component
                typeof(SchemaLoader),                   // loads schema and extends types
                typeof(CharacterEditor),
                typeof(CharacterSettingsCommands)

             );

            // Set up the MEF container with these components
            var container = new CompositionContainer(catalog);

            var toolStripContainer = new ToolStripContainer();
            toolStripContainer.Dock = DockStyle.Fill;

            var mainForm = new MainForm(toolStripContainer);
            mainForm.Icon = GdiUtil.CreateIcon(ResourceUtil.GetImage(Sce.Atf.Resources.AtfIconImage));

            mainForm.Text = "Butterfly Engine".Localize();

            var batch = new CompositionBatch();
            batch.AddPart(mainForm);
            container.Compose(batch);

            // To make the tab commands (e.g., "Copy Full Path", "Open Containing Folder") available, we have to change
            //  the default behavior to work with this sample app's unusual Editor. In most cases, an editor like this
            //  would implement IDocumentClient and this customization of DefaultTabCommands wouldn't be necessary.
            var tabCommands = container.GetExportedValue<DefaultTabCommands>();
            tabCommands.IsDocumentControl = controlInfo => controlInfo.Client is Editor;

            // Initialize components that require it. Initialization often can't be done in the constructor,
            //  or even after imports have been satisfied by MEF, since we allow circular dependencies between
            //  components, via the System.Lazy class. IInitializable allows components to defer some operations
            //  until all MEF composition has been completed.
            container.InitializeAll();

            // Show the main form and start message handling. The main Form Load event provides a final chance
            //  for components to perform initialization and configuration.
            Application.Run(mainForm);

            // Give components a chance to clean up.
            container.Dispose();
#else
            var mainForm = new FormTest
            {
                Icon = GdiUtil.CreateIcon(ResourceUtil.GetImage(Sce.Atf.Resources.AtfIconImage))
            };

            Application.Run(mainForm);
#endif

        }
예제 #19
0
        public void InitializeComponent()
        {
            this.toolStripContainer    = new System.Windows.Forms.ToolStripContainer();
            this.toolStrip1            = new System.Windows.Forms.ToolStrip();
            this.homeButton            = new System.Windows.Forms.ToolStripButton();
            this.backButton            = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1   = new System.Windows.Forms.ToolStripSeparator();
            this.forwardButton         = new System.Windows.Forms.ToolStripButton();
            this.refreshButton         = new System.Windows.Forms.ToolStripButton();
            this.urlTextBox            = new System.Windows.Forms.ToolStripTextBox();
            this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar();
            this.toolStripContainer.TopToolStripPanel.SuspendLayout();
            this.toolStripContainer.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.SuspendLayout();
            //
            // toolStripContainer
            //
            //
            // toolStripContainer.ContentPanel
            //
            this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(1313, 585);
            this.toolStripContainer.Dock = System.Windows.Forms.DockStyle.Fill;
            this.toolStripContainer.LeftToolStripPanelVisible = false;
            this.toolStripContainer.Location = new System.Drawing.Point(0, 0);
            this.toolStripContainer.Name     = "toolStripContainer";
            this.toolStripContainer.RightToolStripPanelVisible = false;
            this.toolStripContainer.Size     = new System.Drawing.Size(1313, 610);
            this.toolStripContainer.TabIndex = 0;
            this.toolStripContainer.Text     = "toolStripContainer1";
            //
            // toolStripContainer.TopToolStripPanel
            //
            this.toolStripContainer.TopToolStripPanel.Controls.Add(this.toolStrip1);
            //
            // toolStrip1
            //
            this.toolStrip1.BackColor = System.Drawing.Color.WhiteSmoke;
            this.toolStrip1.Dock      = System.Windows.Forms.DockStyle.None;
            this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
                this.homeButton,
                this.backButton,
                this.toolStripSeparator1,
                this.forwardButton,
                this.refreshButton,
                this.urlTextBox,
                this.toolStripProgressBar1
            });
            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
            this.toolStrip1.Name     = "toolStrip1";
            this.toolStrip1.Padding  = new System.Windows.Forms.Padding(0);
            this.toolStrip1.Size     = new System.Drawing.Size(1313, 25);
            this.toolStrip1.Stretch  = true;
            this.toolStrip1.TabIndex = 0;
            //
            // homeButton
            //
            this.homeButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.homeButton.ImageTransparentColor = System.Drawing.Color.Transparent;
            this.homeButton.Name = "homeButton";
            this.homeButton.Size = new System.Drawing.Size(23, 22);

            //
            // backButton
            //
            this.backButton.BackColor             = System.Drawing.Color.Transparent;
            this.backButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.backButton.ImageTransparentColor = System.Drawing.Color.Transparent;
            this.backButton.Name = "backButton";
            this.backButton.Size = new System.Drawing.Size(23, 22);
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
            //
            // forwardButton
            //
            this.forwardButton.BackColor             = System.Drawing.Color.Transparent;
            this.forwardButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.forwardButton.ImageTransparentColor = System.Drawing.Color.Transparent;
            this.forwardButton.Name = "forwardButton";
            this.forwardButton.Size = new System.Drawing.Size(23, 22);
            //
            // refreshButton
            //
            this.refreshButton.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.refreshButton.ImageTransparentColor = System.Drawing.Color.Transparent;
            this.refreshButton.Name = "refreshButton";
            this.refreshButton.Size = new System.Drawing.Size(23, 22);
            //
            // urlTextBox
            //
            this.urlTextBox.AutoSize = false;
            this.urlTextBox.Name     = "urlTextBox";
            this.urlTextBox.ReadOnly = true;
            this.urlTextBox.Size     = new System.Drawing.Size(800, 25);
            //
            // toolStripProgressBar1
            //
            this.toolStripProgressBar1.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripProgressBar1.Name      = "toolStripProgressBar1";
            this.toolStripProgressBar1.Size      = new System.Drawing.Size(100, 22);
            this.toolStripProgressBar1.Visible   = false;
            this.toolStripProgressBar1.Style     = ProgressBarStyle.Continuous;
            this.toolStripProgressBar1.Value     = 100;
            //
            // DisplayComponents
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.toolStripContainer);
            this.Name = "DisplayComponents";
            this.Size = new System.Drawing.Size(1313, 610);
            this.toolStripContainer.TopToolStripPanel.ResumeLayout(false);
            this.toolStripContainer.TopToolStripPanel.PerformLayout();
            this.toolStripContainer.ResumeLayout(false);
            this.toolStripContainer.PerformLayout();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            this.ResumeLayout(false);


            //Setup the icons for the buttons
            Assembly asm                = Assembly.GetExecutingAssembly();
            Bitmap   backButtonImage    = new Bitmap(asm.GetManifestResourceStream("RDC.Plugins.ChromeZone.Icons.arrow-left.png"));
            Bitmap   forwardButtonImage = new Bitmap(asm.GetManifestResourceStream("RDC.Plugins.ChromeZone.Icons.arrow-right.png"));
            Bitmap   refreshButtonImage = new Bitmap(asm.GetManifestResourceStream("RDC.Plugins.ChromeZone.Icons.refresh.png"));
            Bitmap   homeButtonImage    = new Bitmap(asm.GetManifestResourceStream("RDC.Plugins.ChromeZone.Icons.home.png"));

            this.backButton.Image    = backButtonImage;
            this.forwardButton.Image = forwardButtonImage;
            this.refreshButton.Image = refreshButtonImage;
            this.homeButton.Image    = homeButtonImage;
        }
 public ToolStripContainerTypedControlCollection(Control c, bool isReadOnly)
     : base(c, isReadOnly) {
     this.owner = c as ToolStripContainer;
 }
예제 #21
0
파일: Program.cs 프로젝트: Joxx0r/ATF
        static void Main()
        {
            // Important to call these before starting the app.  Otherwise theming and bitmaps may not render correctly.
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.DoEvents(); // see http://www.codeproject.com/buglist/EnableVisualStylesBug.asp?df=100&forumid=25268&exp=0&select=984714

            // Set up localization support early on, so that user-readable strings will be localized
            //  during the initialization phase below. Use XML files that are embedded resources.
            Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.CurrentCulture;
            Localizer.SetStringLocalizer(new EmbeddedResourceStringLocalizer());

            // Using MEF, declare the composable parts that will make up this application
            TypeCatalog catalog = new TypeCatalog(
                typeof(SettingsService),                // persistent settings and user preferences dialog
                typeof(CommandService),                 // handles commands in menus and toolbars
                typeof(ControlHostService),             // docking control host
                typeof(ContextRegistry),                // central context registry with change notification
                typeof(StandardFileExitCommand),        // standard File exit menu command

                typeof(FileDialogService),              // standard Windows file dialogs
                typeof(DocumentRegistry),               // central document registry with change notification
                typeof(StandardFileCommands),           // standard File menu commands for New, Open, Save, SaveAs, Close
                typeof(AutoDocumentService),            // opens documents from last session, or creates a new document, on startup
                typeof(RecentDocumentCommands),         // standard recent document commands in File menu
                typeof(MainWindowTitleService),         // tracks document changes and updates main form title
                typeof(AtfUsageLogger),                 // logs computer info to an ATF server
                typeof(WindowLayoutService),            // service to allow multiple window layouts
                typeof(WindowLayoutServiceCommands),    // command layer to allow easy switching between and managing of window layouts
                
                // Client-specific plug-ins
                typeof(Editor),                         // editor class component that creates and saves application documents
                typeof(SchemaLoader),                   // loads schema and extends types

                typeof(PythonService),                  // scripting service for automated tests
                typeof(ScriptConsole),                  // provides a dockable command console for entering Python commands
                typeof(AtfScriptVariables),             // exposes common ATF services as script variables
                typeof(AutomationService)               // provides facilities to run an automated script using the .NET remoting service
                );

            // Create the MEF container for the composable parts
            CompositionContainer container = new CompositionContainer(catalog);

            // Create the main form, give it a toolstrip
            ToolStripContainer toolStripContainer = new ToolStripContainer();
            toolStripContainer.Dock = DockStyle.Fill;
            MainForm mainForm = new MainForm(toolStripContainer)
            {
                Text = "Sample Application".Localize(),
                Icon = GdiUtil.CreateIcon(ResourceUtil.GetImage(Sce.Atf.Resources.AtfIconImage))
            };

            // Create an MEF composable part from the main form, and add into container
            CompositionBatch batch = new CompositionBatch();
            AttributedModelServices.AddPart(batch, mainForm);
            container.Compose(batch);

            // Initialize components that require it. Initialization often can't be done in the constructor,
            //  or even after imports have been satisfied by MEF, since we allow circular dependencies between
            //  components, via the System.Lazy class. IInitializable allows components to defer some operations
            //  until all MEF composition has been completed.
            container.InitializeAll();

            // Show the main form and start message handling. The main Form Load event provides a final chance
            //  for components to perform initialization and configuration.
            Application.Run(mainForm);

            // Give components a chance to clean up.
            container.Dispose();
        }
예제 #22
0
        public NotificationPanel()
        {
            BackColor = Color.Black;
            ForeColor = Color.White;
            Height = 200;

            //imgLst
            ImageList imgLst = new ImageList();
            imgLst.Images.Add("E", Properties.Resources.Error);
            imgLst.Images.Add("I", Properties.Resources.Info);
            imgLst.Images.Add("Q", Properties.Resources.Question);
            imgLst.Images.Add("S", Properties.Resources.Success);
            imgLst.Images.Add("W", Properties.Resources.Warning);

            //listView
            listView = new ListView();
            listView.AllowColumnReorder = false;
            listView.BackColor = Color.Black;
            listView.CheckBoxes = false;
            listView.Dock = DockStyle.Fill;
            listView.ForeColor = Color.White;
            listView.FullRowSelect = true;
            listView.LargeImageList = listView.SmallImageList = listView.StateImageList = imgLst;
            listView.MultiSelect = false;
            listView.ShowItemToolTips = true;
            listView.View = View.Details;
            listView.Columns.Add("", 20, HorizontalAlignment.Left); //icon
            listView.Columns.Add("", 20, HorizontalAlignment.Left); //S/N
            listView.Columns.Add("Message", 200, HorizontalAlignment.Left);
            listView.Columns.Add("File", 100, HorizontalAlignment.Left);
            listView.Columns.Add("Line", 50, HorizontalAlignment.Left);
            listView.Columns.Add("Column", 50, HorizontalAlignment.Left);

            //searchBox
            searchBox = new ToolStripTextBox()
            {
                //BackColor = Color.Black,
                //ForeColor = Color.White,
                ToolTipText = "search"
            };
            searchBox.ToolTipText = "search";
            searchBox.KeyUp += searchBox_KeyUp;
            searchBox.TextChanged += searchBox_TextChanged;

            //stripListViewToolBar
            stripListViewToolBar = new ToolStrip();
            stripListViewToolBar.Dock = DockStyle.Fill;
            stripListViewToolBar.Items.Add(searchBox);

            //tscListView
            tscListViewCont = new ToolStripContainer();
            tscListViewCont.Dock = DockStyle.Fill;
            tscListViewCont.TopToolStripPanel.BackColor = tscListViewCont.ContentPanel.BackColor = Color.Black;
            tscListViewCont.TopToolStripPanel.ForeColor = tscListViewCont.ContentPanel.ForeColor = Color.White;
            tscListViewCont.TopToolStripPanel.Controls.Add(stripListViewToolBar);
            tscListViewCont.ContentPanel.Controls.Add(listView);

            //this
            this.Controls.Add(tscListViewCont);
            this.SizeChanged += NotificationPanel_SizeChanged;

            Messenger.Notified += Messenger_Notified;
            Messenger.NotificationsCleared += Messenger_NotificationsCleared;
        }
예제 #23
0
        public static StringBuilder UpdateControlsInDB(System.Windows.Forms.Control.ControlCollection controlCollection, Int64 ModuleID, Hashtable Keys)
        {
            StringBuilder SB = new StringBuilder();

            if (Keys == null)
            {
                if (controlCollection.Count > 0)
                {
                    SB.AppendLine(controlCollection[0].FindForm().Name + "=" + controlCollection[0].FindForm().Text);
                }
                Keys = new Hashtable();
                var SControlCollection = SynapseControl.Load("WHERE FK_MODULE_ID = " + ModuleID.ToString());
                foreach (SynapseControl SC in SControlCollection)
                {
                    try
                    {
                        Keys.Add(SC.FORM_NAME + SC.CTRL_NAME + SC.CTRL_TYPE, SC);
                    }
                    // TODO: Catch more specific exception
                    catch (Exception ex)
                    {
                        SynapseForm.SynapseLogger.Error(ex.Message);
                    }
                }
            }
            foreach (Control C in controlCollection)
            {
                string formName    = C.FindForm().Name;
                string controlType = C.GetType().ToString();

                if (!Keys.ContainsKey(formName + C.Name + controlType))
                {
                    CreateControlInDB(ModuleID, formName, C.Name, controlType);
                }
                switch (controlType)
                {
                case "System.Windows.Forms.Label":
                    SB.AppendLine(C.FindForm().Name + "." + C.Name + "=" + C.Text);
                    break;

                case "System.Windows.Forms.Button":
                    SB.AppendLine(C.FindForm().Name + "." + C.Name + "=" + C.Text);
                    break;

                case "System.Windows.Forms.MenuStrip":
                    MenuStrip Menu = (MenuStrip)C;
                    SB.AppendLine(ListMenuStrip(Menu.Items, C.FindForm().Name, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.TextBox":
                    break;

                case "System.Windows.Forms.FlowLayoutPanel":
                    FlowLayoutPanel FP = (FlowLayoutPanel)C;
                    SB.AppendLine(UpdateControlsInDB(FP.Controls, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.GroupBox":
                    SB.AppendLine(C.FindForm().Name + "." + C.Name + "=" + C.Text);
                    GroupBox group = (GroupBox)C;
                    SB.AppendLine(UpdateControlsInDB(group.Controls, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.CheckedListBox":
                    break;

                case "System.Windows.Forms.CheckBox":
                    SB.AppendLine(C.FindForm().Name + "." + C.Name + "=" + C.Text);
                    break;

                case "System.Windows.Forms.ToolStrip":
                    ToolStrip Tool = (ToolStrip)C;
                    SB.AppendLine(ListMenuStrip(Tool.Items, C.FindForm().Name, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.StatusStrip":
                    StatusStrip Status = (StatusStrip)C;
                    SB.AppendLine(ListMenuStrip(Status.Items, C.FindForm().Name, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.ToolStripPanel":
                    ContainerControl mycontainer = (ContainerControl)C;
                    SB.AppendLine(UpdateControlsInDB(mycontainer.Controls, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.TabPage":
                    SB.AppendLine(C.FindForm().Name + "." + C.Name + "=" + C.Text);
                    Panel mytabpage = (Panel)C;
                    SB.AppendLine(UpdateControlsInDB(mytabpage.Controls, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.Panel":
                case "System.Windows.Forms.SplitterPanel":
                case "System.Windows.Forms.ToolStripContentPanel":
                    Panel myPanel = (Panel)C;
                    SB.AppendLine(UpdateControlsInDB(myPanel.Controls, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.ToolStripContainer":
                    System.Windows.Forms.ToolStripContainer tscontainer = (System.Windows.Forms.ToolStripContainer)C;
                    SB.AppendLine(UpdateControlsInDB(tscontainer.Controls, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.SplitContainer":
                    System.Windows.Forms.SplitContainer mysplit = (System.Windows.Forms.SplitContainer)C;
                    SB.AppendLine(UpdateControlsInDB(mysplit.Controls, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.TabControl":
                    TabControl tabControl = (TabControl)C;
                    SB.AppendLine(UpdateControlsInDB(tabControl.Controls, ModuleID, Keys).ToString());
                    break;

                case "System.Windows.Forms.ListView":
                    ListView liste = (ListView)C;
                    foreach (ColumnHeader Col in liste.Columns)
                    {
                        if (Col.Name != null && Col.Name != "")
                        {
                            SB.AppendLine(C.FindForm().Name + "." + C.Name + "." + Col.Name + "=" + Col.Text);
                            if (!Keys.ContainsKey(formName + C.Name + "." + Col.Name + Col.GetType().ToString()))
                            {
                                CreateControlInDB(ModuleID, formName, C.Name + "." + Col.Name, Col.GetType().ToString());
                            }
                        }
                        else
                        {
                            SynapseForm.SynapseLogger.Warn("Column with text '" + Col.Text + "' has no name or the default one");
                        }
                    }
                    break;

                case "SynapseAdvancedControls.ObjectListView":
                    ObjectListView oliste = (ObjectListView)C;
                    SB.AppendLine("ObjectListView.MenuLabelColumns=" + oliste.MenuLabelColumns);
                    SB.AppendLine("ObjectListView.MenuLabelGroupBy=" + oliste.MenuLabelGroupBy);
                    SB.AppendLine("ObjectListView.MenuLabelLockGroupingOn=" + oliste.MenuLabelLockGroupingOn);
                    SB.AppendLine("ObjectListView.MenuLabelSelectColumns=" + oliste.MenuLabelSelectColumns);
                    SB.AppendLine("ObjectListView.MenuLabelSortAscending=" + oliste.MenuLabelSortAscending);
                    SB.AppendLine("ObjectListView.MenuLabelSortDescending=" + oliste.MenuLabelSortDescending);
                    SB.AppendLine("ObjectListView.MenuLabelTurnOffGroups=" + oliste.MenuLabelTurnOffGroups);
                    SB.AppendLine("ObjectListView.MenuLabelUnlockGroupingOn=" + oliste.MenuLabelUnlockGroupingOn);
                    SB.AppendLine("ObjectListView.MenuLabelUnsort=" + oliste.MenuLabelUnsort);

                    foreach (OLVColumn Col in oliste.AllColumns)
                    {
                        if (Col.Text != null && Col.Text != "")
                        {
                            SB.AppendLine(C.FindForm().Name + "." + C.Name + "." + Col.Text.Replace(' ', '_').ToUpper() + "=" + Col.Text);
                            if (!Keys.ContainsKey(formName + C.Name + "." + Col.Text.Replace(' ', '_').ToUpper() + Col.GetType().ToString()))
                            {
                                CreateControlInDB(ModuleID, formName, C.Name + "." + Col.Text.Replace(' ', '_').ToUpper(), Col.GetType().ToString());
                            }
                        }
                        else
                        {
                            SynapseForm.SynapseLogger.Warn("Column with text '" + Col.Text + "' has no name or the default one");
                        }
                    }
                    break;

                case "SynapseCore.Controls.SynapseGraphic":
                    SynapseGraphic graph = (SynapseGraphic)C;
                    SB.AppendLine("SynapseGraphic.CopyMenu=" + graph.CopyMenu);
                    SB.AppendLine("SynapseGraphic.CurveOnlyMenu=" + graph.CurveOnlyMenu);
                    SB.AppendLine("SynapseGraphic.CurvesMenu=" + graph.CurvesMenu);
                    SB.AppendLine("SynapseGraphic.PageSetupMenu=" + graph.PageSetupMenu);
                    SB.AppendLine("SynapseGraphic.PrintMenu=" + graph.PrintMenu);
                    SB.AppendLine("SynapseGraphic.SaveAsMenu=" + graph.SaveAsMenu);
                    SB.AppendLine("SynapseGraphic.SetDefaultScaleMenu=" + graph.SetDefaultScaleMenu);
                    SB.AppendLine("SynapseGraphic.ShowAllCurvesMenu=" + graph.ShowAllCurvesMenu);
                    SB.AppendLine("SynapseGraphic.ShowHideCurveMenu=" + graph.ShowHideCurveMenu);
                    SB.AppendLine("SynapseGraphic.ShowHideLegendMenu=" + graph.ShowHideLegendMenu);
                    SB.AppendLine("SynapseGraphic.ShowPointValuesMenu=" + graph.ShowPointValuesMenu);
                    SB.AppendLine("SynapseGraphic.UndoAllZoomMenu=" + graph.UndoAllZoomMenu);
                    SB.AppendLine("SynapseGraphic.UnZoomMenu=" + graph.UnZoomMenu);

                    break;

                default:
                    if (C is UserControl)
                    {
                    }
                    break;
                }
                if (C.ContextMenuStrip != null)
                {
                    SynapseForm.SynapseLogger.Debug("Context menu found for control '" + C.Name + "' with menu name : '" + C.ContextMenuStrip.Name + "'");
                    controlType = C.ContextMenuStrip.GetType().ToString();
                    if (!Keys.ContainsKey(formName + C.ContextMenuStrip.Name + controlType))
                    {
                        CreateControlInDB(ModuleID, formName, C.ContextMenuStrip.Name, controlType);
                        Keys.Add(formName + C.ContextMenuStrip.Name + controlType, null);
                    }

                    SB.AppendLine(ListMenuStrip(C.ContextMenuStrip.Items, C.FindForm().Name, ModuleID, Keys).ToString());
                }
            }
            return(SB);
        }
 /// <summary>
 /// Returns an observable sequence wrapping the BackgroundImageLayoutChanged event on the ToolStripContainer instance.
 /// </summary>
 /// <param name="instance">The ToolStripContainer instance to observe.</param>
 /// <returns>An observable sequence wrapping the BackgroundImageLayoutChanged event on the ToolStripContainer instance.</returns>
 public static IObservable <EventPattern <EventArgs> > BackgroundImageLayoutChangedObservable(this ToolStripContainer instance)
 {
     return(Observable.FromEventPattern <EventHandler, EventArgs>(
                handler => instance.BackgroundImageLayoutChanged += handler,
                handler => instance.BackgroundImageLayoutChanged -= handler));
 }
예제 #25
0
 public ToolStripContainerTypedControlCollection(Control c, bool isReadOnly)
     : base(c, isReadOnly)
 {
     this.owner = c as ToolStripContainer;
 }
예제 #26
0
 private void InitializeComponent()
 {
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(TexExplorer));
     this.ImagePreviewBox = new PictureBox();
     this.ImageInfoBox = new GroupBox();
     this.ExtractImgBtn = new Button();
     this.ReplaceImgBtn = new Button();
     this.label5 = new Label();
     this.label4 = new Label();
     this.label1 = new Label();
     this.label7 = new Label();
     this.label3 = new Label();
     this.HeightTxt = new TextBox();
     this.FormatTxt = new TextBox();
     this.WidthTxt = new TextBox();
     this.MipMapTxt = new TextBox();
     this.BPPTxt = new TextBox();
     this.ImgList = new ListBox();
     this.DataFolder_TreeView = new TreeView();
     this.RebuildBtn = new Button();
     this.tableLayoutPanel1 = new TableLayoutPanel();
     this.tableLayoutPanel2 = new TableLayoutPanel();
     this.tableLayoutPanel3 = new TableLayoutPanel();
     this.tableLayoutPanel4 = new TableLayoutPanel();
     this.TreeViewContainer = new ToolStripContainer();
     this.Search_ToolStrip = new ToolStrip();
     this.Search_TxtBox = new ToolStripTextBox();
     this.PrevSearch_Btn = new ToolStripButton();
     this.NextSearch_Btn = new ToolStripButton();
     this.SearchPos_Lbl = new ToolStripLabel();
     this.Search_Btn = new ToolStripButton();
     ((ISupportInitialize)this.ImagePreviewBox).BeginInit();
     this.ImageInfoBox.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     this.tableLayoutPanel3.SuspendLayout();
     this.tableLayoutPanel4.SuspendLayout();
     this.TreeViewContainer.ContentPanel.SuspendLayout();
     this.TreeViewContainer.TopToolStripPanel.SuspendLayout();
     this.TreeViewContainer.SuspendLayout();
     this.Search_ToolStrip.SuspendLayout();
     base.SuspendLayout();
     this.ImagePreviewBox.BackColor = Color.Transparent;
     this.ImagePreviewBox.BorderStyle = BorderStyle.FixedSingle;
     this.ImagePreviewBox.Dock = DockStyle.Fill;
     this.ImagePreviewBox.Location = new Point(85, 3);
     this.ImagePreviewBox.Name = "ImagePreviewBox";
     this.ImagePreviewBox.Size = new Size(458, 446);
     this.ImagePreviewBox.SizeMode = PictureBoxSizeMode.CenterImage;
     this.ImagePreviewBox.TabIndex = 7;
     this.ImagePreviewBox.TabStop = false;
     this.ImageInfoBox.Controls.Add(this.ExtractImgBtn);
     this.ImageInfoBox.Controls.Add(this.ReplaceImgBtn);
     this.ImageInfoBox.Controls.Add(this.label5);
     this.ImageInfoBox.Controls.Add(this.label4);
     this.ImageInfoBox.Controls.Add(this.label1);
     this.ImageInfoBox.Controls.Add(this.label7);
     this.ImageInfoBox.Controls.Add(this.label3);
     this.ImageInfoBox.Controls.Add(this.HeightTxt);
     this.ImageInfoBox.Controls.Add(this.FormatTxt);
     this.ImageInfoBox.Controls.Add(this.WidthTxt);
     this.ImageInfoBox.Controls.Add(this.MipMapTxt);
     this.ImageInfoBox.Controls.Add(this.BPPTxt);
     this.ImageInfoBox.Enabled = false;
     this.ImageInfoBox.Location = new Point(255, 3);
     this.ImageInfoBox.Name = "ImageInfoBox";
     this.ImageInfoBox.Size = new Size(288, 100);
     this.ImageInfoBox.TabIndex = 8;
     this.ImageInfoBox.TabStop = false;
     this.ImageInfoBox.Text = "Image Information";
     this.ExtractImgBtn.Font = new Font("Times New Roman", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.ExtractImgBtn.Location = new Point(215, 67);
     this.ExtractImgBtn.Name = "ExtractImgBtn";
     this.ExtractImgBtn.Size = new Size(67, 27);
     this.ExtractImgBtn.TabIndex = 46;
     this.ExtractImgBtn.Text = "Extract";
     this.ExtractImgBtn.UseVisualStyleBackColor = true;
     this.ExtractImgBtn.Click += new EventHandler(this.ExtractImgBtn_Click);
     this.ReplaceImgBtn.Font = new Font("Times New Roman", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.ReplaceImgBtn.Location = new Point(137, 67);
     this.ReplaceImgBtn.Name = "ReplaceImgBtn";
     this.ReplaceImgBtn.Size = new Size(72, 27);
     this.ReplaceImgBtn.TabIndex = 45;
     this.ReplaceImgBtn.Text = "Replace";
     this.ReplaceImgBtn.UseVisualStyleBackColor = true;
     this.ReplaceImgBtn.Click += new EventHandler(this.ReplaceImgBtn_Click);
     this.label5.AutoSize = true;
     this.label5.Font = new Font("Times New Roman", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.label5.Location = new Point(163, 44);
     this.label5.Name = "label5";
     this.label5.Size = new Size(59, 19);
     this.label5.TabIndex = 44;
     this.label5.Text = "Height:";
     this.label5.TextAlign = ContentAlignment.MiddleCenter;
     this.label4.AutoSize = true;
     this.label4.Font = new Font("Times New Roman", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.label4.Location = new Point(168, 18);
     this.label4.Name = "label4";
     this.label4.Size = new Size(54, 19);
     this.label4.TabIndex = 43;
     this.label4.Text = "Width:";
     this.label4.TextAlign = ContentAlignment.MiddleCenter;
     this.label1.AutoSize = true;
     this.label1.Font = new Font("Times New Roman", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.label1.Location = new Point(44, 44);
     this.label1.Name = "label1";
     this.label1.Size = new Size(43, 19);
     this.label1.TabIndex = 42;
     this.label1.Text = "BPP:";
     this.label1.TextAlign = ContentAlignment.MiddleCenter;
     this.label7.AutoSize = true;
     this.label7.Font = new Font("Times New Roman", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.label7.Location = new Point(6, 71);
     this.label7.Name = "label7";
     this.label7.Size = new Size(81, 19);
     this.label7.TabIndex = 41;
     this.label7.Text = "MipMaps:";
     this.label7.TextAlign = ContentAlignment.MiddleCenter;
     this.label3.AutoSize = true;
     this.label3.Font = new Font("Times New Roman", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.label3.Location = new Point(25, 18);
     this.label3.Name = "label3";
     this.label3.Size = new Size(62, 19);
     this.label3.TabIndex = 40;
     this.label3.Text = "Format:";
     this.label3.TextAlign = ContentAlignment.MiddleCenter;
     this.HeightTxt.Location = new Point(228, 45);
     this.HeightTxt.Name = "HeightTxt";
     this.HeightTxt.ReadOnly = true;
     this.HeightTxt.Size = new Size(53, 20);
     this.HeightTxt.TabIndex = 13;
     this.FormatTxt.Location = new Point(93, 19);
     this.FormatTxt.Name = "FormatTxt";
     this.FormatTxt.ReadOnly = true;
     this.FormatTxt.Size = new Size(64, 20);
     this.FormatTxt.TabIndex = 11;
     this.WidthTxt.Location = new Point(228, 19);
     this.WidthTxt.Name = "WidthTxt";
     this.WidthTxt.ReadOnly = true;
     this.WidthTxt.Size = new Size(53, 20);
     this.WidthTxt.TabIndex = 5;
     this.MipMapTxt.Location = new Point(93, 72);
     this.MipMapTxt.Name = "MipMapTxt";
     this.MipMapTxt.ReadOnly = true;
     this.MipMapTxt.Size = new Size(38, 20);
     this.MipMapTxt.TabIndex = 3;
     this.BPPTxt.Location = new Point(93, 45);
     this.BPPTxt.Name = "BPPTxt";
     this.BPPTxt.ReadOnly = true;
     this.BPPTxt.Size = new Size(64, 20);
     this.BPPTxt.TabIndex = 2;
     this.ImgList.Dock = DockStyle.Fill;
     this.ImgList.FormattingEnabled = true;
     this.ImgList.IntegralHeight = false;
     this.ImgList.Location = new Point(3, 3);
     this.ImgList.Name = "ImgList";
     this.ImgList.Size = new Size(76, 446);
     this.ImgList.TabIndex = 9;
     this.ImgList.SelectedIndexChanged += new EventHandler(this.ImgList_SelectedIndexChanged);
     this.DataFolder_TreeView.Dock = DockStyle.Fill;
     this.DataFolder_TreeView.Location = new Point(0, 0);
     this.DataFolder_TreeView.Name = "DataFolder_TreeView";
     this.DataFolder_TreeView.Size = new Size(230, 545);
     this.DataFolder_TreeView.TabIndex = 10;
     this.DataFolder_TreeView.DoubleClick += new EventHandler(this.DataFolder_TreeView_DoubleClick);
     this.RebuildBtn.Dock = DockStyle.Fill;
     this.RebuildBtn.Enabled = false;
     this.RebuildBtn.Font = new Font("Times New Roman", 12f, FontStyle.Bold, GraphicsUnit.Point, 0);
     this.RebuildBtn.Location = new Point(3, 3);
     this.RebuildBtn.Name = "RebuildBtn";
     this.RebuildBtn.Size = new Size(246, 100);
     this.RebuildBtn.TabIndex = 46;
     this.RebuildBtn.Text = "Rebuild Container";
     this.RebuildBtn.UseVisualStyleBackColor = true;
     this.RebuildBtn.Click += new EventHandler(this.RebuildBtn_Click);
     this.tableLayoutPanel1.ColumnCount = 2;
     this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 236f));
     this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.TreeViewContainer, 0, 0);
     this.tableLayoutPanel1.Dock = DockStyle.Fill;
     this.tableLayoutPanel1.Location = new Point(0, 0);
     this.tableLayoutPanel1.Name = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 1;
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
     this.tableLayoutPanel1.Size = new Size(794, 576);
     this.tableLayoutPanel1.TabIndex = 47;
     this.tableLayoutPanel2.ColumnCount = 1;
     this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel3, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel4, 0, 0);
     this.tableLayoutPanel2.Dock = DockStyle.Fill;
     this.tableLayoutPanel2.Location = new Point(239, 3);
     this.tableLayoutPanel2.Name = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 2;
     this.tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
     this.tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 112f));
     this.tableLayoutPanel2.Size = new Size(552, 570);
     this.tableLayoutPanel2.TabIndex = 0;
     this.tableLayoutPanel3.ColumnCount = 2;
     this.tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     this.tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle());
     this.tableLayoutPanel3.Controls.Add(this.RebuildBtn, 0, 0);
     this.tableLayoutPanel3.Controls.Add(this.ImageInfoBox, 1, 0);
     this.tableLayoutPanel3.Dock = DockStyle.Fill;
     this.tableLayoutPanel3.Location = new Point(3, 461);
     this.tableLayoutPanel3.Name = "tableLayoutPanel3";
     this.tableLayoutPanel3.RowCount = 1;
     this.tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
     this.tableLayoutPanel3.Size = new Size(546, 106);
     this.tableLayoutPanel3.TabIndex = 0;
     this.tableLayoutPanel4.ColumnCount = 2;
     this.tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 82f));
     this.tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     this.tableLayoutPanel4.Controls.Add(this.ImgList, 0, 0);
     this.tableLayoutPanel4.Controls.Add(this.ImagePreviewBox, 1, 0);
     this.tableLayoutPanel4.Dock = DockStyle.Fill;
     this.tableLayoutPanel4.Location = new Point(3, 3);
     this.tableLayoutPanel4.Name = "tableLayoutPanel4";
     this.tableLayoutPanel4.RowCount = 1;
     this.tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
     this.tableLayoutPanel4.Size = new Size(546, 452);
     this.tableLayoutPanel4.TabIndex = 1;
     this.TreeViewContainer.BottomToolStripPanelVisible = false;
     this.TreeViewContainer.ContentPanel.Controls.Add(this.DataFolder_TreeView);
     this.TreeViewContainer.ContentPanel.Size = new Size(230, 545);
     this.TreeViewContainer.Dock = DockStyle.Fill;
     this.TreeViewContainer.LeftToolStripPanelVisible = false;
     this.TreeViewContainer.Location = new Point(3, 3);
     this.TreeViewContainer.Name = "TreeViewContainer";
     this.TreeViewContainer.RightToolStripPanelVisible = false;
     this.TreeViewContainer.Size = new Size(230, 570);
     this.TreeViewContainer.TabIndex = 11;
     this.TreeViewContainer.Text = "toolStripContainer1";
     this.TreeViewContainer.TopToolStripPanel.Controls.Add(this.Search_ToolStrip);
     this.Search_ToolStrip.Dock = DockStyle.None;
     this.Search_ToolStrip.GripStyle = ToolStripGripStyle.Hidden;
     this.Search_ToolStrip.Items.AddRange(new ToolStripItem[]
     {
         this.Search_TxtBox,
         this.Search_Btn,
         this.PrevSearch_Btn,
         this.NextSearch_Btn,
         this.SearchPos_Lbl
     });
     this.Search_ToolStrip.Location = new Point(0, 0);
     this.Search_ToolStrip.Name = "Search_ToolStrip";
     this.Search_ToolStrip.Size = new Size(230, 25);
     this.Search_ToolStrip.Stretch = true;
     this.Search_ToolStrip.TabIndex = 0;
     this.Search_TxtBox.Name = "Search_TxtBox";
     this.Search_TxtBox.Size = new Size(70, 25);
     this.PrevSearch_Btn.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.PrevSearch_Btn.Image = (Image)componentResourceManager.GetObject("PrevSearch_Btn.Image");
     this.PrevSearch_Btn.ImageTransparentColor = Color.Magenta;
     this.PrevSearch_Btn.Name = "PrevSearch_Btn";
     this.PrevSearch_Btn.Size = new Size(34, 22);
     this.PrevSearch_Btn.Text = "Prev";
     this.PrevSearch_Btn.Click += new EventHandler(this.PrevSearch_Btn_Click);
     this.NextSearch_Btn.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.NextSearch_Btn.Image = (Image)componentResourceManager.GetObject("NextSearch_Btn.Image");
     this.NextSearch_Btn.ImageTransparentColor = Color.Magenta;
     this.NextSearch_Btn.Name = "NextSearch_Btn";
     this.NextSearch_Btn.Size = new Size(35, 22);
     this.NextSearch_Btn.Text = "Next";
     this.NextSearch_Btn.Click += new EventHandler(this.NextSearch_Btn_Click);
     this.SearchPos_Lbl.Name = "SearchPos_Lbl";
     this.SearchPos_Lbl.Size = new Size(24, 22);
     this.SearchPos_Lbl.Text = "0/0";
     this.Search_Btn.DisplayStyle = ToolStripItemDisplayStyle.Text;
     this.Search_Btn.Image = (Image)componentResourceManager.GetObject("Search_Btn.Image");
     this.Search_Btn.ImageTransparentColor = Color.Magenta;
     this.Search_Btn.Name = "Search_Btn";
     this.Search_Btn.Size = new Size(46, 22);
     this.Search_Btn.Text = "Search";
     this.Search_Btn.Click += new EventHandler(this.Search_Btn_Click);
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(794, 576);
     base.Controls.Add(this.tableLayoutPanel1);
     base.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     base.Name = "TexExplorer";
     this.Text = "Texture Explorer";
     ((ISupportInitialize)this.ImagePreviewBox).EndInit();
     this.ImageInfoBox.ResumeLayout(false);
     this.ImageInfoBox.PerformLayout();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel3.ResumeLayout(false);
     this.tableLayoutPanel4.ResumeLayout(false);
     this.TreeViewContainer.ContentPanel.ResumeLayout(false);
     this.TreeViewContainer.TopToolStripPanel.ResumeLayout(false);
     this.TreeViewContainer.TopToolStripPanel.PerformLayout();
     this.TreeViewContainer.ResumeLayout(false);
     this.TreeViewContainer.PerformLayout();
     this.Search_ToolStrip.ResumeLayout(false);
     this.Search_ToolStrip.PerformLayout();
     base.ResumeLayout(false);
 }
예제 #27
0
        private ToolStripPanel GetToolStripParentByName(ToolStripContainer container, string parentName)
        {
            if (parentName == "LeftToolStripPanel")
            {
                return container.LeftToolStripPanel;
            }

            if (parentName == "RightToolStripPanel")
            {
                return container.RightToolStripPanel;
            }

            if (parentName == "TopToolStripPanel")
            {
                return container.TopToolStripPanel;
            }

            if (parentName == "BottomToolStripPanel")
            {
                return container.BottomToolStripPanel;
            }

            return null;
        }
예제 #28
0
 private void InitializeComponent()
 {
     System.Windows.Forms.ListViewGroup listViewGroup3 = new System.Windows.Forms.ListViewGroup("Predefined Properties", System.Windows.Forms.HorizontalAlignment.Left);
     System.Windows.Forms.ListViewGroup listViewGroup4 = new System.Windows.Forms.ListViewGroup("Custom Properties", System.Windows.Forms.HorizontalAlignment.Left);
     System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] {
     "",
     "Location",
     "50,50"}, -1);
     System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(new string[] {
     "",
     "Collision",
     "true"}, -1);
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertyPane));
     this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
     this._propertyList = new Treefrog.Windows.Controls.WinEx.EditableListView();
     this._colLabel = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this._colName = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this._colValue = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this._buttonAddProp = new System.Windows.Forms.ToolStripButton();
     this._buttonRemoveProp = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripTextBox1 = new System.Windows.Forms.ToolStripTextBox();
     this.toolStripContainer1.ContentPanel.SuspendLayout();
     this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
     this.toolStripContainer1.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStripContainer1
     //
     //
     // toolStripContainer1.ContentPanel
     //
     this.toolStripContainer1.ContentPanel.Controls.Add(this._propertyList);
     this.toolStripContainer1.ContentPanel.Margin = new System.Windows.Forms.Padding(0);
     this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(239, 264);
     this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
     this.toolStripContainer1.Margin = new System.Windows.Forms.Padding(0);
     this.toolStripContainer1.Name = "toolStripContainer1";
     this.toolStripContainer1.Size = new System.Drawing.Size(239, 289);
     this.toolStripContainer1.TabIndex = 0;
     this.toolStripContainer1.Text = "toolStripContainer1";
     //
     // toolStripContainer1.TopToolStripPanel
     //
     this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1);
     //
     // _propertyList
     //
     this._propertyList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     this._colLabel,
     this._colName,
     this._colValue});
     this._propertyList.Dock = System.Windows.Forms.DockStyle.Fill;
     this._propertyList.DoubleClickActivation = true;
     this._propertyList.FullRowSelect = true;
     listViewGroup3.Header = "Predefined Properties";
     listViewGroup3.Name = "_groupPredef";
     listViewGroup4.Header = "Custom Properties";
     listViewGroup4.Name = "_groupCustom";
     this._propertyList.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {
     listViewGroup3,
     listViewGroup4});
     this._propertyList.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     listViewItem3.Group = listViewGroup3;
     listViewItem4.Group = listViewGroup4;
     this._propertyList.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
     listViewItem3,
     listViewItem4});
     this._propertyList.Location = new System.Drawing.Point(0, 0);
     this._propertyList.Margin = new System.Windows.Forms.Padding(0);
     this._propertyList.MultiSelect = false;
     this._propertyList.Name = "_propertyList";
     this._propertyList.Size = new System.Drawing.Size(239, 264);
     this._propertyList.TabIndex = 0;
     this._propertyList.UseCompatibleStateImageBehavior = false;
     this._propertyList.View = System.Windows.Forms.View.Details;
     //
     // _colLabel
     //
     this._colLabel.Text = "";
     this._colLabel.Width = 0;
     //
     // _colName
     //
     this._colName.Text = "Name";
     this._colName.Width = 100;
     //
     // _colValue
     //
     this._colValue.Text = "Value";
     this._colValue.Width = 135;
     //
     // toolStrip1
     //
     this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
     this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this._buttonAddProp,
     this._buttonRemoveProp,
     this.toolStripSeparator1,
     this.toolStripTextBox1});
     this.toolStrip1.Location = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name = "toolStrip1";
     this.toolStrip1.Size = new System.Drawing.Size(239, 25);
     this.toolStrip1.Stretch = true;
     this.toolStrip1.TabIndex = 0;
     //
     // _buttonAddProp
     //
     this._buttonAddProp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this._buttonAddProp.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddProp.Image")));
     this._buttonAddProp.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._buttonAddProp.Name = "_buttonAddProp";
     this._buttonAddProp.Size = new System.Drawing.Size(23, 22);
     this._buttonAddProp.Text = "Add Property";
     //
     // _buttonRemoveProp
     //
     this._buttonRemoveProp.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this._buttonRemoveProp.Image = ((System.Drawing.Image)(resources.GetObject("_buttonRemoveProp.Image")));
     this._buttonRemoveProp.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._buttonRemoveProp.Name = "_buttonRemoveProp";
     this._buttonRemoveProp.Size = new System.Drawing.Size(23, 22);
     this._buttonRemoveProp.Text = "Delete Selected Property";
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // toolStripTextBox1
     //
     this.toolStripTextBox1.AutoSize = false;
     this.toolStripTextBox1.Name = "toolStripTextBox1";
     this.toolStripTextBox1.ReadOnly = true;
     this.toolStripTextBox1.Size = new System.Drawing.Size(150, 22);
     //
     // PropertyPane
     //
     this.Controls.Add(this.toolStripContainer1);
     this.Margin = new System.Windows.Forms.Padding(0);
     this.Name = "PropertyPane";
     this.Size = new System.Drawing.Size(239, 289);
     this.toolStripContainer1.ContentPanel.ResumeLayout(false);
     this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
     this.toolStripContainer1.TopToolStripPanel.PerformLayout();
     this.toolStripContainer1.ResumeLayout(false);
     this.toolStripContainer1.PerformLayout();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #29
0
 internal ToolStripPanel(ToolStripContainer owner)
     : this()
 {
     this.owner = owner;
 }
예제 #30
0
        public void TestBindingToToolStripContainer()
        {
            ToolStripContainer control = new ToolStripContainer();
            IBusinessObject obj = new BusinessObject();

            using(BindingScope scope = new BindingScope())
            {
                IBusinessObject bindableSource = scope.CreateSource(obj);

                if(control is Control)
                    ((Control)control).CreateControl();
                control.BindingContext = new BindingContext();

                ToolStripContainer bindableTarget = scope.CreateTarget(control);
                int dataBindingsBeforeAccessibleDefaultActionDescription = control.DataBindings.Count;

                scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleDefaultActionDescription);

                Assert.AreEqual(dataBindingsBeforeAccessibleDefaultActionDescription + 1, control.DataBindings.Count);

                Assert.AreEqual(control.AccessibleDefaultActionDescription, obj.Name);

                obj.ChangeName();

                Assert.AreEqual(control.AccessibleDefaultActionDescription, obj.Name);

                int dataBindingsBeforeAccessibleDescription = control.DataBindings.Count;

                scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleDescription);

                Assert.AreEqual(dataBindingsBeforeAccessibleDescription + 1, control.DataBindings.Count);

                Assert.AreEqual(control.AccessibleDescription, obj.Name);

                obj.ChangeName();

                Assert.AreEqual(control.AccessibleDescription, obj.Name);

                int dataBindingsBeforeAccessibleName = control.DataBindings.Count;

                scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleName);

                Assert.AreEqual(dataBindingsBeforeAccessibleName + 1, control.DataBindings.Count);

                Assert.AreEqual(control.AccessibleName, obj.Name);

                obj.ChangeName();

                Assert.AreEqual(control.AccessibleName, obj.Name);

                int dataBindingsBeforeHeight = control.DataBindings.Count;

                scope.Bind(bindableSource.IntValue).To(bindableTarget.Height);

                Assert.AreEqual(dataBindingsBeforeHeight + 1, control.DataBindings.Count);

                Assert.AreEqual(control.Height, obj.IntValue);

                obj.ChangeIntValue();

                Assert.AreEqual(control.Height, obj.IntValue);

                int dataBindingsBeforeLeft = control.DataBindings.Count;

                scope.Bind(bindableSource.IntValue).To(bindableTarget.Left);

                Assert.AreEqual(dataBindingsBeforeLeft + 1, control.DataBindings.Count);

                Assert.AreEqual(control.Left, obj.IntValue);

                obj.ChangeIntValue();

                Assert.AreEqual(control.Left, obj.IntValue);

                int dataBindingsBeforeName = control.DataBindings.Count;

                scope.Bind(bindableSource.Name).To(bindableTarget.Name);

                Assert.AreEqual(dataBindingsBeforeName + 1, control.DataBindings.Count);

                Assert.AreEqual(control.Name, obj.Name);

                obj.ChangeName();

                Assert.AreEqual(control.Name, obj.Name);

                int dataBindingsBeforeTabIndex = control.DataBindings.Count;

                scope.Bind(bindableSource.IntValue).To(bindableTarget.TabIndex);

                Assert.AreEqual(dataBindingsBeforeTabIndex + 1, control.DataBindings.Count);

                Assert.AreEqual(control.TabIndex, obj.IntValue);

                obj.ChangeIntValue();

                Assert.AreEqual(control.TabIndex, obj.IntValue);

                int dataBindingsBeforeText = control.DataBindings.Count;

                scope.Bind(bindableSource.Name).To(bindableTarget.Text);

                Assert.AreEqual(dataBindingsBeforeText + 1, control.DataBindings.Count);

                Assert.AreEqual(control.Text, obj.Name);

                obj.ChangeName();

                Assert.AreEqual(control.Text, obj.Name);

                int dataBindingsBeforeTop = control.DataBindings.Count;

                scope.Bind(bindableSource.IntValue).To(bindableTarget.Top);

                Assert.AreEqual(dataBindingsBeforeTop + 1, control.DataBindings.Count);

                Assert.AreEqual(control.Top, obj.IntValue);

                obj.ChangeIntValue();

                Assert.AreEqual(control.Top, obj.IntValue);

                int dataBindingsBeforeWidth = control.DataBindings.Count;

                scope.Bind(bindableSource.IntValue).To(bindableTarget.Width);

                Assert.AreEqual(dataBindingsBeforeWidth + 1, control.DataBindings.Count);

                Assert.AreEqual(control.Width, obj.IntValue);

                obj.ChangeIntValue();

                Assert.AreEqual(control.Width, obj.IntValue);

            }
        }
예제 #31
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MapForm));
            this.treeView1 = new System.Windows.Forms.TreeView();
            this.treeviewcontext = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.setActiveMatgToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.setActiveScnrToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.duplicateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.duplicateRecursivelyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.overwriteMetaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.convertCEToH2ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.removeFromQuickListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.outputListToFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.sortByToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.tagTypeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.folderHierarchyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.clearTagQuickListToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.saveMetaDialog = new System.Windows.Forms.SaveFileDialog();
            this.loadMetaDialog = new System.Windows.Forms.OpenFileDialog();
            this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
            this.openInfoFileDialog = new System.Windows.Forms.OpenFileDialog();
            this.displayMenu = new System.Windows.Forms.ContextMenu();
            this.SwapItem = new System.Windows.Forms.MenuItem();
            this.FloodfillSwapItem = new System.Windows.Forms.MenuItem();
            this.JumpToTagItem = new System.Windows.Forms.MenuItem();
            this.chunkclone = new System.Windows.Forms.MenuItem();
            this.menuItem1 = new System.Windows.Forms.MenuItem();
            this.ShowReflex = new System.Windows.Forms.MenuItem();
            this.ShowIdent = new System.Windows.Forms.MenuItem();
            this.ShowString = new System.Windows.Forms.MenuItem();
            this.statusStrip1 = new System.Windows.Forms.StatusStrip();
            this.progressbar = new System.Windows.Forms.ToolStripProgressBar();
            this.statusbar = new System.Windows.Forms.ToolStripStatusLabel();
            this.references = new System.Windows.Forms.ListView();
            this.refs = new System.Windows.Forms.ColumnHeader();
            this.panel2 = new System.Windows.Forms.Panel();
            this.btnUndock = new System.Windows.Forms.Button();
            this.buttonInternalize = new System.Windows.Forms.Button();
            this.button1 = new System.Windows.Forms.Button();
            this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
            this.toolStrip1 = new System.Windows.Forms.ToolStrip();
            this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton();
            this.referenceEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.metaEditorNewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.metaEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.hexEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.StringEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.rebuilderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.fixSystemLinkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.pluginsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exportScriptsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripDropDownButton2 = new System.Windows.Forms.ToolStripDropDownButton();
            this.metaTreeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.rawDataDropDown = new System.Windows.Forms.ToolStripDropDownButton();
            this.pictureBox1 = new System.Windows.Forms.PictureBox();
            this.BitmapContextStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.saveBitmapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.injectBitmapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.convertToBumpMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.bitmapEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.secondaryMagicBox = new System.Windows.Forms.RichTextBox();
            this.primaryMagicBox = new System.Windows.Forms.RichTextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.panel3 = new System.Windows.Forms.Panel();
            this.metaRawBox = new System.Windows.Forms.RichTextBox();
            this.lblRawSize = new System.Windows.Forms.Label();
            this.scanbspwithifp = new System.Windows.Forms.CheckBox();
            this.soundsCheckBox = new System.Windows.Forms.CheckBox();
            this.recursiveCheckBox = new System.Windows.Forms.CheckBox();
            this.parsedCheckBox = new System.Windows.Forms.CheckBox();
            this.loadMetaButton = new System.Windows.Forms.Button();
            this.saveMetaButton = new System.Windows.Forms.Button();
            this.metaTypeBox = new System.Windows.Forms.RichTextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.metaIdentBox = new System.Windows.Forms.RichTextBox();
            this.metaSizeBox = new System.Windows.Forms.RichTextBox();
            this.metaOffsetBox = new System.Windows.Forms.RichTextBox();
            this.label5 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.signMapButton = new System.Windows.Forms.Button();
            this.analyzeMapButton = new System.Windows.Forms.Button();
            this.buildButton = new System.Windows.Forms.Button();
            this.searchGroupBox = new System.Windows.Forms.GroupBox();
            this.searchLabel = new System.Windows.Forms.Label();
            this.searchButton = new System.Windows.Forms.Button();
            this.searchTextBox = new System.Windows.Forms.TextBox();
            this.searchComboBox = new System.Windows.Forms.ComboBox();
            this.button3 = new System.Windows.Forms.Button();
            this.button2 = new System.Windows.Forms.Button();
            this.comboBox1 = new System.Windows.Forms.ComboBox();
            this.splitContainer1 = new System.Windows.Forms.SplitContainer();
            this.splitContainer3 = new System.Windows.Forms.SplitContainer();
            this.toolStrip2 = new System.Windows.Forms.ToolStrip();
            this.toolStripTagView = new System.Windows.Forms.ToolStripButton();
            this.toolStripFolderView = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripBSPEditor = new System.Windows.Forms.ToolStripButton();
            this.toolStripInfoView = new System.Windows.Forms.ToolStripButton();
            this.toolStripHistoryList = new System.Windows.Forms.ToolStripDropDownButton();
            this.splitContainer4 = new System.Windows.Forms.SplitContainer();
            this.LowerOptionsBar = new System.Windows.Forms.Panel();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.renameMapButton = new System.Windows.Forms.Button();
            this.buttonLowerOptions = new System.Windows.Forms.Button();
            this.splitContainer2 = new System.Windows.Forms.SplitContainer();
            this.MetaEditor2Panel = new System.Windows.Forms.Panel();
            this.hexView1 = new entity.HexEditor.HexView();
            this.ltmpTools = new System.Windows.Forms.Panel();
            this.MetaEditorPanel = new System.Windows.Forms.Panel();
            this.metaEditor1 = new MetaEditor.MetaEditor();
            this.LibraryPanel = new System.Windows.Forms.Panel();
            this.toolStripBSPEditorDropDown = new System.Windows.Forms.ToolStripDropDownButton();
            this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar();
            this.saveBitmapDialog1 = new System.Windows.Forms.SaveFileDialog();
            this.ModelContextStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.viewModelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exportModelToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toOBJToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toXToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exportMeshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.injectMeshesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.injectOBJToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.BSPcontextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.viewBSPToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.viewersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.bSPTreeViewerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.bspcollisionViewerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.lightmapViewerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.portalViewerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.bSPCollisionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
            this.exportCollisonToOBJToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.expandMeshX3ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.makeBSPStickyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exportOBJToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.injectBSPVisualMeshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.exportMeshToOBJToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.injectMeshesFromOBJToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.collContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.extractMeshToOBJToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.collisonViewerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
            this.prtmcontext = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.viewPRTMToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.extractPRTMOBJToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.openBitmapDialog1 = new System.Windows.Forms.OpenFileDialog();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.showAnimatedBitmapsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.treeviewcontext.SuspendLayout();
            this.statusStrip1.SuspendLayout();
            this.panel2.SuspendLayout();
            this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
            this.toolStripContainer1.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.BitmapContextStrip.SuspendLayout();
            this.panel3.SuspendLayout();
            this.searchGroupBox.SuspendLayout();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.splitContainer3.Panel1.SuspendLayout();
            this.splitContainer3.Panel2.SuspendLayout();
            this.splitContainer3.SuspendLayout();
            this.toolStrip2.SuspendLayout();
            this.splitContainer4.Panel1.SuspendLayout();
            this.splitContainer4.Panel2.SuspendLayout();
            this.splitContainer4.SuspendLayout();
            this.LowerOptionsBar.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.splitContainer2.Panel1.SuspendLayout();
            this.splitContainer2.Panel2.SuspendLayout();
            this.splitContainer2.SuspendLayout();
            this.MetaEditorPanel.SuspendLayout();
            this.ModelContextStrip.SuspendLayout();
            this.BSPcontextMenu.SuspendLayout();
            this.collContextMenu.SuspendLayout();
            this.prtmcontext.SuspendLayout();
            this.SuspendLayout();
            // 
            // treeView1
            // 
            this.treeView1.AllowDrop = true;
            this.treeView1.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.treeView1.ContextMenuStrip = this.treeviewcontext;
            this.treeView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeView1.HideSelection = false;
            this.treeView1.Location = new System.Drawing.Point(0, 0);
            this.treeView1.Margin = new System.Windows.Forms.Padding(3, 50, 3, 3);
            this.treeView1.Name = "treeView1";
            this.treeView1.Size = new System.Drawing.Size(192, 527);
            this.treeView1.TabIndex = 0;
            this.treeView1.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeView1_NodeMouseDoubleClick);
            this.treeView1.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView1_BeforeExpand);
            this.treeView1.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeView1_DragDrop);
            this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
            this.treeView1.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView1_DragEnter);
            this.treeView1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.treeView1_KeyPress);
            this.treeView1.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeView1_ItemDrag);
            this.treeView1.Click += new System.EventHandler(this.treeView1_Click);
            // 
            // treeviewcontext
            // 
            this.treeviewcontext.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.setActiveMatgToolStripMenuItem,
            this.setActiveScnrToolStripMenuItem,
            this.renameToolStripMenuItem,
            this.duplicateToolStripMenuItem,
            this.duplicateRecursivelyToolStripMenuItem,
            this.overwriteMetaToolStripMenuItem,
            this.convertCEToH2ToolStripMenuItem,
            this.removeFromQuickListToolStripMenuItem,
            this.outputListToFileToolStripMenuItem,
            this.sortByToolStripMenuItem,
            this.clearTagQuickListToolStripMenuItem});
            this.treeviewcontext.Name = "treeviewcontext";
            this.treeviewcontext.Size = new System.Drawing.Size(221, 246);
            this.treeviewcontext.Opening += new System.ComponentModel.CancelEventHandler(this.treeviewcontext_Opening);
            // 
            // setActiveMatgToolStripMenuItem
            // 
            this.setActiveMatgToolStripMenuItem.Name = "setActiveMatgToolStripMenuItem";
            this.setActiveMatgToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.setActiveMatgToolStripMenuItem.Text = "Set as active MATG Tag";
            this.setActiveMatgToolStripMenuItem.Visible = false;
            this.setActiveMatgToolStripMenuItem.Click += new System.EventHandler(this.setActiveMatgToolStripMenuItem_Click);
            // 
            // setActiveScnrToolStripMenuItem
            // 
            this.setActiveScnrToolStripMenuItem.Name = "setActiveScnrToolStripMenuItem";
            this.setActiveScnrToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.setActiveScnrToolStripMenuItem.Text = "Set as active Scenario Tag";
            this.setActiveScnrToolStripMenuItem.Visible = false;
            this.setActiveScnrToolStripMenuItem.Click += new System.EventHandler(this.setActiveScnrToolStripMenuItem_Click);
            // 
            // renameToolStripMenuItem
            // 
            this.renameToolStripMenuItem.Name = "renameToolStripMenuItem";
            this.renameToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.renameToolStripMenuItem.Text = "Rename";
            this.renameToolStripMenuItem.Click += new System.EventHandler(this.renameToolStripMenuItem_Click);
            // 
            // duplicateToolStripMenuItem
            // 
            this.duplicateToolStripMenuItem.Name = "duplicateToolStripMenuItem";
            this.duplicateToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.duplicateToolStripMenuItem.Text = "Duplicate";
            this.duplicateToolStripMenuItem.Click += new System.EventHandler(this.duplicateToolStripMenuItem_Click);
            // 
            // duplicateRecursivelyToolStripMenuItem
            // 
            this.duplicateRecursivelyToolStripMenuItem.Name = "duplicateRecursivelyToolStripMenuItem";
            this.duplicateRecursivelyToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.duplicateRecursivelyToolStripMenuItem.Text = "Duplicate Recursively";
            this.duplicateRecursivelyToolStripMenuItem.Click += new System.EventHandler(this.duplicateRecursivelyToolStripMenuItem_Click);
            // 
            // overwriteMetaToolStripMenuItem
            // 
            this.overwriteMetaToolStripMenuItem.Name = "overwriteMetaToolStripMenuItem";
            this.overwriteMetaToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.overwriteMetaToolStripMenuItem.Text = "Overwrite Meta";
            this.overwriteMetaToolStripMenuItem.Visible = false;
            this.overwriteMetaToolStripMenuItem.Click += new System.EventHandler(this.overwriteMetaToolStripMenuItem_Click);
            // 
            // convertCEToH2ToolStripMenuItem
            // 
            this.convertCEToH2ToolStripMenuItem.Name = "convertCEToH2ToolStripMenuItem";
            this.convertCEToH2ToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.convertCEToH2ToolStripMenuItem.Text = "Convert CE to H2";
            this.convertCEToH2ToolStripMenuItem.Visible = false;
            this.convertCEToH2ToolStripMenuItem.Click += new System.EventHandler(this.convertCEToH2ToolStripMenuItem_Click);
            // 
            // removeFromQuickListToolStripMenuItem
            // 
            this.removeFromQuickListToolStripMenuItem.Name = "removeFromQuickListToolStripMenuItem";
            this.removeFromQuickListToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.removeFromQuickListToolStripMenuItem.Text = "Remove From Tag Quick List";
            this.removeFromQuickListToolStripMenuItem.Click += new System.EventHandler(this.removeFromQuickListToolStripMenuItem_Click);
            // 
            // outputListToFileToolStripMenuItem
            // 
            this.outputListToFileToolStripMenuItem.Name = "outputListToFileToolStripMenuItem";
            this.outputListToFileToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.outputListToFileToolStripMenuItem.Text = "Output List to File...";
            this.outputListToFileToolStripMenuItem.Click += new System.EventHandler(this.outputListToFileToolStripMenuItem_Click);
            // 
            // sortByToolStripMenuItem
            // 
            this.sortByToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tagTypeToolStripMenuItem,
            this.folderHierarchyToolStripMenuItem});
            this.sortByToolStripMenuItem.Name = "sortByToolStripMenuItem";
            this.sortByToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.sortByToolStripMenuItem.Text = "Sort By";
            // 
            // tagTypeToolStripMenuItem
            // 
            this.tagTypeToolStripMenuItem.Checked = true;
            this.tagTypeToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.tagTypeToolStripMenuItem.Name = "tagTypeToolStripMenuItem";
            this.tagTypeToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
            this.tagTypeToolStripMenuItem.Text = "Tag Type";
            this.tagTypeToolStripMenuItem.Click += new System.EventHandler(this.tagTypeToolStripMenuItem_Click);
            // 
            // folderHierarchyToolStripMenuItem
            // 
            this.folderHierarchyToolStripMenuItem.Name = "folderHierarchyToolStripMenuItem";
            this.folderHierarchyToolStripMenuItem.Size = new System.Drawing.Size(164, 22);
            this.folderHierarchyToolStripMenuItem.Text = "Folder Hierarchy";
            this.folderHierarchyToolStripMenuItem.Click += new System.EventHandler(this.folderHierarchyToolStripMenuItem_Click);
            // 
            // clearTagQuickListToolStripMenuItem
            // 
            this.clearTagQuickListToolStripMenuItem.Name = "clearTagQuickListToolStripMenuItem";
            this.clearTagQuickListToolStripMenuItem.Size = new System.Drawing.Size(220, 22);
            this.clearTagQuickListToolStripMenuItem.Text = "Clear Tag Quick List";
            this.clearTagQuickListToolStripMenuItem.Click += new System.EventHandler(this.clearTagQuickListToolStripMenuItem_Click);
            // 
            // openInfoFileDialog
            // 
            this.openInfoFileDialog.Filter = "Info File (*.info) | *.info";
            // 
            // displayMenu
            // 
            this.displayMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this.SwapItem,
            this.FloodfillSwapItem,
            this.JumpToTagItem,
            this.chunkclone,
            this.menuItem1});
            // 
            // SwapItem
            // 
            this.SwapItem.Index = 0;
            this.SwapItem.Text = "Swap";
            this.SwapItem.Click += new System.EventHandler(this.SwapItem_Click);
            // 
            // FloodfillSwapItem
            // 
            this.FloodfillSwapItem.Index = 1;
            this.FloodfillSwapItem.Text = "Floodfill Swap";
            this.FloodfillSwapItem.Visible = false;
            this.FloodfillSwapItem.Click += new System.EventHandler(this.FloodfillSwapItem_Click);
            // 
            // JumpToTagItem
            // 
            this.JumpToTagItem.Index = 2;
            this.JumpToTagItem.Text = "Jump to Tag";
            this.JumpToTagItem.Click += new System.EventHandler(this.JumpToTagItem_Click);
            // 
            // chunkclone
            // 
            this.chunkclone.Index = 3;
            this.chunkclone.Text = "Clone Chunk";
            this.chunkclone.Click += new System.EventHandler(this.chunkclone_Click);
            // 
            // menuItem1
            // 
            this.menuItem1.Index = 4;
            this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
            this.ShowReflex,
            this.ShowIdent,
            this.ShowString});
            this.menuItem1.Text = "Display";
            // 
            // ShowReflex
            // 
            this.ShowReflex.Index = 0;
            this.ShowReflex.Text = "Reflexives";
            this.ShowReflex.Click += new System.EventHandler(this.ShowReflex_Click);
            // 
            // ShowIdent
            // 
            this.ShowIdent.Index = 1;
            this.ShowIdent.Text = "Idents";
            this.ShowIdent.Click += new System.EventHandler(this.ShowIdent_Click);
            // 
            // ShowString
            // 
            this.ShowString.Index = 2;
            this.ShowString.Text = "Strings";
            this.ShowString.Click += new System.EventHandler(this.ShowString_Click);
            // 
            // statusStrip1
            // 
            this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.progressbar,
            this.statusbar});
            this.statusStrip1.Location = new System.Drawing.Point(0, 669);
            this.statusStrip1.Name = "statusStrip1";
            this.statusStrip1.Size = new System.Drawing.Size(899, 22);
            this.statusStrip1.TabIndex = 13;
            this.statusStrip1.Text = "statusStrip1";
            // 
            // progressbar
            // 
            this.progressbar.Name = "progressbar";
            this.progressbar.Size = new System.Drawing.Size(200, 16);
            this.progressbar.Step = 1;
            this.progressbar.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
            // 
            // statusbar
            // 
            this.statusbar.BackColor = System.Drawing.Color.LightGray;
            this.statusbar.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
                        | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
                        | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
            this.statusbar.Name = "statusbar";
            this.statusbar.Size = new System.Drawing.Size(682, 17);
            this.statusbar.Spring = true;
            this.statusbar.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // references
            // 
            this.references.AllowColumnReorder = true;
            this.references.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.references.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.refs});
            this.references.Dock = System.Windows.Forms.DockStyle.Fill;
            this.references.FullRowSelect = true;
            this.references.GridLines = true;
            this.references.HideSelection = false;
            this.references.Location = new System.Drawing.Point(0, 0);
            this.references.Name = "references";
            this.references.Size = new System.Drawing.Size(716, 669);
            this.references.TabIndex = 14;
            this.references.UseCompatibleStateImageBehavior = false;
            this.references.View = System.Windows.Forms.View.Details;
            this.references.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.references_ColumnClick);
            this.references.MouseDown += new System.Windows.Forms.MouseEventHandler(this.references_MouseDown);
            // 
            // refs
            // 
            this.refs.Text = "References";
            this.refs.Width = 5000;
            // 
            // panel2
            // 
            this.panel2.BackColor = System.Drawing.Color.SteelBlue;
            this.panel2.Controls.Add(this.btnUndock);
            this.panel2.Controls.Add(this.buttonInternalize);
            this.panel2.Controls.Add(this.button1);
            this.panel2.Controls.Add(this.toolStripContainer1);
            this.panel2.Controls.Add(this.pictureBox1);
            this.panel2.Controls.Add(this.secondaryMagicBox);
            this.panel2.Controls.Add(this.primaryMagicBox);
            this.panel2.Controls.Add(this.label4);
            this.panel2.Controls.Add(this.label6);
            this.panel2.Controls.Add(this.panel3);
            this.panel2.Controls.Add(this.signMapButton);
            this.panel2.Controls.Add(this.analyzeMapButton);
            this.panel2.Controls.Add(this.buildButton);
            this.panel2.Controls.Add(this.searchGroupBox);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel2.Location = new System.Drawing.Point(0, 0);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(179, 669);
            this.panel2.TabIndex = 16;
            // 
            // btnUndock
            // 
            this.btnUndock.BackColor = System.Drawing.Color.CornflowerBlue;
            this.btnUndock.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnUndock.Location = new System.Drawing.Point(9, 566);
            this.btnUndock.Name = "btnUndock";
            this.btnUndock.Size = new System.Drawing.Size(79, 23);
            this.btnUndock.TabIndex = 39;
            this.btnUndock.Text = "Undock";
            this.btnUndock.UseVisualStyleBackColor = false;
            this.btnUndock.Click += new System.EventHandler(this.btnUndock_Click);
            // 
            // buttonInternalize
            // 
            this.buttonInternalize.Location = new System.Drawing.Point(106, 404);
            this.buttonInternalize.Name = "buttonInternalize";
            this.buttonInternalize.Size = new System.Drawing.Size(69, 22);
            this.buttonInternalize.TabIndex = 37;
            this.buttonInternalize.Text = "Internalize";
            this.buttonInternalize.UseVisualStyleBackColor = true;
            this.buttonInternalize.Visible = false;
            this.buttonInternalize.Click += new System.EventHandler(this.buttonInternalize_Click);
            // 
            // button1
            // 
            this.button1.BackColor = System.Drawing.Color.CornflowerBlue;
            this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.button1.Location = new System.Drawing.Point(9, 537);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(78, 23);
            this.button1.TabIndex = 30;
            this.button1.Text = "Check IFPs";
            this.button1.UseVisualStyleBackColor = false;
            this.button1.Click += new System.EventHandler(this.checkIFPsButton_Click);
            // 
            // toolStripContainer1
            // 
            // 
            // toolStripContainer1.ContentPanel
            // 
            this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(179, 0);
            this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Top;
            this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
            this.toolStripContainer1.Name = "toolStripContainer1";
            this.toolStripContainer1.Size = new System.Drawing.Size(179, 25);
            this.toolStripContainer1.TabIndex = 29;
            this.toolStripContainer1.Text = "toolStripContainer1";
            // 
            // toolStripContainer1.TopToolStripPanel
            // 
            this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1);
            // 
            // toolStrip1
            // 
            this.toolStrip1.AutoSize = false;
            this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
            this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripDropDownButton1,
            this.toolStripDropDownButton2,
            this.rawDataDropDown});
            this.toolStrip1.Location = new System.Drawing.Point(0, 0);
            this.toolStrip1.Name = "toolStrip1";
            this.toolStrip1.Size = new System.Drawing.Size(179, 25);
            this.toolStrip1.Stretch = true;
            this.toolStrip1.TabIndex = 0;
            // 
            // toolStripDropDownButton1
            // 
            this.toolStripDropDownButton1.DropDownDirection = System.Windows.Forms.ToolStripDropDownDirection.BelowLeft;
            this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.referenceEditorToolStripMenuItem,
            this.metaEditorNewToolStripMenuItem,
            this.metaEditorToolStripMenuItem,
            this.hexEditorToolStripMenuItem,
            this.toolStripSeparator2,
            this.StringEditorToolStripMenuItem,
            this.rebuilderToolStripMenuItem,
            this.fixSystemLinkToolStripMenuItem,
            this.pluginsToolStripMenuItem,
            this.exportScriptsToolStripMenuItem});
            this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";
            this.toolStripDropDownButton1.Size = new System.Drawing.Size(45, 22);
            this.toolStripDropDownButton1.Text = "Tools";
            // 
            // referenceEditorToolStripMenuItem
            // 
            this.referenceEditorToolStripMenuItem.Checked = true;
            this.referenceEditorToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.referenceEditorToolStripMenuItem.Name = "referenceEditorToolStripMenuItem";
            this.referenceEditorToolStripMenuItem.ShortcutKeyDisplayString = "F5";
            this.referenceEditorToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
            this.referenceEditorToolStripMenuItem.Text = "Reference Editor";
            this.referenceEditorToolStripMenuItem.Click += new System.EventHandler(this.referenceToolStripMenuItem_Click);
            // 
            // metaEditorNewToolStripMenuItem
            // 
            this.metaEditorNewToolStripMenuItem.Name = "metaEditorNewToolStripMenuItem";
            this.metaEditorNewToolStripMenuItem.ShortcutKeyDisplayString = "F6";
            this.metaEditorNewToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
            this.metaEditorNewToolStripMenuItem.Text = "Meta Editor Plus";
            this.metaEditorNewToolStripMenuItem.Click += new System.EventHandler(this.metaEditorNewToolStripMenuItem_Click);
            // 
            // metaEditorToolStripMenuItem
            // 
            this.metaEditorToolStripMenuItem.Name = "metaEditorToolStripMenuItem";
            this.metaEditorToolStripMenuItem.ShortcutKeyDisplayString = "F7";
            this.metaEditorToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
            this.metaEditorToolStripMenuItem.Text = "Meta Editor";
            this.metaEditorToolStripMenuItem.Click += new System.EventHandler(this.metaEditorToolStripMenuItem_Click);
            // 
            // hexEditorToolStripMenuItem
            // 
            this.hexEditorToolStripMenuItem.Name = "hexEditorToolStripMenuItem";
            this.hexEditorToolStripMenuItem.ShortcutKeyDisplayString = "F8";
            this.hexEditorToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
            this.hexEditorToolStripMenuItem.Text = "Hex Editor";
            this.hexEditorToolStripMenuItem.Click += new System.EventHandler(this.hexEditorToolStripMenuItem_Click);
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(205, 6);
            // 
            // StringEditorToolStripMenuItem
            // 
            this.StringEditorToolStripMenuItem.Name = "StringEditorToolStripMenuItem";
            this.StringEditorToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F3;
            this.StringEditorToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
            this.StringEditorToolStripMenuItem.Text = "Unicode String Viewer";
            this.StringEditorToolStripMenuItem.Click += new System.EventHandler(this.StringEditorToolStripMenuItem_Click);
            // 
            // rebuilderToolStripMenuItem
            // 
            this.rebuilderToolStripMenuItem.Name = "rebuilderToolStripMenuItem";
            this.rebuilderToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
            this.rebuilderToolStripMenuItem.Text = "Rebuilder";
            this.rebuilderToolStripMenuItem.Click += new System.EventHandler(this.rebuilderToolStripMenuItem_Click);
            // 
            // fixSystemLinkToolStripMenuItem
            // 
            this.fixSystemLinkToolStripMenuItem.Name = "fixSystemLinkToolStripMenuItem";
            this.fixSystemLinkToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
            this.fixSystemLinkToolStripMenuItem.Text = "Fix System Link";
            this.fixSystemLinkToolStripMenuItem.Click += new System.EventHandler(this.fixSystemLinkToolStripMenuItem_Click);
            // 
            // pluginsToolStripMenuItem
            // 
            this.pluginsToolStripMenuItem.Name = "pluginsToolStripMenuItem";
            this.pluginsToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
            this.pluginsToolStripMenuItem.Text = "Plugins";
            // 
            // exportScriptsToolStripMenuItem
            // 
            this.exportScriptsToolStripMenuItem.Name = "exportScriptsToolStripMenuItem";
            this.exportScriptsToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
            this.exportScriptsToolStripMenuItem.Text = "Export Scripts";
            this.exportScriptsToolStripMenuItem.Visible = false;
            this.exportScriptsToolStripMenuItem.Click += new System.EventHandler(this.exportScriptsToolStripMenuItem_Click);
            // 
            // toolStripDropDownButton2
            // 
            this.toolStripDropDownButton2.DropDownDirection = System.Windows.Forms.ToolStripDropDownDirection.BelowLeft;
            this.toolStripDropDownButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.metaTreeToolStripMenuItem,
            this.toolsToolStripMenuItem});
            this.toolStripDropDownButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripDropDownButton2.Name = "toolStripDropDownButton2";
            this.toolStripDropDownButton2.Size = new System.Drawing.Size(54, 22);
            this.toolStripDropDownButton2.Text = "Display";
            this.toolStripDropDownButton2.TextDirection = System.Windows.Forms.ToolStripTextDirection.Horizontal;
            // 
            // metaTreeToolStripMenuItem
            // 
            this.metaTreeToolStripMenuItem.Checked = true;
            this.metaTreeToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.metaTreeToolStripMenuItem.Name = "metaTreeToolStripMenuItem";
            this.metaTreeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T)));
            this.metaTreeToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
            this.metaTreeToolStripMenuItem.Text = "Meta Tree";
            this.metaTreeToolStripMenuItem.Click += new System.EventHandler(this.metaListToolStripMenuItem_Click);
            // 
            // toolsToolStripMenuItem
            // 
            this.toolsToolStripMenuItem.Checked = true;
            this.toolsToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
            this.toolsToolStripMenuItem.Size = new System.Drawing.Size(172, 22);
            this.toolsToolStripMenuItem.Text = "Tools";
            this.toolsToolStripMenuItem.Click += new System.EventHandler(this.toolsWindowToolStripMenuItem_Click);
            // 
            // rawDataDropDown
            // 
            this.rawDataDropDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.rawDataDropDown.DropDownDirection = System.Windows.Forms.ToolStripDropDownDirection.BelowLeft;
            this.rawDataDropDown.Enabled = false;
            this.rawDataDropDown.Image = ((System.Drawing.Image)(resources.GetObject("rawDataDropDown.Image")));
            this.rawDataDropDown.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.rawDataDropDown.Name = "rawDataDropDown";
            this.rawDataDropDown.Size = new System.Drawing.Size(29, 22);
            this.rawDataDropDown.Text = "toolStripDropDownButton3";
            // 
            // pictureBox1
            // 
            this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
            this.pictureBox1.ContextMenuStrip = this.BitmapContextStrip;
            this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
            this.pictureBox1.Location = new System.Drawing.Point(7, 271);
            this.pictureBox1.Name = "pictureBox1";
            this.pictureBox1.Size = new System.Drawing.Size(168, 155);
            this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.pictureBox1.TabIndex = 28;
            this.pictureBox1.TabStop = false;
            this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click);
            // 
            // BitmapContextStrip
            // 
            this.BitmapContextStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.saveBitmapToolStripMenuItem,
            this.injectBitmapToolStripMenuItem,
            this.convertToBumpMapToolStripMenuItem,
            this.bitmapEditorToolStripMenuItem,
            this.showAnimatedBitmapsToolStripMenuItem});
            this.BitmapContextStrip.Name = "contextMenuStrip1";
            this.BitmapContextStrip.Size = new System.Drawing.Size(200, 136);
            // 
            // saveBitmapToolStripMenuItem
            // 
            this.saveBitmapToolStripMenuItem.Name = "saveBitmapToolStripMenuItem";
            this.saveBitmapToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
            this.saveBitmapToolStripMenuItem.Text = "Save Bitmap";
            this.saveBitmapToolStripMenuItem.Click += new System.EventHandler(this.saveBitmapToolStripMenuItem_Click);
            // 
            // injectBitmapToolStripMenuItem
            // 
            this.injectBitmapToolStripMenuItem.Name = "injectBitmapToolStripMenuItem";
            this.injectBitmapToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
            this.injectBitmapToolStripMenuItem.Text = "Inject Bitmap";
            this.injectBitmapToolStripMenuItem.Click += new System.EventHandler(this.injectBitmapToolStripMenuItem_Click);
            // 
            // convertToBumpMapToolStripMenuItem
            // 
            this.convertToBumpMapToolStripMenuItem.Name = "convertToBumpMapToolStripMenuItem";
            this.convertToBumpMapToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
            this.convertToBumpMapToolStripMenuItem.Text = "Convert To BumpMap";
            this.convertToBumpMapToolStripMenuItem.Click += new System.EventHandler(this.convertToBumpMapToolStripMenuItem_Click);
            // 
            // bitmapEditorToolStripMenuItem
            // 
            this.bitmapEditorToolStripMenuItem.Name = "bitmapEditorToolStripMenuItem";
            this.bitmapEditorToolStripMenuItem.ShortcutKeyDisplayString = "F9";
            this.bitmapEditorToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
            this.bitmapEditorToolStripMenuItem.Text = "Bitmap Editor";
            this.bitmapEditorToolStripMenuItem.Click += new System.EventHandler(this.bitmapEditorToolStripMenuItem_Click);
            // 
            // secondaryMagicBox
            // 
            this.secondaryMagicBox.BackColor = System.Drawing.Color.SteelBlue;
            this.secondaryMagicBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.secondaryMagicBox.Location = new System.Drawing.Point(16, 481);
            this.secondaryMagicBox.Name = "secondaryMagicBox";
            this.secondaryMagicBox.ReadOnly = true;
            this.secondaryMagicBox.Size = new System.Drawing.Size(160, 16);
            this.secondaryMagicBox.TabIndex = 27;
            this.secondaryMagicBox.Text = "";
            // 
            // primaryMagicBox
            // 
            this.primaryMagicBox.BackColor = System.Drawing.Color.SteelBlue;
            this.primaryMagicBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.primaryMagicBox.Location = new System.Drawing.Point(16, 447);
            this.primaryMagicBox.Name = "primaryMagicBox";
            this.primaryMagicBox.ReadOnly = true;
            this.primaryMagicBox.Size = new System.Drawing.Size(160, 16);
            this.primaryMagicBox.TabIndex = 26;
            this.primaryMagicBox.Text = "";
            // 
            // label4
            // 
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.label4.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label4.Location = new System.Drawing.Point(12, 464);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(162, 16);
            this.label4.TabIndex = 25;
            this.label4.Text = "Secondary Magic:";
            // 
            // label6
            // 
            this.label6.BackColor = System.Drawing.Color.Transparent;
            this.label6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.label6.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label6.Location = new System.Drawing.Point(12, 429);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(162, 16);
            this.label6.TabIndex = 24;
            this.label6.Text = "Primary Magic:";
            // 
            // panel3
            // 
            this.panel3.BackColor = System.Drawing.Color.WhiteSmoke;
            this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel3.Controls.Add(this.metaRawBox);
            this.panel3.Controls.Add(this.lblRawSize);
            this.panel3.Controls.Add(this.scanbspwithifp);
            this.panel3.Controls.Add(this.soundsCheckBox);
            this.panel3.Controls.Add(this.recursiveCheckBox);
            this.panel3.Controls.Add(this.parsedCheckBox);
            this.panel3.Controls.Add(this.loadMetaButton);
            this.panel3.Controls.Add(this.saveMetaButton);
            this.panel3.Controls.Add(this.metaTypeBox);
            this.panel3.Controls.Add(this.label2);
            this.panel3.Controls.Add(this.metaIdentBox);
            this.panel3.Controls.Add(this.metaSizeBox);
            this.panel3.Controls.Add(this.metaOffsetBox);
            this.panel3.Controls.Add(this.label5);
            this.panel3.Controls.Add(this.label3);
            this.panel3.Controls.Add(this.label1);
            this.panel3.Location = new System.Drawing.Point(7, 30);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(168, 235);
            this.panel3.TabIndex = 19;
            // 
            // metaRawBox
            // 
            this.metaRawBox.BackColor = System.Drawing.Color.WhiteSmoke;
            this.metaRawBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.metaRawBox.Location = new System.Drawing.Point(57, 118);
            this.metaRawBox.Name = "metaRawBox";
            this.metaRawBox.ReadOnly = true;
            this.metaRawBox.Size = new System.Drawing.Size(100, 32);
            this.metaRawBox.TabIndex = 34;
            this.metaRawBox.Text = "";
            // 
            // lblRawSize
            // 
            this.lblRawSize.BackColor = System.Drawing.Color.Transparent;
            this.lblRawSize.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.lblRawSize.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblRawSize.Location = new System.Drawing.Point(8, 116);
            this.lblRawSize.Name = "lblRawSize";
            this.lblRawSize.Size = new System.Drawing.Size(60, 19);
            this.lblRawSize.TabIndex = 33;
            this.lblRawSize.Text = "Raw:";
            // 
            // scanbspwithifp
            // 
            this.scanbspwithifp.BackColor = System.Drawing.Color.Transparent;
            this.scanbspwithifp.Checked = true;
            this.scanbspwithifp.CheckState = System.Windows.Forms.CheckState.Checked;
            this.scanbspwithifp.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.scanbspwithifp.Location = new System.Drawing.Point(74, 205);
            this.scanbspwithifp.Name = "scanbspwithifp";
            this.scanbspwithifp.Size = new System.Drawing.Size(93, 24);
            this.scanbspwithifp.TabIndex = 32;
            this.scanbspwithifp.Text = "Scan With Ent";
            this.scanbspwithifp.UseVisualStyleBackColor = false;
            // 
            // soundsCheckBox
            // 
            this.soundsCheckBox.BackColor = System.Drawing.Color.Transparent;
            this.soundsCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.soundsCheckBox.Location = new System.Drawing.Point(8, 204);
            this.soundsCheckBox.Name = "soundsCheckBox";
            this.soundsCheckBox.Size = new System.Drawing.Size(76, 24);
            this.soundsCheckBox.TabIndex = 31;
            this.soundsCheckBox.Text = "Sounds";
            this.soundsCheckBox.UseVisualStyleBackColor = false;
            // 
            // recursiveCheckBox
            // 
            this.recursiveCheckBox.BackColor = System.Drawing.Color.Transparent;
            this.recursiveCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.recursiveCheckBox.Location = new System.Drawing.Point(8, 156);
            this.recursiveCheckBox.Name = "recursiveCheckBox";
            this.recursiveCheckBox.Size = new System.Drawing.Size(76, 24);
            this.recursiveCheckBox.TabIndex = 30;
            this.recursiveCheckBox.Text = "Recursive";
            this.recursiveCheckBox.UseVisualStyleBackColor = false;
            // 
            // parsedCheckBox
            // 
            this.parsedCheckBox.BackColor = System.Drawing.Color.Transparent;
            this.parsedCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.parsedCheckBox.Location = new System.Drawing.Point(8, 180);
            this.parsedCheckBox.Name = "parsedCheckBox";
            this.parsedCheckBox.Size = new System.Drawing.Size(76, 24);
            this.parsedCheckBox.TabIndex = 29;
            this.parsedCheckBox.Text = "Parsed";
            this.parsedCheckBox.UseVisualStyleBackColor = false;
            this.parsedCheckBox.CheckedChanged += new System.EventHandler(this.parsedCheckBox_CheckedChanged_1);
            // 
            // loadMetaButton
            // 
            this.loadMetaButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.loadMetaButton.Location = new System.Drawing.Point(84, 181);
            this.loadMetaButton.Name = "loadMetaButton";
            this.loadMetaButton.Size = new System.Drawing.Size(75, 23);
            this.loadMetaButton.TabIndex = 28;
            this.loadMetaButton.Text = "Inject";
            this.loadMetaButton.Click += new System.EventHandler(this.loadMetaButton_Click_1);
            // 
            // saveMetaButton
            // 
            this.saveMetaButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.saveMetaButton.Location = new System.Drawing.Point(84, 157);
            this.saveMetaButton.Name = "saveMetaButton";
            this.saveMetaButton.Size = new System.Drawing.Size(75, 23);
            this.saveMetaButton.TabIndex = 27;
            this.saveMetaButton.Text = "Save";
            this.saveMetaButton.Click += new System.EventHandler(this.saveMetaButton_Click);
            // 
            // metaTypeBox
            // 
            this.metaTypeBox.BackColor = System.Drawing.Color.WhiteSmoke;
            this.metaTypeBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.metaTypeBox.Location = new System.Drawing.Point(57, 97);
            this.metaTypeBox.Name = "metaTypeBox";
            this.metaTypeBox.ReadOnly = true;
            this.metaTypeBox.Size = new System.Drawing.Size(100, 16);
            this.metaTypeBox.TabIndex = 26;
            this.metaTypeBox.Text = "";
            // 
            // label2
            // 
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.label2.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.Location = new System.Drawing.Point(8, 95);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(60, 16);
            this.label2.TabIndex = 25;
            this.label2.Text = "Type:";
            // 
            // metaIdentBox
            // 
            this.metaIdentBox.BackColor = System.Drawing.Color.WhiteSmoke;
            this.metaIdentBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.metaIdentBox.Location = new System.Drawing.Point(57, 77);
            this.metaIdentBox.Name = "metaIdentBox";
            this.metaIdentBox.ReadOnly = true;
            this.metaIdentBox.Size = new System.Drawing.Size(100, 16);
            this.metaIdentBox.TabIndex = 24;
            this.metaIdentBox.Text = "";
            // 
            // metaSizeBox
            // 
            this.metaSizeBox.BackColor = System.Drawing.Color.WhiteSmoke;
            this.metaSizeBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.metaSizeBox.Location = new System.Drawing.Point(57, 46);
            this.metaSizeBox.Name = "metaSizeBox";
            this.metaSizeBox.ReadOnly = true;
            this.metaSizeBox.Size = new System.Drawing.Size(100, 32);
            this.metaSizeBox.TabIndex = 23;
            this.metaSizeBox.Text = "";
            // 
            // metaOffsetBox
            // 
            this.metaOffsetBox.BackColor = System.Drawing.Color.WhiteSmoke;
            this.metaOffsetBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.metaOffsetBox.Location = new System.Drawing.Point(57, 10);
            this.metaOffsetBox.Name = "metaOffsetBox";
            this.metaOffsetBox.ReadOnly = true;
            this.metaOffsetBox.Size = new System.Drawing.Size(100, 32);
            this.metaOffsetBox.TabIndex = 22;
            this.metaOffsetBox.Text = "";
            // 
            // label5
            // 
            this.label5.BackColor = System.Drawing.Color.Transparent;
            this.label5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.label5.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label5.Location = new System.Drawing.Point(8, 75);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(60, 16);
            this.label5.TabIndex = 19;
            this.label5.Text = "Ident:";
            // 
            // label3
            // 
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.label3.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label3.Location = new System.Drawing.Point(8, 44);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(60, 16);
            this.label3.TabIndex = 17;
            this.label3.Text = "Size:";
            // 
            // label1
            // 
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.label1.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label1.Location = new System.Drawing.Point(8, 8);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(60, 16);
            this.label1.TabIndex = 15;
            this.label1.Text = "Offset:";
            // 
            // signMapButton
            // 
            this.signMapButton.BackColor = System.Drawing.Color.CornflowerBlue;
            this.signMapButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.signMapButton.Location = new System.Drawing.Point(9, 508);
            this.signMapButton.Name = "signMapButton";
            this.signMapButton.Size = new System.Drawing.Size(78, 23);
            this.signMapButton.TabIndex = 18;
            this.signMapButton.Text = "Sign";
            this.signMapButton.UseVisualStyleBackColor = false;
            this.signMapButton.Click += new System.EventHandler(this.signMapButton_Click_1);
            // 
            // analyzeMapButton
            // 
            this.analyzeMapButton.BackColor = System.Drawing.Color.CornflowerBlue;
            this.analyzeMapButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.analyzeMapButton.Location = new System.Drawing.Point(96, 537);
            this.analyzeMapButton.Name = "analyzeMapButton";
            this.analyzeMapButton.Size = new System.Drawing.Size(78, 23);
            this.analyzeMapButton.TabIndex = 12;
            this.analyzeMapButton.Text = "Analyze Map";
            this.analyzeMapButton.UseVisualStyleBackColor = false;
            this.analyzeMapButton.Click += new System.EventHandler(this.analyzeMapButton_Click_1);
            // 
            // buildButton
            // 
            this.buildButton.BackColor = System.Drawing.Color.CornflowerBlue;
            this.buildButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.buildButton.Location = new System.Drawing.Point(96, 508);
            this.buildButton.Name = "buildButton";
            this.buildButton.Size = new System.Drawing.Size(78, 23);
            this.buildButton.TabIndex = 11;
            this.buildButton.Text = "Build";
            this.buildButton.UseVisualStyleBackColor = false;
            this.buildButton.Click += new System.EventHandler(this.buildButton_Click_1);
            // 
            // searchGroupBox
            // 
            this.searchGroupBox.Controls.Add(this.searchLabel);
            this.searchGroupBox.Controls.Add(this.searchButton);
            this.searchGroupBox.Controls.Add(this.searchTextBox);
            this.searchGroupBox.Controls.Add(this.searchComboBox);
            this.searchGroupBox.Enabled = false;
            this.searchGroupBox.Location = new System.Drawing.Point(4, 591);
            this.searchGroupBox.Name = "searchGroupBox";
            this.searchGroupBox.Size = new System.Drawing.Size(175, 70);
            this.searchGroupBox.TabIndex = 36;
            this.searchGroupBox.TabStop = false;
            this.searchGroupBox.Text = "Meta Search";
            this.searchGroupBox.Visible = false;
            // 
            // searchLabel
            // 
            this.searchLabel.Location = new System.Drawing.Point(3, 45);
            this.searchLabel.Name = "searchLabel";
            this.searchLabel.Size = new System.Drawing.Size(62, 18);
            this.searchLabel.TabIndex = 35;
            this.searchLabel.Text = "Search In :";
            // 
            // searchButton
            // 
            this.searchButton.Location = new System.Drawing.Point(123, 15);
            this.searchButton.Name = "searchButton";
            this.searchButton.Size = new System.Drawing.Size(49, 22);
            this.searchButton.TabIndex = 34;
            this.searchButton.Text = "&Search";
            this.searchButton.UseVisualStyleBackColor = true;
            this.searchButton.Click += new System.EventHandler(this.searchButton_Click);
            // 
            // searchTextBox
            // 
            this.searchTextBox.Location = new System.Drawing.Point(8, 17);
            this.searchTextBox.Name = "searchTextBox";
            this.searchTextBox.Size = new System.Drawing.Size(114, 20);
            this.searchTextBox.TabIndex = 2;
            this.searchTextBox.Text = "<Enter Search Here>";
            this.searchTextBox.Click += new System.EventHandler(this.searchTextBox_Click);
            this.searchTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.searchTextBox_KeyPress);
            this.searchTextBox.Enter += new System.EventHandler(this.searchTextBox_Enter);
            // 
            // searchComboBox
            // 
            this.searchComboBox.CausesValidation = false;
            this.searchComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.searchComboBox.FormattingEnabled = true;
            this.searchComboBox.Items.AddRange(new object[] {
            "Current Tag",
            "All Tags"});
            this.searchComboBox.Location = new System.Drawing.Point(64, 42);
            this.searchComboBox.Name = "searchComboBox";
            this.searchComboBox.Size = new System.Drawing.Size(108, 21);
            this.searchComboBox.TabIndex = 3;
            // 
            // button3
            // 
            this.button3.Location = new System.Drawing.Point(76, 17);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(67, 19);
            this.button3.TabIndex = 42;
            this.button3.Text = "Edit";
            this.button3.UseVisualStyleBackColor = true;
            this.button3.Click += new System.EventHandler(this.customPLuginEdit_Click);
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(3, 17);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(73, 19);
            this.button2.TabIndex = 41;
            this.button2.Text = "New";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.customPLugin_New_Click);
            // 
            // comboBox1
            // 
            this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.comboBox1.FormattingEnabled = true;
            this.comboBox1.Items.AddRange(new object[] {
            "Complete Plugin Set"});
            this.comboBox1.Location = new System.Drawing.Point(3, 39);
            this.comboBox1.Name = "comboBox1";
            this.comboBox1.Size = new System.Drawing.Size(165, 21);
            this.comboBox1.TabIndex = 43;
            this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.customPLugins_comboBox1_SelectedIndexChanged);
            // 
            // splitContainer1
            // 
            this.splitContainer1.BackColor = System.Drawing.Color.SteelBlue;
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.Location = new System.Drawing.Point(0, 0);
            this.splitContainer1.Name = "splitContainer1";
            // 
            // splitContainer1.Panel1
            // 
            this.splitContainer1.Panel1.BackColor = System.Drawing.Color.SteelBlue;
            this.splitContainer1.Panel1.Controls.Add(this.splitContainer3);
            // 
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
            this.splitContainer1.Panel2.Controls.Add(this.statusStrip1);
            this.splitContainer1.Size = new System.Drawing.Size(1094, 691);
            this.splitContainer1.SplitterDistance = 192;
            this.splitContainer1.SplitterWidth = 3;
            this.splitContainer1.TabIndex = 17;
            // 
            // splitContainer3
            // 
            this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer3.IsSplitterFixed = true;
            this.splitContainer3.Location = new System.Drawing.Point(0, 0);
            this.splitContainer3.Name = "splitContainer3";
            this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // splitContainer3.Panel1
            // 
            this.splitContainer3.Panel1.Controls.Add(this.toolStrip2);
            // 
            // splitContainer3.Panel2
            // 
            this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
            this.splitContainer3.Size = new System.Drawing.Size(192, 691);
            this.splitContainer3.SplitterDistance = 25;
            this.splitContainer3.SplitterWidth = 2;
            this.splitContainer3.TabIndex = 2;
            this.splitContainer3.TabStop = false;
            // 
            // toolStrip2
            // 
            this.toolStrip2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripTagView,
            this.toolStripFolderView,
            this.toolStripSeparator1,
            this.toolStripBSPEditor,
            this.toolStripInfoView,
            this.toolStripHistoryList});
            this.toolStrip2.Location = new System.Drawing.Point(0, 0);
            this.toolStrip2.Name = "toolStrip2";
            this.toolStrip2.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
            this.toolStrip2.Size = new System.Drawing.Size(192, 25);
            this.toolStrip2.TabIndex = 1;
            this.toolStrip2.Text = "toolStrip2";
            // 
            // toolStripTagView
            // 
            this.toolStripTagView.Checked = true;
            this.toolStripTagView.CheckOnClick = true;
            this.toolStripTagView.CheckState = System.Windows.Forms.CheckState.Checked;
            this.toolStripTagView.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripTagView.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripTagView.Name = "toolStripTagView";
            this.toolStripTagView.Size = new System.Drawing.Size(34, 20);
            this.toolStripTagView.Text = "Tags";
            this.toolStripTagView.ToolTipText = "Show Tag Type View";
            this.toolStripTagView.Click += new System.EventHandler(this.tagTypeToolStripMenuItem_Click);
            // 
            // toolStripFolderView
            // 
            this.toolStripFolderView.CheckOnClick = true;
            this.toolStripFolderView.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripFolderView.Image = ((System.Drawing.Image)(resources.GetObject("toolStripFolderView.Image")));
            this.toolStripFolderView.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripFolderView.Name = "toolStripFolderView";
            this.toolStripFolderView.Size = new System.Drawing.Size(46, 20);
            this.toolStripFolderView.Text = "Folders";
            this.toolStripFolderView.ToolTipText = "Show Folders View";
            this.toolStripFolderView.Click += new System.EventHandler(this.folderHierarchyToolStripMenuItem_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 23);
            // 
            // toolStripBSPEditor
            // 
            this.toolStripBSPEditor.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripBSPEditor.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripBSPEditor.Image = ((System.Drawing.Image)(resources.GetObject("toolStripBSPEditor.Image")));
            this.toolStripBSPEditor.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripBSPEditor.Name = "toolStripBSPEditor";
            this.toolStripBSPEditor.Size = new System.Drawing.Size(69, 20);
            this.toolStripBSPEditor.Text = "Visual Editor";
            this.toolStripBSPEditor.ToolTipText = "BSP Visual Editor";
            this.toolStripBSPEditor.Click += new System.EventHandler(this.toolStripBSPEditor_Click);
            // 
            // toolStripInfoView
            // 
            this.toolStripInfoView.CheckOnClick = true;
            this.toolStripInfoView.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripInfoView.Image = ((System.Drawing.Image)(resources.GetObject("toolStripInfoView.Image")));
            this.toolStripInfoView.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripInfoView.Name = "toolStripInfoView";
            this.toolStripInfoView.Size = new System.Drawing.Size(31, 17);
            this.toolStripInfoView.Text = "Info";
            this.toolStripInfoView.Click += new System.EventHandler(this.infoHierarchyToolStripMenuItem_Click);
            // 
            // toolStripHistoryList
            // 
            this.toolStripHistoryList.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.toolStripHistoryList.Image = ((System.Drawing.Image)(resources.GetObject("toolStripHistoryList.Image")));
            this.toolStripHistoryList.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripHistoryList.Name = "toolStripHistoryList";
            this.toolStripHistoryList.Size = new System.Drawing.Size(29, 20);
            this.toolStripHistoryList.Text = "Session Tag History";
            // 
            // splitContainer4
            // 
            this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer4.Location = new System.Drawing.Point(0, 0);
            this.splitContainer4.Name = "splitContainer4";
            this.splitContainer4.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
            // splitContainer4.Panel1
            // 
            this.splitContainer4.Panel1.Controls.Add(this.treeView1);
            // 
            // splitContainer4.Panel2
            // 
            this.splitContainer4.Panel2.Controls.Add(this.LowerOptionsBar);
            this.splitContainer4.Panel2.Controls.Add(this.buttonLowerOptions);
            this.splitContainer4.Size = new System.Drawing.Size(192, 664);
            this.splitContainer4.SplitterDistance = 527;
            this.splitContainer4.SplitterWidth = 2;
            this.splitContainer4.TabIndex = 2;
            // 
            // LowerOptionsBar
            // 
            this.LowerOptionsBar.BackColor = System.Drawing.Color.LightGray;
            this.LowerOptionsBar.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
            this.LowerOptionsBar.Controls.Add(this.groupBox1);
            this.LowerOptionsBar.Controls.Add(this.renameMapButton);
            this.LowerOptionsBar.Dock = System.Windows.Forms.DockStyle.Fill;
            this.LowerOptionsBar.Location = new System.Drawing.Point(0, 0);
            this.LowerOptionsBar.Name = "LowerOptionsBar";
            this.LowerOptionsBar.Size = new System.Drawing.Size(192, 113);
            this.LowerOptionsBar.TabIndex = 1;
            this.LowerOptionsBar.Tag = false;
            // 
            // groupBox1
            // 
            this.groupBox1.Controls.Add(this.button3);
            this.groupBox1.Controls.Add(this.button2);
            this.groupBox1.Controls.Add(this.comboBox1);
            this.groupBox1.Location = new System.Drawing.Point(3, 37);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(203, 66);
            this.groupBox1.TabIndex = 40;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "Custom Plugin Selector (ME1 Only)";
            // 
            // renameMapButton
            // 
            this.renameMapButton.Location = new System.Drawing.Point(6, 8);
            this.renameMapButton.Name = "renameMapButton";
            this.renameMapButton.Size = new System.Drawing.Size(100, 23);
            this.renameMapButton.TabIndex = 39;
            this.renameMapButton.Text = "Rename Map";
            this.renameMapButton.UseVisualStyleBackColor = true;
            this.renameMapButton.Click += new System.EventHandler(this.renameMapButton_Click);
            // 
            // buttonLowerOptions
            // 
            this.buttonLowerOptions.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            this.buttonLowerOptions.Cursor = System.Windows.Forms.Cursors.PanSouth;
            this.buttonLowerOptions.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.buttonLowerOptions.Location = new System.Drawing.Point(0, 113);
            this.buttonLowerOptions.Name = "buttonLowerOptions";
            this.buttonLowerOptions.Size = new System.Drawing.Size(192, 22);
            this.buttonLowerOptions.TabIndex = 0;
            this.buttonLowerOptions.Text = "Close Options";
            this.buttonLowerOptions.UseVisualStyleBackColor = true;
            this.buttonLowerOptions.Click += new System.EventHandler(this.closeOpenCustomPluginOptionsbutton4_Click);
            // 
            // splitContainer2
            // 
            this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
            this.splitContainer2.Location = new System.Drawing.Point(0, 0);
            this.splitContainer2.Name = "splitContainer2";
            // 
            // splitContainer2.Panel1
            // 
            this.splitContainer2.Panel1.Controls.Add(this.references);
            this.splitContainer2.Panel1.Controls.Add(this.MetaEditor2Panel);
            this.splitContainer2.Panel1.Controls.Add(this.hexView1);
            this.splitContainer2.Panel1.Controls.Add(this.ltmpTools);
            this.splitContainer2.Panel1.Controls.Add(this.MetaEditorPanel);
            this.splitContainer2.Panel1.Controls.Add(this.LibraryPanel);
            // 
            // splitContainer2.Panel2
            // 
            this.splitContainer2.Panel2.Controls.Add(this.panel2);
            this.splitContainer2.Size = new System.Drawing.Size(899, 669);
            this.splitContainer2.SplitterDistance = 716;
            this.splitContainer2.TabIndex = 14;
            // 
            // MetaEditor2Panel
            // 
            this.MetaEditor2Panel.BackColor = System.Drawing.Color.DimGray;
            this.MetaEditor2Panel.Dock = System.Windows.Forms.DockStyle.Fill;
            this.MetaEditor2Panel.Location = new System.Drawing.Point(0, 0);
            this.MetaEditor2Panel.Name = "MetaEditor2Panel";
            this.MetaEditor2Panel.Size = new System.Drawing.Size(716, 669);
            this.MetaEditor2Panel.TabIndex = 16;
            this.MetaEditor2Panel.Visible = false;
            // 
            // hexView1
            // 
            this.hexView1.BackColor = System.Drawing.Color.DarkGray;
            this.hexView1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.hexView1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.hexView1.Enabled = false;
            this.hexView1.Location = new System.Drawing.Point(0, 0);
            this.hexView1.Name = "hexView1";
            this.hexView1.Padding = new System.Windows.Forms.Padding(10);
            this.hexView1.Size = new System.Drawing.Size(716, 669);
            this.hexView1.TabIndex = 0;
            this.hexView1.Visible = false;
            // 
            // ltmpTools
            // 
            this.ltmpTools.AutoScroll = true;
            this.ltmpTools.BackColor = System.Drawing.Color.White;
            this.ltmpTools.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ltmpTools.Location = new System.Drawing.Point(0, 0);
            this.ltmpTools.Name = "ltmpTools";
            this.ltmpTools.Size = new System.Drawing.Size(716, 669);
            this.ltmpTools.TabIndex = 17;
            // 
            // MetaEditorPanel
            // 
            this.MetaEditorPanel.BackColor = System.Drawing.Color.PeachPuff;
            this.MetaEditorPanel.Controls.Add(this.metaEditor1);
            this.MetaEditorPanel.Dock = System.Windows.Forms.DockStyle.Fill;
            this.MetaEditorPanel.Location = new System.Drawing.Point(0, 0);
            this.MetaEditorPanel.Name = "MetaEditorPanel";
            this.MetaEditorPanel.Size = new System.Drawing.Size(716, 669);
            this.MetaEditorPanel.TabIndex = 15;
            this.MetaEditorPanel.Visible = false;
            // 
            // metaEditor1
            // 
            this.metaEditor1.AutoScroll = true;
            this.metaEditor1.BackColor = System.Drawing.Color.Gray;
            this.metaEditor1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.metaEditor1.Location = new System.Drawing.Point(0, 0);
            this.metaEditor1.Name = "metaEditor1";
            this.metaEditor1.Padding = new System.Windows.Forms.Padding(2);
            this.metaEditor1.Size = new System.Drawing.Size(716, 669);
            this.metaEditor1.TabIndex = 0;
            // 
            // LibraryPanel
            // 
            this.LibraryPanel.AutoScroll = true;
            this.LibraryPanel.BackColor = System.Drawing.Color.DarkGray;
            this.LibraryPanel.Dock = System.Windows.Forms.DockStyle.Fill;
            this.LibraryPanel.Location = new System.Drawing.Point(0, 0);
            this.LibraryPanel.Name = "LibraryPanel";
            this.LibraryPanel.Size = new System.Drawing.Size(716, 669);
            this.LibraryPanel.TabIndex = 16;
            this.LibraryPanel.Visible = false;
            // 
            // toolStripBSPEditorDropDown
            // 
            this.toolStripBSPEditorDropDown.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripBSPEditorDropDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.toolStripBSPEditorDropDown.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripBSPEditorDropDown.Name = "toolStripBSPEditorDropDown";
            this.toolStripBSPEditorDropDown.Size = new System.Drawing.Size(29, 20);
            this.toolStripBSPEditorDropDown.Text = "Visual Editor";
            this.toolStripBSPEditorDropDown.ToolTipText = "BSP Visual Editor";
            this.toolStripBSPEditorDropDown.Click += new System.EventHandler(this.toolStripBSPEditor_Click);
            // 
            // toolStripProgressBar1
            // 
            this.toolStripProgressBar1.Name = "toolStripProgressBar1";
            this.toolStripProgressBar1.Size = new System.Drawing.Size(100, 16);
            // 
            // saveBitmapDialog1
            // 
            this.saveBitmapDialog1.Filter = "DDS  (*.DDS) | *.DDS|Bitmap (*.BMP) | *.BMP|Jpg (*.JPG) | *.JPG";
            // 
            // ModelContextStrip
            // 
            this.ModelContextStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.viewModelToolStripMenuItem,
            this.exportModelToolStripMenuItem,
            this.exportMeshToolStripMenuItem,
            this.injectMeshesToolStripMenuItem});
            this.ModelContextStrip.Name = "contextMenuStrip2";
            this.ModelContextStrip.Size = new System.Drawing.Size(157, 92);
            // 
            // viewModelToolStripMenuItem
            // 
            this.viewModelToolStripMenuItem.Name = "viewModelToolStripMenuItem";
            this.viewModelToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
            this.viewModelToolStripMenuItem.Text = "View Model";
            this.viewModelToolStripMenuItem.Click += new System.EventHandler(this.viewModelToolStripMenuItem_Click);
            // 
            // exportModelToolStripMenuItem
            // 
            this.exportModelToolStripMenuItem.DropDownDirection = System.Windows.Forms.ToolStripDropDownDirection.BelowLeft;
            this.exportModelToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toOBJToolStripMenuItem,
            this.toXToolStripMenuItem});
            this.exportModelToolStripMenuItem.Name = "exportModelToolStripMenuItem";
            this.exportModelToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
            this.exportModelToolStripMenuItem.Text = "Export Meshes";
            // 
            // toOBJToolStripMenuItem
            // 
            this.toOBJToolStripMenuItem.Name = "toOBJToolStripMenuItem";
            this.toOBJToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
            this.toOBJToolStripMenuItem.Text = "To .OBJ";
            this.toOBJToolStripMenuItem.Click += new System.EventHandler(this.toOBJToolStripMenuItem_Click);
            // 
            // toXToolStripMenuItem
            // 
            this.toXToolStripMenuItem.Name = "toXToolStripMenuItem";
            this.toXToolStripMenuItem.Size = new System.Drawing.Size(123, 22);
            this.toXToolStripMenuItem.Text = "To .X";
            this.toXToolStripMenuItem.Click += new System.EventHandler(this.toXToolStripMenuItem_Click);
            // 
            // exportMeshToolStripMenuItem
            // 
            this.exportMeshToolStripMenuItem.Name = "exportMeshToolStripMenuItem";
            this.exportMeshToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
            this.exportMeshToolStripMenuItem.Text = "Export Mesh";
            this.exportMeshToolStripMenuItem.Visible = false;
            this.exportMeshToolStripMenuItem.Click += new System.EventHandler(this.exportMeshToolStripMenuItem_Click);
            // 
            // injectMeshesToolStripMenuItem
            // 
            this.injectMeshesToolStripMenuItem.DropDownDirection = System.Windows.Forms.ToolStripDropDownDirection.BelowLeft;
            this.injectMeshesToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.injectOBJToolStripMenuItem});
            this.injectMeshesToolStripMenuItem.Name = "injectMeshesToolStripMenuItem";
            this.injectMeshesToolStripMenuItem.Size = new System.Drawing.Size(156, 22);
            this.injectMeshesToolStripMenuItem.Text = "Inject Meshes ";
            // 
            // injectOBJToolStripMenuItem
            // 
            this.injectOBJToolStripMenuItem.Name = "injectOBJToolStripMenuItem";
            this.injectOBJToolStripMenuItem.Size = new System.Drawing.Size(139, 22);
            this.injectOBJToolStripMenuItem.Text = "Inject .OBJ";
            this.injectOBJToolStripMenuItem.Click += new System.EventHandler(this.injectOBJToolStripMenuItem_Click);
            // 
            // BSPcontextMenu
            // 
            this.BSPcontextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.viewBSPToolStripMenuItem,
            this.viewersToolStripMenuItem,
            this.bSPCollisionToolStripMenuItem,
            this.expandMeshX3ToolStripMenuItem,
            this.makeBSPStickyToolStripMenuItem,
            this.exportOBJToolStripMenuItem,
            this.injectBSPVisualMeshToolStripMenuItem,
            this.exportMeshToOBJToolStripMenuItem,
            this.injectMeshesFromOBJToolStripMenuItem});
            this.BSPcontextMenu.Name = "BSPcontextMenu";
            this.BSPcontextMenu.Size = new System.Drawing.Size(233, 202);
            // 
            // viewBSPToolStripMenuItem
            // 
            this.viewBSPToolStripMenuItem.Name = "viewBSPToolStripMenuItem";
            this.viewBSPToolStripMenuItem.Size = new System.Drawing.Size(232, 22);
            this.viewBSPToolStripMenuItem.Text = "View BSP";
            this.viewBSPToolStripMenuItem.Click += new System.EventHandler(this.viewBSPToolStripMenuItem_Click);
            // 
            // viewersToolStripMenuItem
            // 
            this.viewersToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.bSPTreeViewerToolStripMenuItem,
            this.bspcollisionViewerToolStripMenuItem,
            this.lightmapViewerToolStripMenuItem,
            this.portalViewerToolStripMenuItem});
            this.viewersToolStripMenuItem.Name = "viewersToolStripMenuItem";
            this.viewersToolStripMenuItem.Size = new System.Drawing.Size(232, 22);
            this.viewersToolStripMenuItem.Text = "Viewers";
            // 
            // bSPTreeViewerToolStripMenuItem
            // 
            this.bSPTreeViewerToolStripMenuItem.Enabled = false;
            this.bSPTreeViewerToolStripMenuItem.Name = "bSPTreeViewerToolStripMenuItem";
            this.bSPTreeViewerToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
            this.bSPTreeViewerToolStripMenuItem.Text = "BSP Tree Viewer";
            // 
            // bspcollisionViewerToolStripMenuItem
            // 
            this.bspcollisionViewerToolStripMenuItem.Name = "bspcollisionViewerToolStripMenuItem";
            this.bspcollisionViewerToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
            this.bspcollisionViewerToolStripMenuItem.Text = "Collision Viewer";
            this.bspcollisionViewerToolStripMenuItem.Click += new System.EventHandler(this.bspcollisionViewerToolStripMenuItem_Click);
            // 
            // lightmapViewerToolStripMenuItem
            // 
            this.lightmapViewerToolStripMenuItem.Name = "lightmapViewerToolStripMenuItem";
            this.lightmapViewerToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
            this.lightmapViewerToolStripMenuItem.Text = "Lightmap Viewer";
            this.lightmapViewerToolStripMenuItem.Click += new System.EventHandler(this.lightmapViewerToolStripMenuItem_Click);
            // 
            // portalViewerToolStripMenuItem
            // 
            this.portalViewerToolStripMenuItem.Name = "portalViewerToolStripMenuItem";
            this.portalViewerToolStripMenuItem.Size = new System.Drawing.Size(163, 22);
            this.portalViewerToolStripMenuItem.Text = "Portal Viewer";
            this.portalViewerToolStripMenuItem.Click += new System.EventHandler(this.portalViewerToolStripMenuItem_Click);
            // 
            // bSPCollisionToolStripMenuItem
            // 
            this.bSPCollisionToolStripMenuItem.DropDownDirection = System.Windows.Forms.ToolStripDropDownDirection.BelowLeft;
            this.bSPCollisionToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripMenuItem2,
            this.exportCollisonToOBJToolStripMenuItem});
            this.bSPCollisionToolStripMenuItem.Name = "bSPCollisionToolStripMenuItem";
            this.bSPCollisionToolStripMenuItem.Size = new System.Drawing.Size(232, 22);
            this.bSPCollisionToolStripMenuItem.Text = "BSP Collision";
            // 
            // toolStripMenuItem2
            // 
            this.toolStripMenuItem2.Name = "toolStripMenuItem2";
            this.toolStripMenuItem2.Size = new System.Drawing.Size(208, 22);
            this.toolStripMenuItem2.Text = "Inject Collision Mesh .OBJ";
            this.toolStripMenuItem2.Click += new System.EventHandler(this.injectCollisionMeshOBJToolStripMenuItem_Click);
            // 
            // exportCollisonToOBJToolStripMenuItem
            // 
            this.exportCollisonToOBJToolStripMenuItem.Name = "exportCollisonToOBJToolStripMenuItem";
            this.exportCollisonToOBJToolStripMenuItem.Size = new System.Drawing.Size(208, 22);
            this.exportCollisonToOBJToolStripMenuItem.Text = "Export Collison to .OBJ";
            this.exportCollisonToOBJToolStripMenuItem.Click += new System.EventHandler(this.exportCollisonToOBJToolStripMenuItem_Click);
            // 
            // expandMeshX3ToolStripMenuItem
            // 
            this.expandMeshX3ToolStripMenuItem.Name = "expandMeshX3ToolStripMenuItem";
            this.expandMeshX3ToolStripMenuItem.Size = new System.Drawing.Size(232, 22);
            this.expandMeshX3ToolStripMenuItem.Text = "Expand Collision Mesh X3";
            this.expandMeshX3ToolStripMenuItem.Visible = false;
            this.expandMeshX3ToolStripMenuItem.Click += new System.EventHandler(this.expandMeshX3ToolStripMenuItem_Click);
            // 
            // makeBSPStickyToolStripMenuItem
            // 
            this.makeBSPStickyToolStripMenuItem.Name = "makeBSPStickyToolStripMenuItem";
            this.makeBSPStickyToolStripMenuItem.Size = new System.Drawing.Size(232, 22);
            this.makeBSPStickyToolStripMenuItem.Text = "Make BSP Sticky";
            this.makeBSPStickyToolStripMenuItem.Visible = false;
            this.makeBSPStickyToolStripMenuItem.Click += new System.EventHandler(this.makeBSPStickyToolStripMenuItem_Click);
            // 
            // exportOBJToolStripMenuItem
            // 
            this.exportOBJToolStripMenuItem.Name = "exportOBJToolStripMenuItem";
            this.exportOBJToolStripMenuItem.Size = new System.Drawing.Size(232, 22);
            this.exportOBJToolStripMenuItem.Text = "Export BSP Meshes to .OBJs";
            this.exportOBJToolStripMenuItem.Click += new System.EventHandler(this.exportOBJToolStripMenuItem_Click);
            // 
            // injectBSPVisualMeshToolStripMenuItem
            // 
            this.injectBSPVisualMeshToolStripMenuItem.Name = "injectBSPVisualMeshToolStripMenuItem";
            this.injectBSPVisualMeshToolStripMenuItem.Size = new System.Drawing.Size(232, 22);
            this.injectBSPVisualMeshToolStripMenuItem.Text = "Inject BSP Visual Meshes";
            this.injectBSPVisualMeshToolStripMenuItem.Click += new System.EventHandler(this.injectBSPVisualMeshToolStripMenuItem_Click);
            // 
            // exportMeshToOBJToolStripMenuItem
            // 
            this.exportMeshToOBJToolStripMenuItem.Name = "exportMeshToOBJToolStripMenuItem";
            this.exportMeshToOBJToolStripMenuItem.Size = new System.Drawing.Size(232, 22);
            this.exportMeshToOBJToolStripMenuItem.Text = "Export Meshes To Single OBJ";
            this.exportMeshToOBJToolStripMenuItem.Click += new System.EventHandler(this.exportMeshToOBJToolStripMenuItem_Click);
            // 
            // injectMeshesFromOBJToolStripMenuItem
            // 
            this.injectMeshesFromOBJToolStripMenuItem.Name = "injectMeshesFromOBJToolStripMenuItem";
            this.injectMeshesFromOBJToolStripMenuItem.Size = new System.Drawing.Size(232, 22);
            this.injectMeshesFromOBJToolStripMenuItem.Text = "Inject Meshes From Single OBJ";
            this.injectMeshesFromOBJToolStripMenuItem.Click += new System.EventHandler(this.injectMeshFromOBJToolStripMenuItem_Click);
            // 
            // collContextMenu
            // 
            this.collContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.extractMeshToOBJToolStripMenuItem,
            this.collisonViewerToolStripMenuItem});
            this.collContextMenu.Name = "collContextMenu";
            this.collContextMenu.Size = new System.Drawing.Size(188, 48);
            // 
            // extractMeshToOBJToolStripMenuItem
            // 
            this.extractMeshToOBJToolStripMenuItem.Name = "extractMeshToOBJToolStripMenuItem";
            this.extractMeshToOBJToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
            this.extractMeshToOBJToolStripMenuItem.Text = "Extract Mesh to .OBJ";
            this.extractMeshToOBJToolStripMenuItem.Click += new System.EventHandler(this.extractMeshToOBJToolStripMenuItem_Click);
            // 
            // collisonViewerToolStripMenuItem
            // 
            this.collisonViewerToolStripMenuItem.Name = "collisonViewerToolStripMenuItem";
            this.collisonViewerToolStripMenuItem.Size = new System.Drawing.Size(187, 22);
            this.collisonViewerToolStripMenuItem.Text = "Collison Viewer";
            this.collisonViewerToolStripMenuItem.Click += new System.EventHandler(this.collisonViewerToolStripMenuItem_Click);
            // 
            // saveFileDialog1
            // 
            this.saveFileDialog1.Filter = ".obj |*.obx|.X|*.X";
            // 
            // prtmcontext
            // 
            this.prtmcontext.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.viewPRTMToolStripMenuItem,
            this.extractPRTMOBJToolStripMenuItem});
            this.prtmcontext.Name = "prtmcontext";
            this.prtmcontext.Size = new System.Drawing.Size(177, 48);
            // 
            // viewPRTMToolStripMenuItem
            // 
            this.viewPRTMToolStripMenuItem.Name = "viewPRTMToolStripMenuItem";
            this.viewPRTMToolStripMenuItem.Size = new System.Drawing.Size(176, 22);
            this.viewPRTMToolStripMenuItem.Text = "View Particle Model";
            this.viewPRTMToolStripMenuItem.Click += new System.EventHandler(this.viewPRTMToolStripMenuItem_Click);
            // 
            // extractPRTMOBJToolStripMenuItem
            // 
            this.extractPRTMOBJToolStripMenuItem.Name = "extractPRTMOBJToolStripMenuItem";
            this.extractPRTMOBJToolStripMenuItem.Size = new System.Drawing.Size(176, 22);
            this.extractPRTMOBJToolStripMenuItem.Text = "Extract PRTM .OBJ";
            this.extractPRTMOBJToolStripMenuItem.Click += new System.EventHandler(this.extractPRTMOBJToolStripMenuItem_Click);
            // 
            // openBitmapDialog1
            // 
            this.openBitmapDialog1.Filter = "DDS  (*.DDS) | *.DDS";
            // 
            // timer1
            // 
            this.timer1.Interval = 80;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // showAnimatedBitmapsToolStripMenuItem
            // 
            this.showAnimatedBitmapsToolStripMenuItem.Checked = true;
            this.showAnimatedBitmapsToolStripMenuItem.CheckOnClick = true;
            this.showAnimatedBitmapsToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked;
            this.showAnimatedBitmapsToolStripMenuItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
            this.showAnimatedBitmapsToolStripMenuItem.Name = "showAnimatedBitmapsToolStripMenuItem";
            this.showAnimatedBitmapsToolStripMenuItem.Size = new System.Drawing.Size(199, 22);
            this.showAnimatedBitmapsToolStripMenuItem.Text = "Show Animated Bitmaps";
            // 
            // MapForm
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BackColor = System.Drawing.Color.DarkGray;
            this.ClientSize = new System.Drawing.Size(1094, 691);
            this.Controls.Add(this.splitContainer1);
            this.KeyPreview = true;
            this.Name = "MapForm";
            this.Text = "MapForm";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeView1_DragDrop);
            this.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView1_DragEnter);
            this.TextChanged += new System.EventHandler(this.MapForm_TextChanged);
            this.treeviewcontext.ResumeLayout(false);
            this.statusStrip1.ResumeLayout(false);
            this.statusStrip1.PerformLayout();
            this.panel2.ResumeLayout(false);
            this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
            this.toolStripContainer1.ResumeLayout(false);
            this.toolStripContainer1.PerformLayout();
            this.toolStrip1.ResumeLayout(false);
            this.toolStrip1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.BitmapContextStrip.ResumeLayout(false);
            this.panel3.ResumeLayout(false);
            this.searchGroupBox.ResumeLayout(false);
            this.searchGroupBox.PerformLayout();
            this.splitContainer1.Panel1.ResumeLayout(false);
            this.splitContainer1.Panel2.ResumeLayout(false);
            this.splitContainer1.Panel2.PerformLayout();
            this.splitContainer1.ResumeLayout(false);
            this.splitContainer3.Panel1.ResumeLayout(false);
            this.splitContainer3.Panel1.PerformLayout();
            this.splitContainer3.Panel2.ResumeLayout(false);
            this.splitContainer3.ResumeLayout(false);
            this.toolStrip2.ResumeLayout(false);
            this.toolStrip2.PerformLayout();
            this.splitContainer4.Panel1.ResumeLayout(false);
            this.splitContainer4.Panel2.ResumeLayout(false);
            this.splitContainer4.ResumeLayout(false);
            this.LowerOptionsBar.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.splitContainer2.Panel1.ResumeLayout(false);
            this.splitContainer2.Panel2.ResumeLayout(false);
            this.splitContainer2.ResumeLayout(false);
            this.MetaEditorPanel.ResumeLayout(false);
            this.ModelContextStrip.ResumeLayout(false);
            this.BSPcontextMenu.ResumeLayout(false);
            this.collContextMenu.ResumeLayout(false);
            this.prtmcontext.ResumeLayout(false);
            this.ResumeLayout(false);

        }
예제 #32
0
		public MenuBuilder(ToolStripContainer container, Dictionary<string, Image> images)
		{
			container.TopToolStripPanel.Controls.Add(menu);
			this.images = images;
		}
예제 #33
0
파일: Program.cs 프로젝트: vincenthamm/ATF
        static void Main(string[] args)
        {
            // important to call these before creating application host
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.DoEvents(); // see http://www.codeproject.com/buglist/EnableVisualStylesBug.asp?df=100&forumid=25268&exp=0&select=984714

            // Set up localization support early on, so that user-readable strings will be localized
            //  during the initialization phase below. Use XML files that are embedded resources.
            Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.CurrentCulture;
            Localizer.SetStringLocalizer(new EmbeddedResourceStringLocalizer());

            var catalog = new TypeCatalog(
                typeof(SettingsService),                // persistent settings and user preferences dialog
                typeof(StatusService),                  // status bar at bottom of main Form
                typeof(CommandService),                 // handles commands in menus and toolbars
                typeof(ControlHostService),             // docking control host
                typeof(WindowLayoutService),            // multiple window layout support
                typeof(WindowLayoutServiceCommands),    // window layout commands
                typeof(FileDialogService),              // standard Windows file dialogs
                typeof(AutoDocumentService),            // opens documents from last session, or creates a new document, on startup
                typeof(Outputs),                        // service that provides static methods for writing to IOutputWriter objects.
                typeof(OutputService),                  // rich text box for displaying error and warning messages. Implements IOutputWriter.
                typeof(RecentDocumentCommands),         // standard recent document commands in File menu
                typeof(StandardFileCommands),           // standard File menu commands for New, Open, Save, SaveAs, Close
                typeof(StandardFileExitCommand),        // standard File exit menu command
                typeof(HelpAboutCommand),               // Help -> About command
                typeof(AtfUsageLogger),                 // logs computer info to an ATF server
                typeof(CrashLogger),                    // logs unhandled exceptions to an ATF server
                typeof(ContextRegistry),                // central context registry with change notification
                typeof(DocumentRegistry),               // central document registry with change notification
                typeof(MainWindowTitleService),         // tracks document changes and updates main form title
                typeof(TabbedControlSelector),          // enable ctrl-tab selection of documents and controls within the app
                typeof(DefaultTabCommands),             // provides the default commands related to document tab Controls
                typeof(Editor),                         // code editor component
                typeof(PythonService),                  // scripting service for automated tests
                typeof(ScriptConsole),                  // provides a dockable command console for entering Python commands
                typeof(AtfScriptVariables),             // exposes common ATF services as script variables
                typeof(AutomationService),              // provides facilities to run an automated script using the .NET remoting service
                typeof(PerforceService),                // Perforce plugin
                typeof(SourceControlCommands),          // source control commmands to interact with Perforce plugin
                typeof(SourceControlContext)            // source control context component
                );

            var container = new CompositionContainer(catalog);

            var toolStripContainer = new ToolStripContainer();
            toolStripContainer.Dock = DockStyle.Fill;

            var mainForm = new MainForm(toolStripContainer);
            var image = GdiUtil.GetImage("CodeEditor.Resources.File_edit.ico");
            mainForm.Icon = GdiUtil.CreateIcon(image, 32, true);

            mainForm.Text = "Code Editor".Localize();

            var batch = new CompositionBatch();
            batch.AddPart(mainForm);
            batch.AddPart(new WebHelpCommands("https://github.com/SonyWWS/ATF/wiki/ATF-Code-Editor-Sample".Localize()));
            container.Compose(batch);

            // Initialize components that require it. Initialization often can't be done in the constructor,
            //  or even after imports have been satisfied by MEF, since we allow circular dependencies between
            //  components, via the System.Lazy class. IInitializable allows components to defer some operations
            //  until all MEF composition has been completed.
            container.InitializeAll();
            
            // Show the main form and start message handling. The main Form Load event provides a final chance
            //  for components to perform initialization and configuration.
            Application.Run(mainForm);

            container.Dispose();
        }
예제 #34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.ToolStrip                 toolStrip1;
     System.Windows.Forms.ToolStripButton           _openButton;
     System.Windows.Forms.ToolStripMenuItem         _fileMenuItem;
     System.Windows.Forms.ToolStripMenuItem         _openMenuItem;
     System.Windows.Forms.ToolStripSeparator        toolStripSeparator1;
     System.Windows.Forms.ToolStripSeparator        toolStripSeparator2;
     System.Windows.Forms.ToolStripMenuItem         _exitMenuItem;
     System.Windows.Forms.ToolStrip                 toolStrip2;
     System.Windows.Forms.ToolStripContainer        _toolStripContainer;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     System.Windows.Forms.ToolStripMenuItem         _addTreeContextMenuIten;
     System.Windows.Forms.ToolStripMenuItem         _removeListContextMenuItem;
     System.Windows.Forms.ToolStripMenuItem         removeToolStripMenuItem;
     System.Windows.Forms.ToolStripMenuItem         _renameListContextMenuItem;
     this._saveButton             = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3     = new System.Windows.Forms.ToolStripSeparator();
     this._generateButton         = new System.Windows.Forms.ToolStripButton();
     this._saveMenuItem           = new System.Windows.Forms.ToolStripMenuItem();
     this._manageCulturesMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._generateMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this._addResourceButton      = new System.Windows.Forms.ToolStripButton();
     this._removeResourceButton   = new System.Windows.Forms.ToolStripButton();
     this._renameResourceButton   = new System.Windows.Forms.ToolStripButton();
     this._treeSplitter           = new System.Windows.Forms.SplitContainer();
     this._paneTree               = new Rsdn.LocUtil.Pane();
     this._categoryTree           = new Rsdn.TreeGrid.TreeGrid();
     this._nameCol                = new System.Windows.Forms.ColumnHeader();
     this._countCol               = new System.Windows.Forms.ColumnHeader();
     this._treeImages             = new System.Windows.Forms.ImageList(this.components);
     this._resourceSplitter       = new System.Windows.Forms.SplitContainer();
     this._paneItems              = new Rsdn.LocUtil.Pane();
     this._itemList               = new System.Windows.Forms.ListView();
     this._itemNameCol            = new System.Windows.Forms.ColumnHeader();
     this._listImages             = new System.Windows.Forms.ImageList(this.components);
     this._paneProperties         = new Rsdn.LocUtil.Pane();
     this._propertyGrid           = new System.Windows.Forms.PropertyGrid();
     this._menuStrip              = new System.Windows.Forms.MenuStrip();
     this._resourceMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this._addResourceMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this._removeResourceMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._renameResourceMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this._treeContextMenu        = new System.Windows.Forms.ContextMenuStrip(this.components);
     this._listContextMenu        = new System.Windows.Forms.ContextMenuStrip(this.components);
     this._openFileDialog         = new System.Windows.Forms.OpenFileDialog();
     this.BottomToolStripPanel    = new System.Windows.Forms.ToolStripPanel();
     this.TopToolStripPanel       = new System.Windows.Forms.ToolStripPanel();
     this.RightToolStripPanel     = new System.Windows.Forms.ToolStripPanel();
     this.LeftToolStripPanel      = new System.Windows.Forms.ToolStripPanel();
     this.ContentPanel            = new System.Windows.Forms.ToolStripContentPanel();
     toolStrip1                 = new System.Windows.Forms.ToolStrip();
     _openButton                = new System.Windows.Forms.ToolStripButton();
     _fileMenuItem              = new System.Windows.Forms.ToolStripMenuItem();
     _openMenuItem              = new System.Windows.Forms.ToolStripMenuItem();
     toolStripSeparator1        = new System.Windows.Forms.ToolStripSeparator();
     toolStripSeparator2        = new System.Windows.Forms.ToolStripSeparator();
     _exitMenuItem              = new System.Windows.Forms.ToolStripMenuItem();
     toolStrip2                 = new System.Windows.Forms.ToolStrip();
     _toolStripContainer        = new System.Windows.Forms.ToolStripContainer();
     _addTreeContextMenuIten    = new System.Windows.Forms.ToolStripMenuItem();
     _removeListContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     removeToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     _renameListContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     toolStrip1.SuspendLayout();
     toolStrip2.SuspendLayout();
     _toolStripContainer.ContentPanel.SuspendLayout();
     _toolStripContainer.TopToolStripPanel.SuspendLayout();
     _toolStripContainer.SuspendLayout();
     this._treeSplitter.Panel1.SuspendLayout();
     this._treeSplitter.Panel2.SuspendLayout();
     this._treeSplitter.SuspendLayout();
     this._paneTree.SuspendLayout();
     this._resourceSplitter.Panel1.SuspendLayout();
     this._resourceSplitter.Panel2.SuspendLayout();
     this._resourceSplitter.SuspendLayout();
     this._paneItems.SuspendLayout();
     this._paneProperties.SuspendLayout();
     this._menuStrip.SuspendLayout();
     this._treeContextMenu.SuspendLayout();
     this._listContextMenu.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStrip1
     //
     toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
     toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         _openButton,
         this._saveButton,
         this.toolStripSeparator3,
         this._generateButton
     });
     toolStrip1.Location = new System.Drawing.Point(3, 24);
     toolStrip1.Name     = "toolStrip1";
     toolStrip1.Size     = new System.Drawing.Size(87, 25);
     toolStrip1.TabIndex = 1;
     toolStrip1.Text     = "toolStrip1";
     //
     // _openButton
     //
     _openButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     _openButton.Image                 = global::Rsdn.LocUtil.Properties.Resources.Open;
     _openButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     _openButton.Name   = "_openButton";
     _openButton.Size   = new System.Drawing.Size(23, 22);
     _openButton.Text   = "Open Resource File";
     _openButton.Click += new System.EventHandler(this._openMenuItem_Click);
     //
     // _saveButton
     //
     this._saveButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this._saveButton.Enabled               = false;
     this._saveButton.Image                 = global::Rsdn.LocUtil.Properties.Resources.Save;
     this._saveButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._saveButton.Name   = "_saveButton";
     this._saveButton.Size   = new System.Drawing.Size(23, 22);
     this._saveButton.Text   = "Save Resource File";
     this._saveButton.Click += new System.EventHandler(this._saveMenuItem_Click);
     //
     // toolStripSeparator3
     //
     this.toolStripSeparator3.Name = "toolStripSeparator3";
     this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25);
     //
     // _generateButton
     //
     this._generateButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this._generateButton.Enabled               = false;
     this._generateButton.Image                 = global::Rsdn.LocUtil.Properties.Resources.Generate;
     this._generateButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._generateButton.Name   = "_generateButton";
     this._generateButton.Size   = new System.Drawing.Size(23, 22);
     this._generateButton.Text   = "Generate Resource Helper";
     this._generateButton.Click += new System.EventHandler(this._generateMenuItem_Click);
     //
     // _fileMenuItem
     //
     _fileMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         _openMenuItem,
         this._saveMenuItem,
         toolStripSeparator1,
         this._manageCulturesMenuItem,
         this._generateMenuItem,
         toolStripSeparator2,
         _exitMenuItem
     });
     _fileMenuItem.Name = "_fileMenuItem";
     _fileMenuItem.Size = new System.Drawing.Size(35, 20);
     _fileMenuItem.Text = "&File";
     //
     // _openMenuItem
     //
     _openMenuItem.Image  = global::Rsdn.LocUtil.Properties.Resources.Open;
     _openMenuItem.Name   = "_openMenuItem";
     _openMenuItem.Size   = new System.Drawing.Size(166, 22);
     _openMenuItem.Text   = "&Open";
     _openMenuItem.Click += new System.EventHandler(this._openMenuItem_Click);
     //
     // _saveMenuItem
     //
     this._saveMenuItem.Enabled = false;
     this._saveMenuItem.Image   = global::Rsdn.LocUtil.Properties.Resources.Save;
     this._saveMenuItem.Name    = "_saveMenuItem";
     this._saveMenuItem.Size    = new System.Drawing.Size(166, 22);
     this._saveMenuItem.Text    = "&Save";
     this._saveMenuItem.Click  += new System.EventHandler(this._saveMenuItem_Click);
     //
     // toolStripSeparator1
     //
     toolStripSeparator1.Name = "toolStripSeparator1";
     toolStripSeparator1.Size = new System.Drawing.Size(163, 6);
     //
     // _manageCulturesMenuItem
     //
     this._manageCulturesMenuItem.Enabled = false;
     this._manageCulturesMenuItem.Name    = "_manageCulturesMenuItem";
     this._manageCulturesMenuItem.Size    = new System.Drawing.Size(166, 22);
     this._manageCulturesMenuItem.Text    = "Manage &Cultures";
     this._manageCulturesMenuItem.Click  += new System.EventHandler(this._manageCulturesMenuItem_Click);
     //
     // _generateMenuItem
     //
     this._generateMenuItem.Enabled = false;
     this._generateMenuItem.Image   = global::Rsdn.LocUtil.Properties.Resources.Generate;
     this._generateMenuItem.Name    = "_generateMenuItem";
     this._generateMenuItem.Size    = new System.Drawing.Size(166, 22);
     this._generateMenuItem.Text    = "&Generate helper";
     this._generateMenuItem.Click  += new System.EventHandler(this._generateMenuItem_Click);
     //
     // toolStripSeparator2
     //
     toolStripSeparator2.Name = "toolStripSeparator2";
     toolStripSeparator2.Size = new System.Drawing.Size(163, 6);
     //
     // _exitMenuItem
     //
     _exitMenuItem.Name   = "_exitMenuItem";
     _exitMenuItem.Size   = new System.Drawing.Size(166, 22);
     _exitMenuItem.Text   = "&Exit";
     _exitMenuItem.Click += new System.EventHandler(this._exitMenuItem_Click);
     //
     // toolStrip2
     //
     toolStrip2.Dock = System.Windows.Forms.DockStyle.None;
     toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this._addResourceButton,
         this._removeResourceButton,
         this._renameResourceButton
     });
     toolStrip2.Location = new System.Drawing.Point(90, 24);
     toolStrip2.Name     = "toolStrip2";
     toolStrip2.Size     = new System.Drawing.Size(81, 25);
     toolStrip2.TabIndex = 2;
     toolStrip2.Text     = "toolStrip2";
     //
     // _addResourceButton
     //
     this._addResourceButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this._addResourceButton.Enabled               = false;
     this._addResourceButton.Image                 = global::Rsdn.LocUtil.Properties.Resources.Add;
     this._addResourceButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._addResourceButton.Name   = "_addResourceButton";
     this._addResourceButton.Size   = new System.Drawing.Size(23, 22);
     this._addResourceButton.Text   = "Add Resource";
     this._addResourceButton.Click += new System.EventHandler(this._addResourceMenuItem_Click);
     //
     // _removeResourceButton
     //
     this._removeResourceButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this._removeResourceButton.Enabled               = false;
     this._removeResourceButton.Image                 = global::Rsdn.LocUtil.Properties.Resources.Remove;
     this._removeResourceButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._removeResourceButton.Name   = "_removeResourceButton";
     this._removeResourceButton.Size   = new System.Drawing.Size(23, 22);
     this._removeResourceButton.Text   = "Remove Resource";
     this._removeResourceButton.Click += new System.EventHandler(this._removeResourceMenuItem_Click);
     //
     // _renameResourceButton
     //
     this._renameResourceButton.DisplayStyle          = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this._renameResourceButton.Enabled               = false;
     this._renameResourceButton.Image                 = global::Rsdn.LocUtil.Properties.Resources.Rename;
     this._renameResourceButton.ImageTransparentColor = System.Drawing.Color.Magenta;
     this._renameResourceButton.Name   = "_renameResourceButton";
     this._renameResourceButton.Size   = new System.Drawing.Size(23, 22);
     this._renameResourceButton.Text   = "Rename Resource";
     this._renameResourceButton.Click += new System.EventHandler(this._renameResourceMenuItem_Click);
     //
     // _toolStripContainer
     //
     //
     // _toolStripContainer.ContentPanel
     //
     _toolStripContainer.ContentPanel.Controls.Add(this._treeSplitter);
     _toolStripContainer.ContentPanel.Size = new System.Drawing.Size(792, 517);
     _toolStripContainer.Dock     = System.Windows.Forms.DockStyle.Fill;
     _toolStripContainer.Location = new System.Drawing.Point(0, 0);
     _toolStripContainer.Name     = "_toolStripContainer";
     _toolStripContainer.Size     = new System.Drawing.Size(792, 566);
     _toolStripContainer.TabIndex = 12;
     _toolStripContainer.Text     = "toolStripContainer1";
     //
     // _toolStripContainer.TopToolStripPanel
     //
     _toolStripContainer.TopToolStripPanel.Controls.Add(this._menuStrip);
     _toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip1);
     _toolStripContainer.TopToolStripPanel.Controls.Add(toolStrip2);
     //
     // _treeSplitter
     //
     this._treeSplitter.Dock     = System.Windows.Forms.DockStyle.Fill;
     this._treeSplitter.Location = new System.Drawing.Point(0, 0);
     this._treeSplitter.Name     = "_treeSplitter";
     //
     // _treeSplitter.Panel1
     //
     this._treeSplitter.Panel1.Controls.Add(this._paneTree);
     //
     // _treeSplitter.Panel2
     //
     this._treeSplitter.Panel2.Controls.Add(this._resourceSplitter);
     this._treeSplitter.Size             = new System.Drawing.Size(792, 517);
     this._treeSplitter.SplitterDistance = 232;
     this._treeSplitter.TabIndex         = 0;
     this._treeSplitter.Text             = "splitContainer1";
     //
     // _paneTree
     //
     this._paneTree.Controls.Add(this._categoryTree);
     this._paneTree.Dock     = System.Windows.Forms.DockStyle.Fill;
     this._paneTree.Location = new System.Drawing.Point(0, 0);
     this._paneTree.Name     = "_paneTree";
     this._paneTree.Padding  = new System.Windows.Forms.Padding(1, 20, 1, 1);
     //
     //
     //
     this._paneTree.PaneCaptionContol.Dock     = System.Windows.Forms.DockStyle.Top;
     this._paneTree.PaneCaptionContol.Font     = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
     this._paneTree.PaneCaptionContol.Location = new System.Drawing.Point(1, 1);
     this._paneTree.PaneCaptionContol.Name     = "_caption";
     this._paneTree.PaneCaptionContol.Size     = new System.Drawing.Size(230, 18);
     this._paneTree.PaneCaptionContol.TabIndex = 0;
     this._paneTree.PaneCaptionContol.Text     = "Panel 1";
     this._paneTree.Size     = new System.Drawing.Size(232, 517);
     this._paneTree.TabIndex = 7;
     //
     // _categoryTree
     //
     this._categoryTree.BackColor   = System.Drawing.SystemColors.Window;
     this._categoryTree.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._categoryTree.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this._nameCol,
         this._countCol
     });
     this._categoryTree.Dock           = System.Windows.Forms.DockStyle.Fill;
     this._categoryTree.FullRowSelect  = true;
     this._categoryTree.HideSelection  = false;
     this._categoryTree.Indent         = 5;
     this._categoryTree.LargeImageList = this._treeImages;
     this._categoryTree.Location       = new System.Drawing.Point(1, 20);
     this._categoryTree.Name           = "_categoryTree";
     this._categoryTree.OwnerDraw      = true;
     this._categoryTree.Size           = new System.Drawing.Size(230, 496);
     this._categoryTree.SmallImageList = this._treeImages;
     this._categoryTree.TabIndex       = 0;
     this._categoryTree.UseCompatibleStateImageBehavior = false;
     this._categoryTree.View               = System.Windows.Forms.View.Details;
     this._categoryTree.VirtualMode        = true;
     this._categoryTree.GetData           += new System.EventHandler <Rsdn.TreeGrid.GetDataEventArgs>(this._categoryTree_GetData);
     this._categoryTree.MouseUp           += new System.Windows.Forms.MouseEventHandler(this._categoryTree_MouseUp);
     this._categoryTree.AfterActivateNode += new Rsdn.TreeGrid.AfterActivateNodeHandler(this._categoryTree_AfterActivateNode);
     //
     // _nameCol
     //
     this._nameCol.Text  = "Name";
     this._nameCol.Width = 159;
     //
     // _countCol
     //
     this._countCol.Text = "Count";
     //
     // _treeImages
     //
     this._treeImages.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_treeImages.ImageStream")));
     this._treeImages.TransparentColor = System.Drawing.Color.Transparent;
     this._treeImages.Images.SetKeyName(0, "root");
     this._treeImages.Images.SetKeyName(1, "category");
     //
     // _resourceSplitter
     //
     this._resourceSplitter.Dock        = System.Windows.Forms.DockStyle.Fill;
     this._resourceSplitter.Location    = new System.Drawing.Point(0, 0);
     this._resourceSplitter.Name        = "_resourceSplitter";
     this._resourceSplitter.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // _resourceSplitter.Panel1
     //
     this._resourceSplitter.Panel1.Controls.Add(this._paneItems);
     //
     // _resourceSplitter.Panel2
     //
     this._resourceSplitter.Panel2.Controls.Add(this._paneProperties);
     this._resourceSplitter.Size             = new System.Drawing.Size(556, 517);
     this._resourceSplitter.SplitterDistance = 336;
     this._resourceSplitter.TabIndex         = 0;
     this._resourceSplitter.Text             = "splitContainer1";
     //
     // _paneItems
     //
     this._paneItems.Controls.Add(this._itemList);
     this._paneItems.Dock     = System.Windows.Forms.DockStyle.Fill;
     this._paneItems.Location = new System.Drawing.Point(0, 0);
     this._paneItems.Name     = "_paneItems";
     this._paneItems.Padding  = new System.Windows.Forms.Padding(1, 20, 1, 1);
     //
     //
     //
     this._paneItems.PaneCaptionContol.Dock     = System.Windows.Forms.DockStyle.Top;
     this._paneItems.PaneCaptionContol.Font     = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
     this._paneItems.PaneCaptionContol.Location = new System.Drawing.Point(1, 1);
     this._paneItems.PaneCaptionContol.Name     = "_caption";
     this._paneItems.PaneCaptionContol.Size     = new System.Drawing.Size(554, 18);
     this._paneItems.PaneCaptionContol.TabIndex = 0;
     this._paneItems.PaneCaptionContol.Text     = "Panel 1";
     this._paneItems.Size     = new System.Drawing.Size(556, 336);
     this._paneItems.TabIndex = 9;
     //
     // _itemList
     //
     this._itemList.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._itemList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this._itemNameCol
     });
     this._itemList.Dock           = System.Windows.Forms.DockStyle.Fill;
     this._itemList.HeaderStyle    = System.Windows.Forms.ColumnHeaderStyle.None;
     this._itemList.HideSelection  = false;
     this._itemList.LabelEdit      = true;
     this._itemList.Location       = new System.Drawing.Point(1, 20);
     this._itemList.Name           = "_itemList";
     this._itemList.Size           = new System.Drawing.Size(554, 315);
     this._itemList.SmallImageList = this._listImages;
     this._itemList.TabIndex       = 4;
     this._itemList.UseCompatibleStateImageBehavior = false;
     this._itemList.View = System.Windows.Forms.View.Details;
     this._itemList.SelectedIndexChanged += new System.EventHandler(this._itemList_SelectedIndexChanged);
     this._itemList.MouseUp        += new System.Windows.Forms.MouseEventHandler(this._itemList_MouseUp);
     this._itemList.AfterLabelEdit += new System.Windows.Forms.LabelEditEventHandler(this._itemList_AfterLabelEdit);
     //
     // _listImages
     //
     this._listImages.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_listImages.ImageStream")));
     this._listImages.TransparentColor = System.Drawing.Color.Transparent;
     this._listImages.Images.SetKeyName(0, "item");
     //
     // _paneProperties
     //
     this._paneProperties.Controls.Add(this._propertyGrid);
     this._paneProperties.Dock     = System.Windows.Forms.DockStyle.Fill;
     this._paneProperties.Location = new System.Drawing.Point(0, 0);
     this._paneProperties.Name     = "_paneProperties";
     this._paneProperties.Padding  = new System.Windows.Forms.Padding(1, 20, 1, 1);
     //
     //
     //
     this._paneProperties.PaneCaptionContol.Dock     = System.Windows.Forms.DockStyle.Top;
     this._paneProperties.PaneCaptionContol.Font     = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold);
     this._paneProperties.PaneCaptionContol.Location = new System.Drawing.Point(1, 1);
     this._paneProperties.PaneCaptionContol.Name     = "_caption";
     this._paneProperties.PaneCaptionContol.Size     = new System.Drawing.Size(554, 18);
     this._paneProperties.PaneCaptionContol.TabIndex = 0;
     this._paneProperties.PaneCaptionContol.Text     = "Panel 1";
     this._paneProperties.Size     = new System.Drawing.Size(556, 177);
     this._paneProperties.TabIndex = 8;
     //
     // _propertyGrid
     //
     this._propertyGrid.Dock           = System.Windows.Forms.DockStyle.Fill;
     this._propertyGrid.LineColor      = System.Drawing.SystemColors.ScrollBar;
     this._propertyGrid.Location       = new System.Drawing.Point(1, 20);
     this._propertyGrid.Name           = "_propertyGrid";
     this._propertyGrid.PropertySort   = System.Windows.Forms.PropertySort.NoSort;
     this._propertyGrid.Size           = new System.Drawing.Size(554, 156);
     this._propertyGrid.TabIndex       = 0;
     this._propertyGrid.ToolbarVisible = false;
     //
     // _menuStrip
     //
     this._menuStrip.Dock = System.Windows.Forms.DockStyle.None;
     this._menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         _fileMenuItem,
         this._resourceMenuItem
     });
     this._menuStrip.Location = new System.Drawing.Point(0, 0);
     this._menuStrip.Name     = "_menuStrip";
     this._menuStrip.Size     = new System.Drawing.Size(792, 24);
     this._menuStrip.TabIndex = 0;
     this._menuStrip.Text     = "menuStrip1";
     //
     // _resourceMenuItem
     //
     this._resourceMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this._addResourceMenuItem,
         this._removeResourceMenuItem,
         this._renameResourceMenuItem
     });
     this._resourceMenuItem.Enabled = false;
     this._resourceMenuItem.Name    = "_resourceMenuItem";
     this._resourceMenuItem.Size    = new System.Drawing.Size(64, 20);
     this._resourceMenuItem.Text    = "&Resource";
     //
     // _addResourceMenuItem
     //
     this._addResourceMenuItem.Enabled = false;
     this._addResourceMenuItem.Image   = global::Rsdn.LocUtil.Properties.Resources.Add;
     this._addResourceMenuItem.Name    = "_addResourceMenuItem";
     this._addResourceMenuItem.Size    = new System.Drawing.Size(124, 22);
     this._addResourceMenuItem.Text    = "&Add";
     this._addResourceMenuItem.Click  += new System.EventHandler(this._addResourceMenuItem_Click);
     //
     // _removeResourceMenuItem
     //
     this._removeResourceMenuItem.Enabled = false;
     this._removeResourceMenuItem.Image   = global::Rsdn.LocUtil.Properties.Resources.Remove;
     this._removeResourceMenuItem.Name    = "_removeResourceMenuItem";
     this._removeResourceMenuItem.Size    = new System.Drawing.Size(124, 22);
     this._removeResourceMenuItem.Text    = "&Remove";
     this._removeResourceMenuItem.Click  += new System.EventHandler(this._removeResourceMenuItem_Click);
     //
     // _renameResourceMenuItem
     //
     this._renameResourceMenuItem.Enabled = false;
     this._renameResourceMenuItem.Image   = global::Rsdn.LocUtil.Properties.Resources.Rename;
     this._renameResourceMenuItem.Name    = "_renameResourceMenuItem";
     this._renameResourceMenuItem.Size    = new System.Drawing.Size(124, 22);
     this._renameResourceMenuItem.Text    = "Re&name";
     this._renameResourceMenuItem.Click  += new System.EventHandler(this._renameResourceMenuItem_Click);
     //
     // _addTreeContextMenuIten
     //
     _addTreeContextMenuIten.Image = global::Rsdn.LocUtil.Properties.Resources.Add;
     _addTreeContextMenuIten.Name  = "_addTreeContextMenuIten";
     _addTreeContextMenuIten.Size  = new System.Drawing.Size(104, 22);
     _addTreeContextMenuIten.Text  = "&Add";
     //
     // _removeListContextMenuItem
     //
     _removeListContextMenuItem.Image  = global::Rsdn.LocUtil.Properties.Resources.Add;
     _removeListContextMenuItem.Name   = "_removeListContextMenuItem";
     _removeListContextMenuItem.Size   = new System.Drawing.Size(124, 22);
     _removeListContextMenuItem.Text   = "&Add";
     _removeListContextMenuItem.Click += new System.EventHandler(this._addResourceMenuItem_Click);
     //
     // removeToolStripMenuItem
     //
     removeToolStripMenuItem.Image  = global::Rsdn.LocUtil.Properties.Resources.Remove;
     removeToolStripMenuItem.Name   = "removeToolStripMenuItem";
     removeToolStripMenuItem.Size   = new System.Drawing.Size(124, 22);
     removeToolStripMenuItem.Text   = "&Remove";
     removeToolStripMenuItem.Click += new System.EventHandler(this._removeResourceMenuItem_Click);
     //
     // _renameListContextMenuItem
     //
     _renameListContextMenuItem.Image  = global::Rsdn.LocUtil.Properties.Resources.Rename;
     _renameListContextMenuItem.Name   = "_renameListContextMenuItem";
     _renameListContextMenuItem.Size   = new System.Drawing.Size(124, 22);
     _renameListContextMenuItem.Text   = "Re&name";
     _renameListContextMenuItem.Click += new System.EventHandler(this._renameResourceMenuItem_Click);
     //
     // _treeContextMenu
     //
     this._treeContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         _addTreeContextMenuIten
     });
     this._treeContextMenu.Name   = "_treeContextMenu";
     this._treeContextMenu.Size   = new System.Drawing.Size(105, 26);
     this._treeContextMenu.Click += new System.EventHandler(this._addResourceMenuItem_Click);
     //
     // _listContextMenu
     //
     this._listContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         _removeListContextMenuItem,
         removeToolStripMenuItem,
         _renameListContextMenuItem
     });
     this._listContextMenu.Name = "_listContextMenu";
     this._listContextMenu.Size = new System.Drawing.Size(125, 70);
     //
     // _openFileDialog
     //
     this._openFileDialog.DefaultExt = "resx";
     this._openFileDialog.Filter     = "ResX files|*.resx";
     //
     // BottomToolStripPanel
     //
     this.BottomToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.BottomToolStripPanel.Name        = "BottomToolStripPanel";
     this.BottomToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.BottomToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(0);
     this.BottomToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // TopToolStripPanel
     //
     this.TopToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.TopToolStripPanel.Name        = "TopToolStripPanel";
     this.TopToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.TopToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(0);
     this.TopToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // RightToolStripPanel
     //
     this.RightToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.RightToolStripPanel.Name        = "RightToolStripPanel";
     this.RightToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.RightToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(0);
     this.RightToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // LeftToolStripPanel
     //
     this.LeftToolStripPanel.Location    = new System.Drawing.Point(0, 0);
     this.LeftToolStripPanel.Name        = "LeftToolStripPanel";
     this.LeftToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.LeftToolStripPanel.RowMargin   = new System.Windows.Forms.Padding(0);
     this.LeftToolStripPanel.Size        = new System.Drawing.Size(0, 0);
     //
     // ContentPanel
     //
     this.ContentPanel.Size = new System.Drawing.Size(200, 100);
     //
     // MainForm
     //
     this.ClientSize = new System.Drawing.Size(792, 566);
     this.Controls.Add(_toolStripContainer);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip = this._menuStrip;
     this.Name          = "MainForm";
     this.Text          = "Localization utility";
     toolStrip1.ResumeLayout(false);
     toolStrip1.PerformLayout();
     toolStrip2.ResumeLayout(false);
     toolStrip2.PerformLayout();
     _toolStripContainer.ContentPanel.ResumeLayout(false);
     _toolStripContainer.TopToolStripPanel.ResumeLayout(false);
     _toolStripContainer.TopToolStripPanel.PerformLayout();
     _toolStripContainer.ResumeLayout(false);
     _toolStripContainer.PerformLayout();
     this._treeSplitter.Panel1.ResumeLayout(false);
     this._treeSplitter.Panel2.ResumeLayout(false);
     this._treeSplitter.ResumeLayout(false);
     this._paneTree.ResumeLayout(false);
     this._resourceSplitter.Panel1.ResumeLayout(false);
     this._resourceSplitter.Panel2.ResumeLayout(false);
     this._resourceSplitter.ResumeLayout(false);
     this._paneItems.ResumeLayout(false);
     this._paneProperties.ResumeLayout(false);
     this._menuStrip.ResumeLayout(false);
     this._menuStrip.PerformLayout();
     this._treeContextMenu.ResumeLayout(false);
     this._listContextMenu.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #35
0
파일: Program.cs 프로젝트: Joxx0r/ATF
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // Set up localization support early on, so that user-readable strings will be localized
            //  during the initialization phase below. Use XML files that are embedded resources.
            Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.CurrentCulture;
            Localizer.SetStringLocalizer(new EmbeddedResourceStringLocalizer());

            // Enable metadata driven property editing for the DOM
            DomNodeType.BaseOfAllTypes.AddAdapterCreator(new AdapterCreator<CustomTypeDescriptorNodeAdapter>());

            // Create a type catalog with the types of components we want in the application
            var catalog = new TypeCatalog(

                typeof(CommandService),                 // handles commands in menus and toolbars
                typeof(ControlHostService),             // docking control host
                typeof(AtfUsageLogger),                 // logs computer info to an ATF server
                typeof(CrashLogger),                    // logs unhandled exceptions to an ATF server
                typeof(UnhandledExceptionService),      // catches unhandled exceptions, displays info, and gives user a chance to save
                typeof(FileDialogService),
                typeof(SkinService),
                typeof(StandardFileExitCommand),        // standard File exit menu command
                typeof(StandardEditHistoryCommands),    // tracks document changes and updates main form title
                typeof(HelpAboutCommand),               // Help -> About command
                typeof(ContextRegistry),                // central context registry with change notification
                typeof(PropertyEditor),                 // property grid for editing selected objects
                typeof(GridPropertyEditor),             // grid control for editing selected objects
                typeof(PropertyEditingCommands),        // commands for PropertyEditor and GridPropertyEditor
                typeof(SettingsService),
                typeof(PythonService),                  // scripting service for automated tests
                typeof(ScriptConsole),                  // provides a dockable command console for entering Python commands
                typeof(AtfScriptVariables),             // exposes common ATF services as script variables
                typeof(AutomationService),              // provides facilities to run an automated script using the .NET remoting service

                typeof(SchemaLoader),                   // component that loads XML schema and sets up types
                typeof(Editor)                          // component that manages UI documents
                );

            // Set up the MEF container with these components
            var container = new CompositionContainer(catalog);

            // Configure the main Form

            // Configure the main Form with a ToolStripContainer so the CommandService can
            //  generate toolbars.
            var toolStripContainer = new ToolStripContainer();
            toolStripContainer.Dock = DockStyle.Fill;
            var mainForm = new MainForm(toolStripContainer)
            {
                Text = "DOM Property Editor".Localize(),
                Icon = GdiUtil.CreateIcon(ResourceUtil.GetImage(Sce.Atf.Resources.AtfIconImage))
            };

            // Add the main Form instance to the container
            var batch = new CompositionBatch();
            batch.AddPart(mainForm);
            // batch.AddPart(new WebHelpCommands("https://github.com/SonyWWS/ATF/wiki/ATF-DOM-Tree-Editor-Sample".Localize()));
            container.Compose(batch);

            // Initialize components that require it. Initialization often can't be done in the constructor,
            //  or even after imports have been satisfied by MEF, since we allow circular dependencies between
            //  components, via the System.Lazy class. IInitializable allows components to defer some operations
            //  until all MEF composition has been completed.
            container.InitializeAll();

            var propEditor = container.GetExportedValue<PropertyEditor>();
            propEditor.PropertyGrid.PropertySorting = Sce.Atf.Controls.PropertyEditing.PropertySorting.Categorized;
            // Show the main form and start message handling. The main Form Load event provides a final chance
            //  for components to perform initialization and configuration.
            Application.Run(mainForm);

            // Give components a chance to clean up.
            container.Dispose();

        }
예제 #36
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Creates a ToolStripContainer control.
		/// </summary>
		/// ------------------------------------------------------------------------------------
		private void InitToolStripContainer(Form parentForm, Control contentControl)
		{
			m_tsContainer = contentControl as ToolStripContainer;
			if (m_tsContainer != null)
				return;

			if (contentControl == null)
			{
				m_tsPanel = new ToolStripPanel();
				m_tsPanel.Dock = DockStyle.Top;
				parentForm.Controls.Add(m_tsPanel);
			}
			else
			{
				m_tsContainer = new ToolStripContainer();
				m_tsContainer.Dock = DockStyle.Fill;
				parentForm.Controls.Remove(contentControl);
				m_tsContainer.ContentPanel.Controls.Add(contentControl);
				parentForm.Controls.Add(m_tsContainer);
			}
		}
예제 #37
0
		static void  Main()
        {

#if DEBUG
            AllocConsole();
#endif

            // It's important to call these before starting the app; otherwise theming and bitmaps
            //  may not render correctly.
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.DoEvents(); // see http://www.codeproject.com/buglist/EnableVisualStylesBug.asp?df=100&forumid=25268&exp=0&select=984714

            // Set up localization support early on, so that user-readable strings will be localized
            //  during the initialization phase below. Use XML files that are embedded resources.
            Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.CurrentCulture;            
            Localizer.SetStringLocalizer(new EmbeddedResourceStringLocalizer());

#if !DEBUG
            SplashForm.ShowForm(typeof(LevelEditorApplication), "LevelEditor.Resources.SplashImg.png");
#endif
          
            // Register the embedded image resources so that they will be available for all users of ResourceUtil,
            //  such as the PaletteService.
            ResourceUtil.Register(typeof(Resources));

            // enable metadata driven property editing
            DomNodeType.BaseOfAllTypes.AddAdapterCreator(new AdapterCreator<CustomTypeDescriptorNodeAdapter>());

            // Add selected ATF components.
            TypeCatalog AtfCatalog = new TypeCatalog(       
                typeof(SettingsService),                // persistent settings and user preferences dialog               
                typeof(Outputs),                        // service that provides static methods for writing to IOutputWriter objects.
                typeof(OutputService),                  // rich text box for displaying error and warning messages. Implements IOutputWriter.                
                typeof(CommandService),                 // menus and toolbars
                typeof(ControlHostService),             // docking control host                        
                typeof(AtfUsageLogger),                 // logs computer info to an ATF server
                typeof(CrashLogger),                    // logs unhandled exceptions to an ATF server
                typeof(PythonService),                  // scripting service for automated tests
                typeof(ScriptConsole),
                typeof(AtfScriptVariables),
                typeof(AutomationService),
                typeof(FileDialogService),              // standard Windows file dialogs
                typeof(DocumentRegistry),               // central document registry with change notification            
                typeof(RecentDocumentCommands),         // standard recent document commands in File menu
                typeof(AutoDocumentService),            // opens documents from last session, or creates a new document, on startup            
                typeof(StandardFileExitCommand),        // standard File exit menu command            
                typeof(StandardViewCommands),           // standard View commands: frame selection, frame all
                typeof(MainWindowTitleService),         // tracks document changes and updates main form title            
                typeof(ContextRegistry),                // central context registry with change notification
                typeof(StandardEditCommands),           // standard Edit menu commands for copy/paste
                typeof(StandardEditHistoryCommands),    // standard Edit menu commands for undo/redo
                typeof(StandardSelectionCommands),      // standard Edit menu selection commands
                typeof(StandardLockCommands),           // standard Edit menu lock/unlock commands            
                typeof(PaletteService),                 // global palette, for drag/drop instancing            
                typeof(PropertyEditingCommands),        // commands for PropertyEditor and GridPropertyEditor             
                typeof(PropertyEditor),
                typeof(GridPropertyEditor),                
                typeof(WindowLayoutService),            // multiple window layout support
                typeof(WindowLayoutServiceCommands),    // window layout commands
                typeof(HistoryLister),                  // visual undo/redo
                typeof(SkinService),
                typeof(ResourceService)
                );

            TypeCatalog LECoreCatalog = new TypeCatalog(                
                typeof(LevelEditorCore.ImageThumbnailResolver),
                typeof(LevelEditorCore.DesignViewSettings),
                typeof(LevelEditorCore.ResourceLister),
                typeof(LevelEditorCore.ThumbnailService),
                typeof(LevelEditorCore.ResourceMetadataEditor),
                typeof(LevelEditorCore.LayerLister),
                typeof(LevelEditorCore.ResourceConverterService),
                typeof(LevelEditorCore.RenderLoopService),                
                typeof(LevelEditorCore.Commands.PickFilterCommands),
                typeof(LevelEditorCore.Commands.DesignViewCommands),
                typeof(LevelEditorCore.Commands.ManipulatorCommands),
                typeof(LevelEditorCore.Commands.ShowCommands),
                typeof(LevelEditorCore.Commands.GroupCommands),
                typeof(LevelEditorCore.Commands.CameraCommands)
                );

            TypeCatalog thisAssemCatalog = new TypeCatalog(                
                typeof(LevelEditor.GameEditor),
                typeof(LevelEditor.BookmarkLister),                                
                typeof(LevelEditor.GameDocumentRegistry),                
                typeof(LevelEditor.SchemaLoader),
                typeof(LevelEditor.PrototypingService),
                typeof(LevelEditor.PrefabService),
                typeof(LevelEditor.GameProjectLister),
                typeof(LevelEditor.ResourceMetadataService),
                typeof(LevelEditor.ResourceConverter),               
                typeof(LevelEditor.Terrain.TerrainEditor),
                typeof(LevelEditor.Terrain.TerrainManipulator),                 
                typeof(LevelEditor.SnapFilter),
                typeof(LevelEditor.PickFilters.LocatorPickFilter),
                typeof(LevelEditor.PickFilters.BasicShapePickFilter),
                typeof(LevelEditor.PickFilters.NoCubePickFilter),                
                typeof(LevelEditor.Commands.PaletteCommands),
                typeof(LevelEditor.Commands.LevelEditorFileCommands),
                typeof(LevelEditor.Commands.HelpAboutCommand),
                typeof(LevelEditor.Commands.LevelEditorCommands),
                typeof(LevelEditor.Commands.LayeringCommands),
                typeof(LevelEditor.Commands.PivotCommands)
                // To use Open Sound Control (OSC), enable these three components:
                //,
                //typeof(LevelEditor.OSC.OscClient),
                //typeof(OscCommands),                    // Provides a GUI for configuring OSC support and to diagnose problems.
                //typeof(OscCommandReceiver)              // Executes this app's commands in response to receiving matching OSC messages.
                                                        // Needs to come after all the other ICommandClients in the catalog.
                );

            TypeCatalog renderingInteropCatalog = new TypeCatalog(
                typeof(RenderingInterop.NativeGameEditor),
                typeof(RenderingInterop.ThumbnailResolver),
                typeof(RenderingInterop.RenderCommands),
                typeof(RenderingInterop.AssetResolver),
                typeof(RenderingInterop.NativeDesignView),
                typeof(RenderingInterop.ResourcePreview),
                typeof(RenderingInterop.TranslateManipulator),  
                typeof(RenderingInterop.ExtensionManipulator),
                typeof(RenderingInterop.ScaleManipulator),
                typeof(RenderingInterop.RotateManipulator),
                typeof(RenderingInterop.TranslatePivotManipulator),
                typeof(RenderingInterop.TextureThumbnailResolver)
                );


            List<ComposablePartCatalog> catalogs = new List<ComposablePartCatalog>();
            catalogs.Add(AtfCatalog);
            catalogs.Add(LECoreCatalog);
            catalogs.Add(renderingInteropCatalog);
            catalogs.Add(thisAssemCatalog);
            
                        
            // temp solution, look for statemachine plugin by name.
            string pluginDir = Application.StartupPath;
            string stmPlg = pluginDir + "\\StateMachinePlugin.dll";
            if(File.Exists(stmPlg))
            {
                Assembly stmPlgAssem = Assembly.LoadFrom(stmPlg);
                catalogs.Add(new AssemblyCatalog(stmPlgAssem));
            }

            
            AggregateCatalog catalog = new AggregateCatalog(catalogs);
               
                      
            // Initialize ToolStripContainer container and MainForm
            ToolStripContainer toolStripContainer = new ToolStripContainer();
            toolStripContainer.Dock = DockStyle.Fill;
            MainForm mainForm = new MainForm(toolStripContainer);
            mainForm.Text = "LevelEditor".Localize("the name of this application, on the title bar");
             
            CompositionContainer container = new CompositionContainer(catalog);
            CompositionBatch batch = new CompositionBatch();
            AttributedModelServices.AddPart(batch, mainForm);
            container.Compose(batch);

            LevelEditorCore.Globals.InitializeComponents(container);
            // Initialize components 
            
            foreach (IInitializable initializable in container.GetExportedValues<IInitializable>())
                initializable.Initialize();           

            AutoDocumentService autoDocument = container.GetExportedValue<AutoDocumentService>();
            autoDocument.AutoLoadDocuments = false;
            autoDocument.AutoNewDocument = true;
            mainForm.Shown += delegate { SplashForm.CloseForm(); };

            // The settings file is incompatible between languages that LevelEditor and ATF are localized to.
            // For example, the LayoutService saves different Control names depending on the language and so
            //  the Windows layout saved in one language can't be loaded correctly in another language.
            string language = Thread.CurrentThread.CurrentUICulture.TwoLetterISOLanguageName; //"en" or "ja"
            if (language == "ja")
            {
                var settingsService = container.GetExportedValue<SettingsService>();
                string nonEnglishPath = settingsService.SettingsPath;
                nonEnglishPath = Path.Combine(Path.GetDirectoryName(nonEnglishPath), "AppSettings_" + language + ".xml");
                settingsService.SettingsPath = nonEnglishPath;
            }

            Application.Run(mainForm); // MAIN LOOP

            container.Dispose();
           
        }
예제 #38
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
		/// </summary>
		/// ------------------------------------------------------------------------------------
		public void Dispose()
		{
			Application.Idle -= HandleToolBarItemUpdates;
			if (m_tmItems != null)
				m_tmItems.Clear();
			if (m_htFormTypeCommands != null)
				m_htFormTypeCommands.Clear();
			if (m_htItemTags != null)
				m_htItemTags.Clear();
			if (m_htSettingsFileLoaded != null)
				m_htSettingsFileLoaded.Clear();
			if (m_barLocations != null)
				m_barLocations.Clear();
			if (m_bars != null)
				m_bars.Clear();
			if (m_commandInfo != null)
				m_commandInfo.Clear();
			if (m_contextMenus != null)
				m_contextMenus.Clear();
			if (m_hiddenSeparators != null)
				m_hiddenSeparators.Clear();
			if (m_images != null)
				m_images.Clear();
			if (m_menusWithShortcuts != null)
				m_menusWithShortcuts.Clear();
			if (m_rmlocalStrings != null)
				m_rmlocalStrings.Clear();
			if (m_separators != null)
				m_separators.Clear();
			if (m_toolBarMenuMap != null)
				m_toolBarMenuMap.Clear();

			if (m_parentForm != null)
				m_parentForm.Shown -= m_parentForm_Shown;
			m_msgMediator = null;
			m_parentForm = null;
			m_menuBar = null;
			m_menuCurrentlyPoppedUp = null;
			m_moreWindowItem = null;
			m_toolbarListItem = null;
			m_tsContainer = null;
			m_windowListItem = null;
			m_windowListItemClicked = null;
			m_xmlReader = null;
			m_tmItems = null;
			m_htFormTypeCommands = null;
			m_htItemTags = null;
			m_htSettingsFileLoaded = null;
			m_barLocations = null;
			m_bars = null;
			m_commandInfo = null;
			m_contextMenus = null;
			m_hiddenSeparators = null;
			m_images = null;
			m_menusWithShortcuts = null;
			m_rmlocalStrings = null;
			m_separators = null;
			m_toolBarMenuMap = null;
		}
예제 #39
0
파일: Program.cs 프로젝트: vincenthamm/ATF
        static void Main()
        {
            // It's important to call these before starting the app; otherwise theming and bitmaps
            //  may not render correctly.
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.DoEvents(); // see http://www.codeproject.com/buglist/EnableVisualStylesBug.asp?df=100&forumid=25268&exp=0&select=984714

            // Set up localization support early on, so that user-readable strings will be localized
            //  during the initialization phase below. Use XML files that are embedded resources.
            Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.CurrentCulture;
            Localizer.SetStringLocalizer(new EmbeddedResourceStringLocalizer());

            // Register the embedded image resources so that they will be available for all users of ResourceUtil,
            //  such as the PaletteService.
            ResourceUtil.Register(typeof(Resources));

            // enable metadata driven property editing
            DomNodeType.BaseOfAllTypes.AddAdapterCreator(new AdapterCreator<CustomTypeDescriptorNodeAdapter>());

            var catalog = new TypeCatalog(
                typeof(SettingsService),                // persistent settings and user preferences dialog
                typeof(StatusService),                  // status bar at bottom of main Form
                typeof(LiveConnectService),             // allows easy interop between apps on same router subnet
                typeof(Outputs),                        // passes messages to all IOutputWriter components
                typeof(OutputService),                  // rich text box for displaying error and warning messages. Implements IOutputWriter
                typeof(CommandService),                 // handles commands in menus and toolbars
                typeof(ControlHostService),             // docking control host
                typeof(AtfUsageLogger),                 // logs computer info to an ATF server
                typeof(CrashLogger),                    // logs unhandled exceptions to an ATF server
                typeof(UnhandledExceptionService),      // catches unhandled exceptions, displays info, and gives user a chance to save
                typeof(FileDialogService),              // standard Windows file dialogs
                typeof(DocumentRegistry),               // central document registry with change notification
                typeof(AutoDocumentService),            // opens documents from last session, or creates a new document, on startup
                typeof(RecentDocumentCommands),         // standard recent document commands in File menu
                typeof(StandardFileCommands),           // standard File menu commands for New, Open, Save, SaveAs, Close
                typeof(StandardFileExitCommand),        // standard File exit menu command
                typeof(MainWindowTitleService),         // tracks document changes and updates main form title
                typeof(TabbedControlSelector),          // enable ctrl-tab selection of documents and controls within the app
                typeof(ContextRegistry),                // central context registry with change notification
                typeof(StandardEditCommands),           // standard Edit menu commands for copy/paste
                typeof(StandardEditHistoryCommands),    // standard Edit menu commands for undo/redo
                typeof(StandardSelectionCommands),      // standard Edit menu selection commands
                typeof(RenameCommand),                  // allows for renaming of multiple selected objects
                
                //StandardPrintCommands does not currently work with Direct2D
                //typeof(StandardPrintCommands),        // standard File menu print commands

                typeof(PaletteService),                 // global palette, for drag/drop instancing
                typeof(PropertyEditor),                 // property grid for editing selected objects
                typeof(GridPropertyEditor),             // grid control for editing selected objects
                typeof(PropertyEditingCommands),        // commands for PropertyEditor and GridPropertyEditor
                typeof(PerformanceMonitor),             // displays the frame rate and memory usage
                typeof(FileWatcherService),                // service to watch for changes to files
                typeof(DefaultTabCommands),             // provides the default commands related to document tab Controls
                typeof(SkinService),                    // allows for customization of an application’s appearance by using inheritable properties that can be applied at run-time
                
                // Client-specific plug-ins
                typeof(TimelineEditor),                 // timeline editor component
                typeof(TimelineCommands),               // defines Timeline-specific commands
                typeof(HelpAboutCommand),               // Help -> About command

                // Testing related
                typeof(PythonService),                  // scripting service for automated tests
                typeof(ScriptConsole),                  // provides a dockable command console for entering Python commands
                typeof(AtfScriptVariables),             // exposes common ATF services as script variables
                typeof(AutomationService)               // provides facilities to run an automated script using the .NET remoting service
                );
            
            var container = new CompositionContainer(catalog);

            var toolStripContainer = new ToolStripContainer();
            toolStripContainer.Dock = DockStyle.Fill;

            var mainForm = new MainForm(toolStripContainer)
            {
                Text = "Timeline Editor Sample".Localize(),
                Icon = GdiUtil.CreateIcon(ResourceUtil.GetImage(Sce.Atf.Resources.AtfIconImage))
            };

            var batch = new CompositionBatch();
            batch.AddPart(mainForm);
            batch.AddPart(new WebHelpCommands("https://github.com/SonyWWS/ATF/wiki/ATF-Timeline-Editor-Sample".Localize()));

            container.Compose(batch);

            // Initialize components that require it. Initialization often can't be done in the constructor,
            //  or even after imports have been satisfied by MEF, since we allow circular dependencies between
            //  components, via the System.Lazy class. IInitializable allows components to defer some operations
            //  until all MEF composition has been completed.
            container.InitializeAll();
            
            // Show the main form and start message handling. The main Form Load event provides a final chance
            //  for components to perform initialization and configuration.
            Application.Run(mainForm);

            container.Dispose();
        }
예제 #40
0
 public ToolStripContainerTypedControlCollection(Control c, bool isReadOnly) : base(c, isReadOnly)
 {
     this.contentPanelType = typeof(ToolStripContentPanel);
     this.panelType        = typeof(ToolStripPanel);
     this.owner            = c as ToolStripContainer;
 }