public void Open(FarsiLibrary.Win.FATabStrip faTabStripMain, string path = "") { using (OpenFileDialog ofd = new OpenFileDialog()) { if (string.IsNullOrEmpty(path)) { ofd.Filter = "PList(*.plist)|*.plist|All files|*.*"; if (ofd.ShowDialog() == DialogResult.OK) { path = ofd.FileName; } } if (!string.IsNullOrEmpty(path)) { try { PlistInfo p = new PlistInfo(path); bool suc = p.Read(); CreateTab(faTabStripMain, p.Info.Name, p); string[] values = path.Split('.'); if (String.Compare("cookie", values[values.Length - 1].Trim()) != 0 && !suc) { MessageBox.Show("Xml format error"); } } catch (Exception ex) { MessageBox.Show(ex.Message); Debug.WriteLine(ex); } } } }
public void CreateNew(FarsiLibrary.Win.FATabStrip tabStrip) { string title = Res.NewPListTitle; PlistEditControl c = CreateTab(tabStrip, title); c.Editor.Text = Res.NewPListContent; }
private PlistEditControl CreateTab(FarsiLibrary.Win.FATabStrip tabStrip, string title, PlistInfo p = null) { PlistEditControl c = new PlistEditControl(tabStrip, title, p); if (controls.Count == 0 || p != null) { curEditor = c; tabStrip.SelectedItem = c.Tab; } c.Tab.ContextMenuStrip = ((FormMain)main).contextMenuStripTab; controls.Add(c.Tab, c); Drop.Bind(c.Tab); return(c); }
public PlistEditControl(FATabStrip tabStrip, string title, PlistInfo p = null) { Editor = new TextEditorControl(); Tab = new FATabStripItem(); Tab.Title = title; Tab.Controls.Add(Editor); Editor.Dock = DockStyle.Fill; if (p == null) { p = new PlistInfo(); } Pinfo = p; Editor.Text = p.Content; Editor.SetHighlighting("XML"); Editor.TextChanged += Editor_TextChanged; tabStrip.AddTab(Tab); Saved = true; }
/// <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(Form1)); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.projectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.sourceFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.closeProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mapObjectBrowserToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.buildToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.compileAndCopyToMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.compileAndSaveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.compileAndSaveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.compileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.projectSettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.optionsToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.libraryServerToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.createAccountToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.manageAccountToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.uploadLibraryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.downloadLibraryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.searchDefinitionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.changeLogToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.checkForUpdatesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.changeToAnotherVersionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.reportErrorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.projectView = new Galaxy_Editor_2.TreeViewDragDrop(); this.projectViewImageList = new System.Windows.Forms.ImageList(this.components); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.objectBrowserSplitContainer = new System.Windows.Forms.SplitContainer(); this.tabStrip = new FarsiLibrary.Win.FATabStrip(); this.ObjectBrowserPanel = new System.Windows.Forms.Panel(); this.ObjectBrowserList = new System.Windows.Forms.ListView(); this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.toolStrip2 = new System.Windows.Forms.ToolStrip(); this.ObjectBrowserCatagory = new System.Windows.Forms.ToolStripComboBox(); this.TBRefreshObjectList = new System.Windows.Forms.ToolStripButton(); this.label1 = new System.Windows.Forms.Label(); this.messageView = new Galaxy_Editor_2.TreeViewDragDrop(); this.messageViewImageList = new System.Windows.Forms.ImageList(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.CBShowWarnings = new System.Windows.Forms.CheckBox(); this.CBShowErrors = new System.Windows.Forms.CheckBox(); this.projectViewMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.newFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newDialogToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.removeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openInExploreToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.activateToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.projectViewProjectMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this.newProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.compilerStatusText = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.TBNewProject = new System.Windows.Forms.ToolStripButton(); this.TBNewFile = new System.Windows.Forms.ToolStripButton(); this.TBNewFolder = new System.Windows.Forms.ToolStripButton(); this.TBDelete = new System.Windows.Forms.ToolStripButton(); this.TBSave = new System.Windows.Forms.ToolStripButton(); this.TBSaveAll = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.TBCut = new System.Windows.Forms.ToolStripButton(); this.TBCopy = new System.Windows.Forms.ToolStripButton(); this.TBPaste = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.TBUndo = new System.Windows.Forms.ToolStripButton(); this.TBRedo = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.TBRun = new System.Windows.Forms.ToolStripSplitButton(); this.runToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.buildOnlyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.saveAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.TBFind = new System.Windows.Forms.ToolStripButton(); this.editorRightClick = new System.Windows.Forms.ContextMenuStrip(this.components); this.RightClickCut = new System.Windows.Forms.ToolStripMenuItem(); this.RightClickCopy = new System.Windows.Forms.ToolStripMenuItem(); this.RightClickPaste = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.rightClickFind = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.TSInsertConstructor = new System.Windows.Forms.ToolStripMenuItem(); this.ObjectBrowserTooltip = new System.Windows.Forms.ToolTip(this.components); this.PBGurilande = new System.Windows.Forms.PictureBox(); this.menuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.objectBrowserSplitContainer)).BeginInit(); this.objectBrowserSplitContainer.Panel1.SuspendLayout(); this.objectBrowserSplitContainer.Panel2.SuspendLayout(); this.objectBrowserSplitContainer.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabStrip)).BeginInit(); this.ObjectBrowserPanel.SuspendLayout(); this.toolStrip2.SuspendLayout(); this.panel1.SuspendLayout(); this.projectViewMenu.SuspendLayout(); this.projectViewProjectMenu.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.editorRightClick.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PBGurilande)).BeginInit(); this.SuspendLayout(); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.viewToolStripMenuItem, this.buildToolStripMenuItem, this.settingsToolStripMenuItem, this.libraryServerToolStripMenuItem, this.helpToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(819, 24); this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripMenuItem, this.saveToolStripMenuItem, this.saveAllToolStripMenuItem, this.closeProjectToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "File"; // // newToolStripMenuItem // this.newToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.projectToolStripMenuItem, this.sourceFileToolStripMenuItem}); this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.Size = new System.Drawing.Size(187, 22); this.newToolStripMenuItem.Text = "New"; // // projectToolStripMenuItem // this.projectToolStripMenuItem.Name = "projectToolStripMenuItem"; this.projectToolStripMenuItem.Size = new System.Drawing.Size(129, 22); this.projectToolStripMenuItem.Text = "Project"; this.projectToolStripMenuItem.Click += new System.EventHandler(this.projectToolStripMenuItem_Click); // // sourceFileToolStripMenuItem // this.sourceFileToolStripMenuItem.Name = "sourceFileToolStripMenuItem"; this.sourceFileToolStripMenuItem.Size = new System.Drawing.Size(129, 22); this.sourceFileToolStripMenuItem.Text = "Source file"; this.sourceFileToolStripMenuItem.Click += new System.EventHandler(this.sourceFileToolStripMenuItem_Click); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.saveToolStripMenuItem.Size = new System.Drawing.Size(187, 22); this.saveToolStripMenuItem.Text = "Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); // // saveAllToolStripMenuItem // this.saveAllToolStripMenuItem.Name = "saveAllToolStripMenuItem"; this.saveAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.S))); this.saveAllToolStripMenuItem.Size = new System.Drawing.Size(187, 22); this.saveAllToolStripMenuItem.Text = "Save All"; this.saveAllToolStripMenuItem.Click += new System.EventHandler(this.saveAllToolStripMenuItem_Click); // // closeProjectToolStripMenuItem // this.closeProjectToolStripMenuItem.Enabled = false; this.closeProjectToolStripMenuItem.Name = "closeProjectToolStripMenuItem"; this.closeProjectToolStripMenuItem.Size = new System.Drawing.Size(187, 22); this.closeProjectToolStripMenuItem.Text = "Close project"; this.closeProjectToolStripMenuItem.Click += new System.EventHandler(this.closeProjectToolStripMenuItem_Click); // // viewToolStripMenuItem // this.viewToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mapObjectBrowserToolStripMenuItem}); this.viewToolStripMenuItem.Name = "viewToolStripMenuItem"; this.viewToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.viewToolStripMenuItem.Text = "View"; // // mapObjectBrowserToolStripMenuItem // this.mapObjectBrowserToolStripMenuItem.Checked = true; this.mapObjectBrowserToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.mapObjectBrowserToolStripMenuItem.Name = "mapObjectBrowserToolStripMenuItem"; this.mapObjectBrowserToolStripMenuItem.Size = new System.Drawing.Size(181, 22); this.mapObjectBrowserToolStripMenuItem.Text = "Map Object Browser"; this.mapObjectBrowserToolStripMenuItem.Click += new System.EventHandler(this.mapObjectBrowserToolStripMenuItem_Click); // // buildToolStripMenuItem // this.buildToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.compileAndCopyToMapToolStripMenuItem, this.compileAndSaveToolStripMenuItem, this.compileAndSaveAsToolStripMenuItem, this.compileToolStripMenuItem}); this.buildToolStripMenuItem.Name = "buildToolStripMenuItem"; this.buildToolStripMenuItem.Size = new System.Drawing.Size(46, 20); this.buildToolStripMenuItem.Text = "Build"; // // compileAndCopyToMapToolStripMenuItem // this.compileAndCopyToMapToolStripMenuItem.Enabled = false; this.compileAndCopyToMapToolStripMenuItem.Name = "compileAndCopyToMapToolStripMenuItem"; this.compileAndCopyToMapToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F9))); this.compileAndCopyToMapToolStripMenuItem.Size = new System.Drawing.Size(219, 22); this.compileAndCopyToMapToolStripMenuItem.Text = "Compile and run"; this.compileAndCopyToMapToolStripMenuItem.Click += new System.EventHandler(this.compileAndCopyToMapToolStripMenuItem_Click); // // compileAndSaveToolStripMenuItem // this.compileAndSaveToolStripMenuItem.Enabled = false; this.compileAndSaveToolStripMenuItem.Name = "compileAndSaveToolStripMenuItem"; this.compileAndSaveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.F9))); this.compileAndSaveToolStripMenuItem.Size = new System.Drawing.Size(219, 22); this.compileAndSaveToolStripMenuItem.Text = "Compile and save"; this.compileAndSaveToolStripMenuItem.Click += new System.EventHandler(this.compileAndSaveToolStripMenuItem_Click); // // compileAndSaveAsToolStripMenuItem // this.compileAndSaveAsToolStripMenuItem.Enabled = false; this.compileAndSaveAsToolStripMenuItem.Name = "compileAndSaveAsToolStripMenuItem"; this.compileAndSaveAsToolStripMenuItem.Size = new System.Drawing.Size(219, 22); this.compileAndSaveAsToolStripMenuItem.Text = "Compile and save as"; this.compileAndSaveAsToolStripMenuItem.Click += new System.EventHandler(this.compileAndSaveAsToolStripMenuItem_Click); // // compileToolStripMenuItem // this.compileToolStripMenuItem.Enabled = false; this.compileToolStripMenuItem.Name = "compileToolStripMenuItem"; this.compileToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F9; this.compileToolStripMenuItem.Size = new System.Drawing.Size(219, 22); this.compileToolStripMenuItem.Text = "Compile"; this.compileToolStripMenuItem.Click += new System.EventHandler(this.compileToolStripMenuItem_Click); // // settingsToolStripMenuItem // this.settingsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.projectSettingsToolStripMenuItem, this.optionsToolStripMenuItem1}); this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; this.settingsToolStripMenuItem.Size = new System.Drawing.Size(61, 20); this.settingsToolStripMenuItem.Text = "Settings"; // // projectSettingsToolStripMenuItem // this.projectSettingsToolStripMenuItem.Enabled = false; this.projectSettingsToolStripMenuItem.Name = "projectSettingsToolStripMenuItem"; this.projectSettingsToolStripMenuItem.Size = new System.Drawing.Size(155, 22); this.projectSettingsToolStripMenuItem.Text = "Project settings"; this.projectSettingsToolStripMenuItem.Click += new System.EventHandler(this.projectSettingsToolStripMenuItem_Click); // // optionsToolStripMenuItem1 // this.optionsToolStripMenuItem1.Name = "optionsToolStripMenuItem1"; this.optionsToolStripMenuItem1.Size = new System.Drawing.Size(155, 22); this.optionsToolStripMenuItem1.Text = "Options"; this.optionsToolStripMenuItem1.Click += new System.EventHandler(this.optionsToolStripMenuItem_Click); // // libraryServerToolStripMenuItem // this.libraryServerToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.createAccountToolStripMenuItem, this.manageAccountToolStripMenuItem, this.uploadLibraryToolStripMenuItem, this.downloadLibraryToolStripMenuItem}); this.libraryServerToolStripMenuItem.Name = "libraryServerToolStripMenuItem"; this.libraryServerToolStripMenuItem.Size = new System.Drawing.Size(90, 20); this.libraryServerToolStripMenuItem.Text = "Library Server"; // // createAccountToolStripMenuItem // this.createAccountToolStripMenuItem.Name = "createAccountToolStripMenuItem"; this.createAccountToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.createAccountToolStripMenuItem.Text = "Create Account"; this.createAccountToolStripMenuItem.Click += new System.EventHandler(this.createAccountToolStripMenuItem_Click); // // manageAccountToolStripMenuItem // this.manageAccountToolStripMenuItem.Name = "manageAccountToolStripMenuItem"; this.manageAccountToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.manageAccountToolStripMenuItem.Text = "Manage Account"; this.manageAccountToolStripMenuItem.Click += new System.EventHandler(this.manageAccountToolStripMenuItem_Click); // // uploadLibraryToolStripMenuItem // this.uploadLibraryToolStripMenuItem.Name = "uploadLibraryToolStripMenuItem"; this.uploadLibraryToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.uploadLibraryToolStripMenuItem.Text = "Upload Library"; this.uploadLibraryToolStripMenuItem.Click += new System.EventHandler(this.uploadLibraryToolStripMenuItem_Click); // // downloadLibraryToolStripMenuItem // this.downloadLibraryToolStripMenuItem.Name = "downloadLibraryToolStripMenuItem"; this.downloadLibraryToolStripMenuItem.Size = new System.Drawing.Size(167, 22); this.downloadLibraryToolStripMenuItem.Text = "Download Library"; this.downloadLibraryToolStripMenuItem.Click += new System.EventHandler(this.downloadLibraryToolStripMenuItem_Click); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.aboutToolStripMenuItem1, this.searchDefinitionsToolStripMenuItem, this.changeLogToolStripMenuItem, this.checkForUpdatesToolStripMenuItem, this.changeToAnotherVersionToolStripMenuItem, this.reportErrorToolStripMenuItem}); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20); this.helpToolStripMenuItem.Text = "Help"; // // aboutToolStripMenuItem1 // this.aboutToolStripMenuItem1.Name = "aboutToolStripMenuItem1"; this.aboutToolStripMenuItem1.Size = new System.Drawing.Size(214, 22); this.aboutToolStripMenuItem1.Text = "About"; this.aboutToolStripMenuItem1.Click += new System.EventHandler(this.aboutToolStripMenuItem1_Click); // // searchDefinitionsToolStripMenuItem // this.searchDefinitionsToolStripMenuItem.Name = "searchDefinitionsToolStripMenuItem"; this.searchDefinitionsToolStripMenuItem.Size = new System.Drawing.Size(214, 22); this.searchDefinitionsToolStripMenuItem.Text = "Search definitions"; this.searchDefinitionsToolStripMenuItem.Click += new System.EventHandler(this.searchDefinitionsToolStripMenuItem_Click); // // changeLogToolStripMenuItem // this.changeLogToolStripMenuItem.Name = "changeLogToolStripMenuItem"; this.changeLogToolStripMenuItem.Size = new System.Drawing.Size(214, 22); this.changeLogToolStripMenuItem.Text = "Change Log"; this.changeLogToolStripMenuItem.Click += new System.EventHandler(this.changeLogToolStripMenuItem_Click); // // checkForUpdatesToolStripMenuItem // this.checkForUpdatesToolStripMenuItem.Name = "checkForUpdatesToolStripMenuItem"; this.checkForUpdatesToolStripMenuItem.Size = new System.Drawing.Size(214, 22); this.checkForUpdatesToolStripMenuItem.Text = "Check for updates"; this.checkForUpdatesToolStripMenuItem.Click += new System.EventHandler(this.checkForUpdatesToolStripMenuItem_Click); // // changeToAnotherVersionToolStripMenuItem // this.changeToAnotherVersionToolStripMenuItem.Name = "changeToAnotherVersionToolStripMenuItem"; this.changeToAnotherVersionToolStripMenuItem.Size = new System.Drawing.Size(214, 22); this.changeToAnotherVersionToolStripMenuItem.Text = "Change to another version"; this.changeToAnotherVersionToolStripMenuItem.Click += new System.EventHandler(this.changeToAnotherVersionToolStripMenuItem_Click); // // reportErrorToolStripMenuItem // this.reportErrorToolStripMenuItem.Name = "reportErrorToolStripMenuItem"; this.reportErrorToolStripMenuItem.Size = new System.Drawing.Size(214, 22); this.reportErrorToolStripMenuItem.Text = "Report Error"; this.reportErrorToolStripMenuItem.Click += new System.EventHandler(this.reportErrorToolStripMenuItem_Click); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainer1.Location = new System.Drawing.Point(0, 49); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.projectView); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.splitContainer2); this.splitContainer1.Size = new System.Drawing.Size(819, 390); this.splitContainer1.SplitterDistance = 198; this.splitContainer1.TabIndex = 1; // // projectView // this.projectView.AllowDrop = true; this.projectView.Dock = System.Windows.Forms.DockStyle.Fill; this.projectView.DragCursor = null; this.projectView.DragCursorType = Galaxy_Editor_2.DragCursorType.None; this.projectView.DragImageIndex = 0; this.projectView.DragMode = System.Windows.Forms.DragDropEffects.Move; this.projectView.DragNodeFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.projectView.DragNodeOpacity = 0.3D; this.projectView.DragOverNodeBackColor = System.Drawing.SystemColors.Highlight; this.projectView.DragOverNodeForeColor = System.Drawing.SystemColors.HighlightText; this.projectView.ImageIndex = 0; this.projectView.ImageList = this.projectViewImageList; this.projectView.Location = new System.Drawing.Point(0, 0); this.projectView.Name = "projectView"; this.projectView.SelectedImageIndex = 0; this.projectView.Size = new System.Drawing.Size(198, 390); this.projectView.TabIndex = 0; this.projectView.DragStart += new Galaxy_Editor_2.DragItemEventHandler(this.projectView_DragStart); this.projectView.DragComplete += new Galaxy_Editor_2.DragCompleteEventHandler(this.projectView_DragComplete); this.projectView.DragCompleteValid += new Galaxy_Editor_2.DragCompletionValidEventHandler(this.projectView_DragCompleteValid); this.projectView.BeforeLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.projectView_BeforeLabelEdit); this.projectView.AfterLabelEdit += new System.Windows.Forms.NodeLabelEditEventHandler(this.projectView_AfterLabelEdit); this.projectView.AfterCollapse += new System.Windows.Forms.TreeViewEventHandler(this.projectView_AfterCollapse); this.projectView.AfterExpand += new System.Windows.Forms.TreeViewEventHandler(this.projectView_AfterExpand); this.projectView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.projectView_AfterSelect); this.projectView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.projectView_KeyDown); this.projectView.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.projectView_KeyPress); this.projectView.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.projectView_MouseDoubleClick); this.projectView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.projectView_MouseDown); // // projectViewImageList // this.projectViewImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("projectViewImageList.ImageStream"))); this.projectViewImageList.TransparentColor = System.Drawing.Color.Transparent; this.projectViewImageList.Images.SetKeyName(0, "icon.ico"); this.projectViewImageList.Images.SetKeyName(1, "Folder.png"); this.projectViewImageList.Images.SetKeyName(2, "GalaxyFileV3-16.png"); this.projectViewImageList.Images.SetKeyName(3, "XMLIcon.ico"); this.projectViewImageList.Images.SetKeyName(4, ""); this.projectViewImageList.Images.SetKeyName(5, "DialogIcon.png"); // // 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"; this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.objectBrowserSplitContainer); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.messageView); this.splitContainer2.Panel2.Controls.Add(this.panel1); this.splitContainer2.Size = new System.Drawing.Size(617, 390); this.splitContainer2.SplitterDistance = 264; this.splitContainer2.TabIndex = 0; // // objectBrowserSplitContainer // this.objectBrowserSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.objectBrowserSplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.objectBrowserSplitContainer.Location = new System.Drawing.Point(0, 0); this.objectBrowserSplitContainer.Name = "objectBrowserSplitContainer"; // // objectBrowserSplitContainer.Panel1 // this.objectBrowserSplitContainer.Panel1.Controls.Add(this.tabStrip); // // objectBrowserSplitContainer.Panel2 // this.objectBrowserSplitContainer.Panel2.Controls.Add(this.ObjectBrowserPanel); this.objectBrowserSplitContainer.Size = new System.Drawing.Size(617, 264); this.objectBrowserSplitContainer.SplitterDistance = 377; this.objectBrowserSplitContainer.TabIndex = 1; // // tabStrip // this.tabStrip.Dock = System.Windows.Forms.DockStyle.Fill; this.tabStrip.Font = new System.Drawing.Font("Tahoma", 8.25F); this.tabStrip.Location = new System.Drawing.Point(0, 0); this.tabStrip.Name = "tabStrip"; this.tabStrip.Size = new System.Drawing.Size(377, 264); this.tabStrip.TabIndex = 0; this.tabStrip.TabStripItemClosing += new FarsiLibrary.Win.TabStripItemClosingHandler(this.tabStrip_TabStripItemClosing); this.tabStrip.TabStripItemSelectionChanged += new FarsiLibrary.Win.TabStripItemChangedHandler(this.tabStrip_TabStripItemSelectionChanged); // // ObjectBrowserPanel // this.ObjectBrowserPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ObjectBrowserPanel.Controls.Add(this.ObjectBrowserList); this.ObjectBrowserPanel.Controls.Add(this.toolStrip2); this.ObjectBrowserPanel.Controls.Add(this.label1); this.ObjectBrowserPanel.Dock = System.Windows.Forms.DockStyle.Fill; this.ObjectBrowserPanel.Location = new System.Drawing.Point(0, 0); this.ObjectBrowserPanel.Name = "ObjectBrowserPanel"; this.ObjectBrowserPanel.Size = new System.Drawing.Size(236, 264); this.ObjectBrowserPanel.TabIndex = 3; // // ObjectBrowserList // this.ObjectBrowserList.BackgroundImage = global::Galaxy_Editor_2.Properties.Resources.Snowman; this.ObjectBrowserList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2}); this.ObjectBrowserList.Dock = System.Windows.Forms.DockStyle.Fill; this.ObjectBrowserList.Location = new System.Drawing.Point(0, 38); this.ObjectBrowserList.MultiSelect = false; this.ObjectBrowserList.Name = "ObjectBrowserList"; this.ObjectBrowserList.Size = new System.Drawing.Size(234, 224); this.ObjectBrowserList.TabIndex = 3; this.ObjectBrowserList.UseCompatibleStateImageBehavior = false; this.ObjectBrowserList.View = System.Windows.Forms.View.Details; this.ObjectBrowserList.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.ObjectBrowserList_MouseDoubleClick); // // columnHeader1 // this.columnHeader1.Text = "Name"; // // columnHeader2 // this.columnHeader2.Text = "ID"; // // toolStrip2 // this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ObjectBrowserCatagory, this.TBRefreshObjectList}); this.toolStrip2.Location = new System.Drawing.Point(0, 13); this.toolStrip2.Name = "toolStrip2"; this.toolStrip2.Size = new System.Drawing.Size(234, 25); this.toolStrip2.TabIndex = 0; this.toolStrip2.Text = "toolStrip2"; // // ObjectBrowserCatagory // this.ObjectBrowserCatagory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ObjectBrowserCatagory.FlatStyle = System.Windows.Forms.FlatStyle.Standard; this.ObjectBrowserCatagory.Name = "ObjectBrowserCatagory"; this.ObjectBrowserCatagory.Size = new System.Drawing.Size(121, 25); this.ObjectBrowserCatagory.SelectedIndexChanged += new System.EventHandler(this.ObjectBrowserCatagory_SelectedIndexChanged); // // TBRefreshObjectList // this.TBRefreshObjectList.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBRefreshObjectList.Image = ((System.Drawing.Image)(resources.GetObject("TBRefreshObjectList.Image"))); this.TBRefreshObjectList.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBRefreshObjectList.Name = "TBRefreshObjectList"; this.TBRefreshObjectList.Size = new System.Drawing.Size(23, 22); this.TBRefreshObjectList.Text = "toolStripButton1"; this.TBRefreshObjectList.ToolTipText = "Refresh list"; this.TBRefreshObjectList.Click += new System.EventHandler(this.TBRefreshObjectList_Click); // // label1 // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.SystemColors.Control; this.label1.Dock = System.Windows.Forms.DockStyle.Top; this.label1.Location = new System.Drawing.Point(0, 0); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(102, 13); this.label1.TabIndex = 2; this.label1.Text = "Map Object browser"; // // messageView // this.messageView.AllowDrop = true; this.messageView.Dock = System.Windows.Forms.DockStyle.Fill; this.messageView.DragCursor = null; this.messageView.DragCursorType = Galaxy_Editor_2.DragCursorType.None; this.messageView.DragImageIndex = 0; this.messageView.DragMode = System.Windows.Forms.DragDropEffects.Move; this.messageView.DragNodeFont = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.messageView.DragNodeOpacity = 0.3D; this.messageView.DragOverNodeBackColor = System.Drawing.SystemColors.Highlight; this.messageView.DragOverNodeForeColor = System.Drawing.SystemColors.HighlightText; this.messageView.ImageIndex = 0; this.messageView.ImageList = this.messageViewImageList; this.messageView.Location = new System.Drawing.Point(0, 28); this.messageView.Name = "messageView"; this.messageView.SelectedImageIndex = 0; this.messageView.Size = new System.Drawing.Size(617, 94); this.messageView.TabIndex = 0; this.messageView.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.messageView_MouseDoubleClick); // // messageViewImageList // this.messageViewImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("messageViewImageList.ImageStream"))); this.messageViewImageList.TransparentColor = System.Drawing.Color.Transparent; this.messageViewImageList.Images.SetKeyName(0, "Error.bmp"); this.messageViewImageList.Images.SetKeyName(1, "Warning.bmp"); // // panel1 // this.panel1.Controls.Add(this.CBShowWarnings); this.panel1.Controls.Add(this.CBShowErrors); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(617, 28); this.panel1.TabIndex = 1; // // CBShowWarnings // this.CBShowWarnings.AutoSize = true; this.CBShowWarnings.Location = new System.Drawing.Point(92, 3); this.CBShowWarnings.Name = "CBShowWarnings"; this.CBShowWarnings.Size = new System.Drawing.Size(101, 17); this.CBShowWarnings.TabIndex = 3; this.CBShowWarnings.Text = "Show Warnings"; this.CBShowWarnings.UseVisualStyleBackColor = true; this.CBShowWarnings.CheckedChanged += new System.EventHandler(this.CBShowWarnings_CheckedChanged); // // CBShowErrors // this.CBShowErrors.AutoSize = true; this.CBShowErrors.Location = new System.Drawing.Point(3, 3); this.CBShowErrors.Name = "CBShowErrors"; this.CBShowErrors.Size = new System.Drawing.Size(83, 17); this.CBShowErrors.TabIndex = 2; this.CBShowErrors.Text = "Show Errors"; this.CBShowErrors.UseVisualStyleBackColor = true; this.CBShowErrors.CheckedChanged += new System.EventHandler(this.CBShowErrors_CheckedChanged); // // projectViewMenu // this.projectViewMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newFileToolStripMenuItem, this.newDialogToolStripMenuItem, this.newFolderToolStripMenuItem, this.removeToolStripMenuItem, this.renameToolStripMenuItem, this.openInExploreToolStripMenuItem, this.activateToolStripMenuItem}); this.projectViewMenu.Name = "projectViewMenu"; this.projectViewMenu.Size = new System.Drawing.Size(162, 158); // // newFileToolStripMenuItem // this.newFileToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newFileToolStripMenuItem.Image"))); this.newFileToolStripMenuItem.Name = "newFileToolStripMenuItem"; this.newFileToolStripMenuItem.Size = new System.Drawing.Size(161, 22); this.newFileToolStripMenuItem.Text = "New File"; this.newFileToolStripMenuItem.Click += new System.EventHandler(this.newFileToolStripMenuItem_Click); // // newDialogToolStripMenuItem // this.newDialogToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newDialogToolStripMenuItem.Image"))); this.newDialogToolStripMenuItem.Name = "newDialogToolStripMenuItem"; this.newDialogToolStripMenuItem.Size = new System.Drawing.Size(161, 22); this.newDialogToolStripMenuItem.Text = "New Dialog"; this.newDialogToolStripMenuItem.Click += new System.EventHandler(this.newDialogToolStripMenuItem_Click); // // newFolderToolStripMenuItem // this.newFolderToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newFolderToolStripMenuItem.Image"))); this.newFolderToolStripMenuItem.Name = "newFolderToolStripMenuItem"; this.newFolderToolStripMenuItem.Size = new System.Drawing.Size(161, 22); this.newFolderToolStripMenuItem.Text = "New Folder"; this.newFolderToolStripMenuItem.Click += new System.EventHandler(this.newFolderToolStripMenuItem_Click); // // removeToolStripMenuItem // this.removeToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("removeToolStripMenuItem.Image"))); this.removeToolStripMenuItem.Name = "removeToolStripMenuItem"; this.removeToolStripMenuItem.ShortcutKeyDisplayString = "Del"; this.removeToolStripMenuItem.Size = new System.Drawing.Size(161, 22); this.removeToolStripMenuItem.Text = "Remove"; this.removeToolStripMenuItem.Click += new System.EventHandler(this.removeToolStripMenuItem_Click); // // renameToolStripMenuItem // this.renameToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("renameToolStripMenuItem.Image"))); this.renameToolStripMenuItem.Name = "renameToolStripMenuItem"; this.renameToolStripMenuItem.ShortcutKeyDisplayString = "F2"; this.renameToolStripMenuItem.Size = new System.Drawing.Size(161, 22); this.renameToolStripMenuItem.Text = "Rename"; this.renameToolStripMenuItem.Click += new System.EventHandler(this.renameToolStripMenuItem_Click); // // openInExploreToolStripMenuItem // this.openInExploreToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openInExploreToolStripMenuItem.Image"))); this.openInExploreToolStripMenuItem.Name = "openInExploreToolStripMenuItem"; this.openInExploreToolStripMenuItem.Size = new System.Drawing.Size(161, 22); this.openInExploreToolStripMenuItem.Text = "Open in explorer"; this.openInExploreToolStripMenuItem.Click += new System.EventHandler(this.openInExploreToolStripMenuItem_Click); // // activateToolStripMenuItem // this.activateToolStripMenuItem.Checked = true; this.activateToolStripMenuItem.CheckState = System.Windows.Forms.CheckState.Checked; this.activateToolStripMenuItem.Name = "activateToolStripMenuItem"; this.activateToolStripMenuItem.Size = new System.Drawing.Size(161, 22); this.activateToolStripMenuItem.Text = "Enabled"; this.activateToolStripMenuItem.Click += new System.EventHandler(this.activateToolStripMenuItem_Click); // // projectViewProjectMenu // this.projectViewProjectMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newProjectToolStripMenuItem, this.deleteProjectToolStripMenuItem}); this.projectViewProjectMenu.Name = "projectViewProjectMenu"; this.projectViewProjectMenu.Size = new System.Drawing.Size(172, 48); // // newProjectToolStripMenuItem // this.newProjectToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("newProjectToolStripMenuItem.Image"))); this.newProjectToolStripMenuItem.Name = "newProjectToolStripMenuItem"; this.newProjectToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.newProjectToolStripMenuItem.Text = "New project"; this.newProjectToolStripMenuItem.Click += new System.EventHandler(this.newProjectToolStripMenuItem_Click); // // deleteProjectToolStripMenuItem // this.deleteProjectToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("deleteProjectToolStripMenuItem.Image"))); this.deleteProjectToolStripMenuItem.Name = "deleteProjectToolStripMenuItem"; this.deleteProjectToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete; this.deleteProjectToolStripMenuItem.Size = new System.Drawing.Size(171, 22); this.deleteProjectToolStripMenuItem.Text = "Delete project"; this.deleteProjectToolStripMenuItem.Click += new System.EventHandler(this.deleteProjectToolStripMenuItem_Click); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.compilerStatusText}); this.statusStrip1.Location = new System.Drawing.Point(0, 439); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(819, 22); this.statusStrip1.TabIndex = 2; this.statusStrip1.Text = "statusStrip1"; // // compilerStatusText // this.compilerStatusText.Name = "compilerStatusText"; this.compilerStatusText.Size = new System.Drawing.Size(39, 17); this.compilerStatusText.Text = "Ready"; // // toolStrip1 // this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.TBNewProject, this.TBNewFile, this.TBNewFolder, this.TBDelete, this.TBSave, this.TBSaveAll, this.toolStripSeparator3, this.TBCut, this.TBCopy, this.TBPaste, this.toolStripSeparator2, this.TBUndo, this.TBRedo, this.toolStripSeparator1, this.TBRun, this.toolStripSeparator4, this.TBFind}); this.toolStrip1.Location = new System.Drawing.Point(0, 24); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(819, 25); this.toolStrip1.TabIndex = 3; this.toolStrip1.Text = "toolStrip1"; // // TBNewProject // this.TBNewProject.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBNewProject.Image = ((System.Drawing.Image)(resources.GetObject("TBNewProject.Image"))); this.TBNewProject.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBNewProject.Name = "TBNewProject"; this.TBNewProject.Size = new System.Drawing.Size(23, 22); this.TBNewProject.Text = "toolStripButton1"; this.TBNewProject.ToolTipText = "New Project"; this.TBNewProject.Click += new System.EventHandler(this.projectToolStripMenuItem_Click); // // TBNewFile // this.TBNewFile.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBNewFile.Enabled = false; this.TBNewFile.Image = ((System.Drawing.Image)(resources.GetObject("TBNewFile.Image"))); this.TBNewFile.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBNewFile.Name = "TBNewFile"; this.TBNewFile.Size = new System.Drawing.Size(23, 22); this.TBNewFile.Text = "toolStripButton3"; this.TBNewFile.ToolTipText = "New File"; this.TBNewFile.Click += new System.EventHandler(this.sourceFileToolStripMenuItem_Click); // // TBNewFolder // this.TBNewFolder.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBNewFolder.Enabled = false; this.TBNewFolder.Image = ((System.Drawing.Image)(resources.GetObject("TBNewFolder.Image"))); this.TBNewFolder.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBNewFolder.Name = "TBNewFolder"; this.TBNewFolder.Size = new System.Drawing.Size(23, 22); this.TBNewFolder.Text = "toolStripButton6"; this.TBNewFolder.ToolTipText = "New Folder"; this.TBNewFolder.Click += new System.EventHandler(this.newFolderToolStripMenuItem_Click); // // TBDelete // this.TBDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBDelete.Image = ((System.Drawing.Image)(resources.GetObject("TBDelete.Image"))); this.TBDelete.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBDelete.Name = "TBDelete"; this.TBDelete.Size = new System.Drawing.Size(23, 22); this.TBDelete.Text = "Delete (Del)"; this.TBDelete.Click += new System.EventHandler(this.TBDelete_Click); // // TBSave // this.TBSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBSave.Enabled = false; this.TBSave.Image = ((System.Drawing.Image)(resources.GetObject("TBSave.Image"))); this.TBSave.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBSave.Name = "TBSave"; this.TBSave.Size = new System.Drawing.Size(23, 22); this.TBSave.Text = "toolStripButton2"; this.TBSave.ToolTipText = "Save (Ctrl+S)"; this.TBSave.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); // // TBSaveAll // this.TBSaveAll.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBSaveAll.Enabled = false; this.TBSaveAll.Image = ((System.Drawing.Image)(resources.GetObject("TBSaveAll.Image"))); this.TBSaveAll.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBSaveAll.Name = "TBSaveAll"; this.TBSaveAll.Size = new System.Drawing.Size(23, 22); this.TBSaveAll.Text = "toolStripButton1"; this.TBSaveAll.ToolTipText = "Save All (Ctrl+Shift+S)"; this.TBSaveAll.Click += new System.EventHandler(this.saveAllToolStripMenuItem_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(6, 25); // // TBCut // this.TBCut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBCut.Enabled = false; this.TBCut.Image = ((System.Drawing.Image)(resources.GetObject("TBCut.Image"))); this.TBCut.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBCut.Name = "TBCut"; this.TBCut.Size = new System.Drawing.Size(23, 22); this.TBCut.Text = "toolStripButton1"; this.TBCut.ToolTipText = "Cut (Ctrl+X)"; this.TBCut.Click += new System.EventHandler(this.TBCut_Click); // // TBCopy // this.TBCopy.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBCopy.Enabled = false; this.TBCopy.Image = ((System.Drawing.Image)(resources.GetObject("TBCopy.Image"))); this.TBCopy.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBCopy.Name = "TBCopy"; this.TBCopy.Size = new System.Drawing.Size(23, 22); this.TBCopy.Text = "toolStripButton1"; this.TBCopy.ToolTipText = "Copy (Ctrl+C)"; this.TBCopy.Click += new System.EventHandler(this.TBCopy_Click); // // TBPaste // this.TBPaste.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBPaste.Enabled = false; this.TBPaste.Image = ((System.Drawing.Image)(resources.GetObject("TBPaste.Image"))); this.TBPaste.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBPaste.Name = "TBPaste"; this.TBPaste.Size = new System.Drawing.Size(23, 22); this.TBPaste.Text = "toolStripButton2"; this.TBPaste.ToolTipText = "Paste (Ctrl+V)"; this.TBPaste.Click += new System.EventHandler(this.TBPaste_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // TBUndo // this.TBUndo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBUndo.Enabled = false; this.TBUndo.Image = ((System.Drawing.Image)(resources.GetObject("TBUndo.Image"))); this.TBUndo.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBUndo.Name = "TBUndo"; this.TBUndo.Size = new System.Drawing.Size(23, 22); this.TBUndo.Text = "toolStripButton5"; this.TBUndo.ToolTipText = "Undo (Ctrl+Z)"; this.TBUndo.Click += new System.EventHandler(this.TBUndo_Click); // // TBRedo // this.TBRedo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBRedo.Enabled = false; this.TBRedo.Image = ((System.Drawing.Image)(resources.GetObject("TBRedo.Image"))); this.TBRedo.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBRedo.Name = "TBRedo"; this.TBRedo.Size = new System.Drawing.Size(23, 22); this.TBRedo.Text = "toolStripButton4"; this.TBRedo.ToolTipText = "Redo (Ctrl+Y)"; this.TBRedo.Click += new System.EventHandler(this.TBRedo_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // TBRun // this.TBRun.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBRun.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.runToolStripMenuItem, this.buildOnlyToolStripMenuItem, this.saveToolStripMenuItem1, this.saveAsToolStripMenuItem}); this.TBRun.Enabled = false; this.TBRun.Image = ((System.Drawing.Image)(resources.GetObject("TBRun.Image"))); this.TBRun.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBRun.Name = "TBRun"; this.TBRun.Size = new System.Drawing.Size(32, 22); this.TBRun.Text = "toolStripSplitButton1"; this.TBRun.ToolTipText = "Run the map in Starcraft II"; this.TBRun.ButtonClick += new System.EventHandler(this.compileAndCopyToMapToolStripMenuItem_Click); // // runToolStripMenuItem // this.runToolStripMenuItem.Name = "runToolStripMenuItem"; this.runToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F9))); this.runToolStripMenuItem.Size = new System.Drawing.Size(149, 22); this.runToolStripMenuItem.Text = "Run"; this.runToolStripMenuItem.ToolTipText = "Run the map in Starcraft II"; this.runToolStripMenuItem.Click += new System.EventHandler(this.compileAndCopyToMapToolStripMenuItem_Click); // // buildOnlyToolStripMenuItem // this.buildOnlyToolStripMenuItem.Name = "buildOnlyToolStripMenuItem"; this.buildOnlyToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F9; this.buildOnlyToolStripMenuItem.Size = new System.Drawing.Size(149, 22); this.buildOnlyToolStripMenuItem.Text = "Build only"; this.buildOnlyToolStripMenuItem.ToolTipText = "Only Generate Galaxy Script"; this.buildOnlyToolStripMenuItem.Click += new System.EventHandler(this.compileToolStripMenuItem_Click); // // saveToolStripMenuItem1 // this.saveToolStripMenuItem1.Name = "saveToolStripMenuItem1"; this.saveToolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.F9))); this.saveToolStripMenuItem1.Size = new System.Drawing.Size(149, 22); this.saveToolStripMenuItem1.Text = "Save"; this.saveToolStripMenuItem1.ToolTipText = "Save the script to your map (for publishing)"; this.saveToolStripMenuItem1.Click += new System.EventHandler(this.compileAndSaveToolStripMenuItem_Click); // // saveAsToolStripMenuItem // this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new System.Drawing.Size(149, 22); this.saveAsToolStripMenuItem.Text = "Save As"; this.saveAsToolStripMenuItem.ToolTipText = "Save the script to your map (for publishing)"; this.saveAsToolStripMenuItem.Click += new System.EventHandler(this.compileAndSaveAsToolStripMenuItem_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(6, 25); // // TBFind // this.TBFind.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.TBFind.Enabled = false; this.TBFind.Image = ((System.Drawing.Image)(resources.GetObject("TBFind.Image"))); this.TBFind.ImageTransparentColor = System.Drawing.Color.Magenta; this.TBFind.Name = "TBFind"; this.TBFind.Size = new System.Drawing.Size(23, 22); this.TBFind.Text = "toolStripButton1"; this.TBFind.ToolTipText = "Find (Ctrl+F)"; this.TBFind.Click += new System.EventHandler(this.TBFind_Click); // // editorRightClick // this.editorRightClick.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.RightClickCut, this.RightClickCopy, this.RightClickPaste, this.toolStripSeparator5, this.rightClickFind, this.toolStripSeparator6, this.toolStripMenuItem1}); this.editorRightClick.Name = "editorRightClick"; this.editorRightClick.Size = new System.Drawing.Size(184, 126); // // RightClickCut // this.RightClickCut.Image = global::Galaxy_Editor_2.Properties.Resources.CutHS; this.RightClickCut.Name = "RightClickCut"; this.RightClickCut.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.X))); this.RightClickCut.Size = new System.Drawing.Size(183, 22); this.RightClickCut.Text = "Cut"; this.RightClickCut.Click += new System.EventHandler(this.TBCut_Click); // // RightClickCopy // this.RightClickCopy.Image = global::Galaxy_Editor_2.Properties.Resources.CopyHS; this.RightClickCopy.Name = "RightClickCopy"; this.RightClickCopy.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.RightClickCopy.Size = new System.Drawing.Size(183, 22); this.RightClickCopy.Text = "Copy"; this.RightClickCopy.Click += new System.EventHandler(this.TBCopy_Click); // // RightClickPaste // this.RightClickPaste.Image = global::Galaxy_Editor_2.Properties.Resources.PasteHS; this.RightClickPaste.Name = "RightClickPaste"; this.RightClickPaste.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.V))); this.RightClickPaste.Size = new System.Drawing.Size(183, 22); this.RightClickPaste.Text = "Paste"; this.RightClickPaste.Click += new System.EventHandler(this.TBPaste_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(180, 6); // // rightClickFind // this.rightClickFind.Image = ((System.Drawing.Image)(resources.GetObject("rightClickFind.Image"))); this.rightClickFind.Name = "rightClickFind"; this.rightClickFind.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); this.rightClickFind.Size = new System.Drawing.Size(183, 22); this.rightClickFind.Text = "Find/Replace"; this.rightClickFind.Click += new System.EventHandler(this.TBFind_Click); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(180, 6); // // toolStripMenuItem1 // this.toolStripMenuItem1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.TSInsertConstructor}); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(183, 22); this.toolStripMenuItem1.Text = "Insert"; // // TSInsertConstructor // this.TSInsertConstructor.Name = "TSInsertConstructor"; this.TSInsertConstructor.Size = new System.Drawing.Size(137, 22); this.TSInsertConstructor.Text = "Constructor"; this.TSInsertConstructor.Click += new System.EventHandler(this.TSInsertConstructor_Click); // // PBGurilande // this.PBGurilande.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("PBGurilande.BackgroundImage"))); this.PBGurilande.Location = new System.Drawing.Point(322, 2); this.PBGurilande.Name = "PBGurilande"; this.PBGurilande.Size = new System.Drawing.Size(496, 19); this.PBGurilande.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.PBGurilande.TabIndex = 4; this.PBGurilande.TabStop = false; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(819, 461); this.Controls.Add(this.PBGurilande); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.menuStrip1); this.DoubleBuffered = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.MainMenuStrip = this.menuStrip1; this.Name = "Form1"; this.Text = "Galaxy++ editor by Beier"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); this.Shown += new System.EventHandler(this.Form1_Shown); this.ResizeEnd += new System.EventHandler(this.Form1_ResizeEnd); this.Resize += new System.EventHandler(this.Form1_Resize); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit(); this.splitContainer2.ResumeLayout(false); this.objectBrowserSplitContainer.Panel1.ResumeLayout(false); this.objectBrowserSplitContainer.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.objectBrowserSplitContainer)).EndInit(); this.objectBrowserSplitContainer.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tabStrip)).EndInit(); this.ObjectBrowserPanel.ResumeLayout(false); this.ObjectBrowserPanel.PerformLayout(); this.toolStrip2.ResumeLayout(false); this.toolStrip2.PerformLayout(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.projectViewMenu.ResumeLayout(false); this.projectViewProjectMenu.ResumeLayout(false); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.editorRightClick.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PBGurilande)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { components = new Container(); ComponentResourceManager resources = new ComponentResourceManager(typeof (cRemote)); TreeNode treeNode1 = new TreeNode("Connections"); conMenu = new ContextMenuStrip(components); menAddServer = new ToolStripMenuItem(); menAddContainer = new ToolStripMenuItem(); menAddLink = new ToolStripMenuItem(); ToolStripSeparator5 = new ToolStripSeparator(); menConnect = new ToolStripMenuItem(); conMenSep1 = new ToolStripSeparator(); menDelete = new ToolStripMenuItem(); conMenSep2 = new ToolStripSeparator(); menMoveUp = new ToolStripMenuItem(); menMoveDown = new ToolStripMenuItem(); toolStripSeparator1 = new ToolStripSeparator(); duplicateToolStripMenuItem_duplicate = new ToolStripMenuItem(); imageList_connections = new ImageList(components); toolTip_window = new ToolTip(components); button_new_credential = new Button(); btn_del_credential = new Button(); btn_save_credential = new Button(); button_new_link = new Button(); button_new_container = new Button(); button_new_server = new Button(); button_save_connection = new Button(); button_win_state = new Button(); faTabStrip_all = new FATabStrip(); faTabStripItem_configs = new FATabStripItem(); panel_configs = new Panel(); panel_config_details = new Panel(); grpConfAppearance = new GroupBox(); lblConfResolution = new Label(); lblConfColors = new Label(); cmbConfResolution = new ComboBox(); cmbConfColors = new ComboBox(); lblConfOptions = new Label(); chkConfWallpaper = new CheckBox(); chkConfCacheBitmaps = new CheckBox(); chkConfThemes = new CheckBox(); chkConfRedKeys = new CheckBox(); lblConfRedirect = new Label(); chkConfRedDiskDrives = new CheckBox(); chkConfRedPorts = new CheckBox(); chkConfRedPrinters = new CheckBox(); chkConfRedSmartCards = new CheckBox(); lblConfSounds = new Label(); cmbConfRedSounds = new ComboBox(); grpConfProtocol = new GroupBox(); lblConfProtocol = new Label(); cmbConfProtocol = new ComboBox(); lblConfPort = new Label(); txtConfPort = new TextBox(); chkConfConnectToConsole = new CheckBox(); grpConfCredential = new GroupBox(); label_linkid = new Label(); label_mid = new Label(); label_groupid = new Label(); chkConfInherit = new CheckBox(); label_credential_id = new Label(); label1 = new Label(); cmb_credential = new ComboBox(); lblConfUsername = new Label(); txtConfUsername = new TextBox(); lblConfPassword = new Label(); txtConfPassword = new TextBox(); lblConfDomain = new Label(); txtConfDomain = new TextBox(); grpConfDisplay = new GroupBox(); label2 = new Label(); cmb_groups = new ComboBox(); btnConnect = new Button(); lblConfConnectionName = new Label(); txtConfConnectionName = new TextBox(); lblConfHost = new Label(); txtConfHost = new TextBox(); panel_connections = new Panel(); panel_connectionlist = new Panel(); groupBox_connections = new GroupBox(); treeView_connections = new TreeView(); panel_connectiontop = new Panel(); groupBox_connection_operation = new GroupBox(); button_delete = new Button(); conMenu.SuspendLayout(); faTabStrip_all.BeginInit(); faTabStrip_all.SuspendLayout(); faTabStripItem_configs.SuspendLayout(); panel_configs.SuspendLayout(); panel_config_details.SuspendLayout(); grpConfAppearance.SuspendLayout(); grpConfProtocol.SuspendLayout(); grpConfCredential.SuspendLayout(); grpConfDisplay.SuspendLayout(); panel_connections.SuspendLayout(); panel_connectionlist.SuspendLayout(); groupBox_connections.SuspendLayout(); panel_connectiontop.SuspendLayout(); groupBox_connection_operation.SuspendLayout(); base.SuspendLayout(); conMenu.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0); conMenu.Items.AddRange(new ToolStripItem[] { menAddServer, menAddContainer, menAddLink, ToolStripSeparator5, menConnect, conMenSep1, menDelete, conMenSep2, menMoveUp, menMoveDown, toolStripSeparator1, duplicateToolStripMenuItem_duplicate }); conMenu.Name = "conMenu"; conMenu.RenderMode = ToolStripRenderMode.Professional; conMenu.Size = new Size(0x9c, 0xcc); menAddServer.Name = "menAddServer"; menAddServer.Size = new Size(0x9b, 0x16); menAddServer.Text = "Add Server"; menAddServer.Click += button_new_server_Click; menAddContainer.Name = "menAddContainer"; menAddContainer.Size = new Size(0x9b, 0x16); menAddContainer.Text = "Add Container"; menAddContainer.Click += button_new_container_Click; menAddLink.Name = "menAddLink"; menAddLink.Size = new Size(0x9b, 0x16); menAddLink.Text = "Add Link"; menAddLink.Click += button_new_link_Click; ToolStripSeparator5.Name = "ToolStripSeparator5"; ToolStripSeparator5.Size = new Size(0x98, 6); menConnect.Name = "menConnect"; menConnect.Size = new Size(0x9b, 0x16); menConnect.Text = "Connect"; menConnect.Click += btnConnect_Click; conMenSep1.Name = "conMenSep1"; conMenSep1.Size = new Size(0x98, 6); menDelete.Name = "menDelete"; menDelete.Size = new Size(0x9b, 0x16); menDelete.Text = "Delete Item"; menDelete.Click += menDelete_Click; conMenSep2.Name = "conMenSep2"; conMenSep2.Size = new Size(0x98, 6); menMoveUp.Name = "menMoveUp"; menMoveUp.Size = new Size(0x9b, 0x16); menMoveUp.Text = "Move Item Up"; menMoveDown.Name = "menMoveDown"; menMoveDown.Size = new Size(0x9b, 0x16); menMoveDown.Text = "Move Item Down"; toolStripSeparator1.Name = "toolStripSeparator1"; toolStripSeparator1.Size = new Size(0x98, 6); duplicateToolStripMenuItem_duplicate.Name = "duplicateToolStripMenuItem_duplicate"; duplicateToolStripMenuItem_duplicate.Size = new Size(0x9b, 0x16); duplicateToolStripMenuItem_duplicate.Text = "Duplicate"; duplicateToolStripMenuItem_duplicate.Click += duplicateToolStripMenuItem_duplicate_Click; //this.imageList_connections.ImageStream = (ImageListStreamer) resources.GetObject("imageList_connections.ImageStream"); //this.imageList_connections.TransparentColor = Color.Transparent; //this.imageList_connections.Images.SetKeyName(0, "folderclose.ico"); //this.imageList_connections.Images.SetKeyName(1, "36.ico"); //this.imageList_connections.Images.SetKeyName(2, "06.ico"); //this.imageList_connections.Images.SetKeyName(3, "disksave.ico"); //this.imageList_connections.Images.SetKeyName(4, "program group.ico"); //this.imageList_connections.Images.SetKeyName(5, "folder open.ico"); //this.imageList_connections.Images.SetKeyName(6, "IE.ICO"); //this.imageList_connections.Images.SetKeyName(7, "trash.gif"); button_new_credential.FlatStyle = FlatStyle.Popup; button_new_credential.ForeColor = Color.Green; button_new_credential.Location = new Point(0x14f, 0x2a); button_new_credential.Name = "button_new_credential"; button_new_credential.Size = new Size(0x63, 0x15); button_new_credential.TabIndex = 0x2724; button_new_credential.Text = "New Credential"; toolTip_window.SetToolTip(button_new_credential, "New Credential"); button_new_credential.UseVisualStyleBackColor = true; button_new_credential.Click += button_new_credential_Click; btn_del_credential.FlatStyle = FlatStyle.Popup; btn_del_credential.ForeColor = Color.Red; btn_del_credential.Location = new Point(0x14f, 0x81); btn_del_credential.Name = "btn_del_credential"; btn_del_credential.Size = new Size(0x63, 0x15); btn_del_credential.TabIndex = 0x2720; btn_del_credential.Text = "Delete Credential"; toolTip_window.SetToolTip(btn_del_credential, "Del Credential"); btn_del_credential.UseVisualStyleBackColor = true; btn_save_credential.FlatStyle = FlatStyle.Popup; btn_save_credential.ForeColor = Color.Blue; btn_save_credential.Location = new Point(0x14f, 0x49); btn_save_credential.Name = "btn_save_credential"; btn_save_credential.Size = new Size(0x63, 0x15); btn_save_credential.TabIndex = 0x271f; btn_save_credential.Text = "Save Credential"; toolTip_window.SetToolTip(btn_save_credential, "Save Credential"); btn_save_credential.UseVisualStyleBackColor = true; btn_save_credential.Click += btn_save_credential_Click; button_new_link.FlatStyle = FlatStyle.Popup; button_new_link.Font = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0); button_new_link.ForeColor = SystemColors.ControlText; button_new_link.ImageIndex = 2; button_new_link.ImageList = imageList_connections; button_new_link.Location = new Point(0xc5, 11); button_new_link.Name = "button_new_link"; button_new_link.Size = new Size(80, 0x18); button_new_link.TabIndex = 0x2724; button_new_link.Text = "New Link"; button_new_link.TextAlign = ContentAlignment.MiddleLeft; button_new_link.TextImageRelation = TextImageRelation.ImageBeforeText; toolTip_window.SetToolTip(button_new_link, "New Link"); button_new_link.UseVisualStyleBackColor = true; button_new_link.Click += button_new_link_Click; button_new_container.FlatStyle = FlatStyle.Popup; button_new_container.Font = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0); button_new_container.ForeColor = SystemColors.ControlText; button_new_container.ImageAlign = ContentAlignment.MiddleLeft; button_new_container.ImageIndex = 0; button_new_container.ImageList = imageList_connections; button_new_container.Location = new Point(4, 11); button_new_container.Name = "button_new_container"; button_new_container.Size = new Size(0x5c, 0x18); button_new_container.TabIndex = 0x2723; button_new_container.Text = "New Group"; button_new_container.TextAlign = ContentAlignment.MiddleLeft; button_new_container.TextImageRelation = TextImageRelation.ImageBeforeText; toolTip_window.SetToolTip(button_new_container, "New Container"); button_new_container.UseVisualStyleBackColor = true; button_new_container.Click += button_new_container_Click; button_new_server.FlatStyle = FlatStyle.Popup; button_new_server.Font = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0); button_new_server.ForeColor = SystemColors.ControlText; button_new_server.ImageIndex = 1; button_new_server.ImageList = imageList_connections; button_new_server.Location = new Point(0x63, 11); button_new_server.Name = "button_new_server"; button_new_server.Size = new Size(0x5f, 0x18); button_new_server.TabIndex = 0x2722; button_new_server.Text = "New Server"; button_new_server.TextAlign = ContentAlignment.MiddleLeft; button_new_server.TextImageRelation = TextImageRelation.ImageBeforeText; toolTip_window.SetToolTip(button_new_server, "New Server"); button_new_server.UseVisualStyleBackColor = true; button_new_server.Click += button_new_server_Click; button_save_connection.FlatStyle = FlatStyle.Popup; button_save_connection.Font = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0); button_save_connection.ForeColor = Color.Blue; button_save_connection.ImageIndex = 3; button_save_connection.ImageList = imageList_connections; button_save_connection.Location = new Point(0x1af, 11); button_save_connection.Name = "button_save_connection"; button_save_connection.Size = new Size(0x40, 0x18); button_save_connection.TabIndex = 0x2721; button_save_connection.Text = " Save"; button_save_connection.TextImageRelation = TextImageRelation.ImageBeforeText; toolTip_window.SetToolTip(button_save_connection, "Save Connection"); button_save_connection.UseVisualStyleBackColor = true; button_save_connection.Click += button_save_connection_Click; button_win_state.FlatStyle = FlatStyle.Popup; button_win_state.Font = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0); button_win_state.ImageAlign = ContentAlignment.MiddleLeft; button_win_state.ImageIndex = 7; button_win_state.Location = new Point(0x165, 11); button_win_state.Name = "button_win_state"; button_win_state.Size = new Size(0x45, 0x18); button_win_state.TabIndex = 0x2720; button_win_state.Text = "Max/Min"; button_win_state.TextAlign = ContentAlignment.MiddleLeft; toolTip_window.SetToolTip(button_win_state, "Window Max/Min"); button_win_state.UseVisualStyleBackColor = true; button_win_state.Click += button_win_state_Click; faTabStrip_all.Dock = DockStyle.Fill; faTabStrip_all.Font = new Font("Tahoma", 8.25f); faTabStrip_all.HoverSelection = false; faTabStrip_all.Items.AddRange(new[] {faTabStripItem_configs}); faTabStrip_all.Location = new Point(0, 0); faTabStrip_all.Name = "faTabStrip_all"; faTabStrip_all.SelectedItem = faTabStripItem_configs; faTabStrip_all.ShowMinimize = true; faTabStrip_all.Size = new Size(0x400, 700); faTabStrip_all.TabIndex = 2; faTabStrip_all.DoubleClick += faTabStrip_all_DoubleClick; faTabStrip_all.Click += faTabStrip_all_Click; faTabStrip_all.TabStripItemSelectionChanged += faTabStrip_all_TabStripItemSelectionChanged; faTabStrip_all.MouseDown += faTabStrip_all_MouseDown; faTabStrip_all.TabIndexChanged += faTabStrip_all_TabIndexChanged; faTabStripItem_configs.CanClose = false; faTabStripItem_configs.Controls.Add(panel_configs); //this.faTabStripItem_configs.Image = (Image) resources.GetObject("faTabStripItem_configs.Image"); faTabStripItem_configs.IsDrawn = true; faTabStripItem_configs.item_type = "CONFIG"; faTabStripItem_configs.Name = "faTabStripItem_configs"; faTabStripItem_configs.Selected = true; faTabStripItem_configs.Size = new Size(0x3fe, 0x2a7); faTabStripItem_configs.TabIndex = 0; faTabStripItem_configs.Text = "Configs"; panel_configs.Controls.Add(panel_config_details); panel_configs.Controls.Add(panel_connections); panel_configs.Dock = DockStyle.Fill; panel_configs.Location = new Point(0, 0); panel_configs.Name = "panel_configs"; panel_configs.Size = new Size(0x3fe, 0x2a7); panel_configs.TabIndex = 0x2723; panel_config_details.Controls.Add(grpConfAppearance); panel_config_details.Controls.Add(grpConfProtocol); panel_config_details.Controls.Add(grpConfCredential); panel_config_details.Controls.Add(grpConfDisplay); panel_config_details.Dock = DockStyle.Fill; panel_config_details.Location = new Point(0x1f5, 0); panel_config_details.Name = "panel_config_details"; panel_config_details.Size = new Size(0x209, 0x2a7); panel_config_details.TabIndex = 1; grpConfAppearance.Controls.Add(lblConfResolution); grpConfAppearance.Controls.Add(lblConfColors); grpConfAppearance.Controls.Add(cmbConfResolution); grpConfAppearance.Controls.Add(cmbConfColors); grpConfAppearance.Controls.Add(lblConfOptions); grpConfAppearance.Controls.Add(chkConfWallpaper); grpConfAppearance.Controls.Add(chkConfCacheBitmaps); grpConfAppearance.Controls.Add(chkConfThemes); grpConfAppearance.Controls.Add(chkConfRedKeys); grpConfAppearance.Controls.Add(lblConfRedirect); grpConfAppearance.Controls.Add(chkConfRedDiskDrives); grpConfAppearance.Controls.Add(chkConfRedPorts); grpConfAppearance.Controls.Add(chkConfRedPrinters); grpConfAppearance.Controls.Add(chkConfRedSmartCards); grpConfAppearance.Controls.Add(lblConfSounds); grpConfAppearance.Controls.Add(cmbConfRedSounds); grpConfAppearance.Enabled = false; grpConfAppearance.FlatStyle = FlatStyle.Flat; grpConfAppearance.Location = new Point(6, 0x111); grpConfAppearance.Name = "grpConfAppearance"; grpConfAppearance.Size = new Size(0x14f, 0xcf); grpConfAppearance.TabIndex = 0x271b; grpConfAppearance.TabStop = false; grpConfAppearance.Text = "Appearance and Redirection"; lblConfResolution.AutoSize = true; lblConfResolution.Location = new Point(13, 0x17); lblConfResolution.Name = "lblConfResolution"; lblConfResolution.Size = new Size(0x3d, 13); lblConfResolution.TabIndex = 0x5de; lblConfResolution.Text = "Resolution:"; lblConfColors.AutoSize = true; lblConfColors.Location = new Point(14, 0x30); lblConfColors.Name = "lblConfColors"; lblConfColors.Size = new Size(0x29, 13); lblConfColors.TabIndex = 0x5e1; lblConfColors.Text = "Colors:"; cmbConfResolution.DropDownStyle = ComboBoxStyle.DropDownList; cmbConfResolution.FormattingEnabled = true; cmbConfResolution.Items.AddRange(new object[] { "Fit to window", "Fullscreen", "Smart size", "640 x 480", "800 x 600", "1024 x 768", "1152 x 864", "1280 x 1024", "1400 x 1050", "1440 x 900" , "1600 x 1024", "1600 x 1200", "1600 x 1280", "1680 x 1050", "1900 x 1200", "1920 x 1200", "2048 x 1536", "2560 x 2048", "3200 x 2400", "3840 x 2400" }); cmbConfResolution.Location = new Point(0x58, 0x12); cmbConfResolution.Name = "cmbConfResolution"; cmbConfResolution.Size = new Size(0xed, 0x15); cmbConfResolution.TabIndex = 0x5df; cmbConfColors.DropDownStyle = ComboBoxStyle.DropDownList; cmbConfColors.FormattingEnabled = true; cmbConfColors.Items.AddRange(new object[] {"HighColor16", "Color256", "TrueColor", "HighestQuality"}); cmbConfColors.Location = new Point(0x58, 0x2d); cmbConfColors.Name = "cmbConfColors"; cmbConfColors.Size = new Size(0xed, 0x15); cmbConfColors.TabIndex = 0x5e6; lblConfOptions.AutoSize = true; lblConfOptions.Location = new Point(14, 0x4a); lblConfOptions.Name = "lblConfOptions"; lblConfOptions.Size = new Size(0x30, 13); lblConfOptions.TabIndex = 0x5eb; lblConfOptions.Text = "Options:"; chkConfWallpaper.AutoSize = true; chkConfWallpaper.FlatStyle = FlatStyle.Flat; chkConfWallpaper.Location = new Point(0x58, 0x47); chkConfWallpaper.Name = "chkConfWallpaper"; chkConfWallpaper.Size = new Size(0x6c, 0x11); chkConfWallpaper.TabIndex = 0x5f0; chkConfWallpaper.Text = "Display Wallpaper"; chkConfWallpaper.UseVisualStyleBackColor = true; chkConfCacheBitmaps.AutoSize = true; chkConfCacheBitmaps.FlatStyle = FlatStyle.Flat; chkConfCacheBitmaps.Location = new Point(0xda, 0x47); chkConfCacheBitmaps.Name = "chkConfCacheBitmaps"; chkConfCacheBitmaps.Size = new Size(0x5d, 0x11); chkConfCacheBitmaps.TabIndex = 0x5f5; chkConfCacheBitmaps.Text = "Cache Bitmaps"; chkConfCacheBitmaps.UseVisualStyleBackColor = true; chkConfThemes.AutoSize = true; chkConfThemes.FlatStyle = FlatStyle.Flat; chkConfThemes.Location = new Point(0x58, 0x5e); chkConfThemes.Name = "chkConfThemes"; chkConfThemes.Size = new Size(0x61, 0x11); chkConfThemes.TabIndex = 0x5fa; chkConfThemes.Text = "Display Themes"; chkConfThemes.UseVisualStyleBackColor = true; chkConfRedKeys.AutoSize = true; chkConfRedKeys.Checked = true; chkConfRedKeys.CheckState = CheckState.Checked; chkConfRedKeys.FlatStyle = FlatStyle.Flat; chkConfRedKeys.Location = new Point(0x58, 0x98); chkConfRedKeys.Name = "chkConfRedKeys"; chkConfRedKeys.Size = new Size(0xc0, 0x11); chkConfRedKeys.TabIndex = 0x5ff; chkConfRedKeys.Text = "Key combinations (like in fullscreen)"; chkConfRedKeys.UseVisualStyleBackColor = true; lblConfRedirect.AutoSize = true; lblConfRedirect.Location = new Point(14, 0x72); lblConfRedirect.Name = "lblConfRedirect"; lblConfRedirect.Size = new Size(0x33, 13); lblConfRedirect.TabIndex = 0x604; lblConfRedirect.Text = "Redirect:"; chkConfRedDiskDrives.AutoSize = true; chkConfRedDiskDrives.FlatStyle = FlatStyle.Flat; chkConfRedDiskDrives.Location = new Point(0x58, 0x6f); chkConfRedDiskDrives.Name = "chkConfRedDiskDrives"; chkConfRedDiskDrives.Size = new Size(0x4b, 0x11); chkConfRedDiskDrives.TabIndex = 0x609; chkConfRedDiskDrives.Text = "Disk Drives"; chkConfRedDiskDrives.UseVisualStyleBackColor = true; chkConfRedPorts.AutoSize = true; chkConfRedPorts.Checked = true; chkConfRedPorts.CheckState = CheckState.Checked; chkConfRedPorts.FlatStyle = FlatStyle.Flat; chkConfRedPorts.Location = new Point(0xda, 0x6f); chkConfRedPorts.Name = "chkConfRedPorts"; chkConfRedPorts.Size = new Size(0x30, 0x11); chkConfRedPorts.TabIndex = 0x60e; chkConfRedPorts.Text = "Ports"; chkConfRedPorts.UseVisualStyleBackColor = true; chkConfRedPrinters.AutoSize = true; chkConfRedPrinters.FlatStyle = FlatStyle.Flat; chkConfRedPrinters.Location = new Point(0x58, 0x83); chkConfRedPrinters.Name = "chkConfRedPrinters"; chkConfRedPrinters.Size = new Size(60, 0x11); chkConfRedPrinters.TabIndex = 0x613; chkConfRedPrinters.Text = "Printers"; chkConfRedPrinters.UseVisualStyleBackColor = true; chkConfRedSmartCards.AutoSize = true; chkConfRedSmartCards.FlatStyle = FlatStyle.Flat; chkConfRedSmartCards.Location = new Point(0xda, 0x83); chkConfRedSmartCards.Name = "chkConfRedSmartCards"; chkConfRedSmartCards.Size = new Size(0x52, 0x11); chkConfRedSmartCards.TabIndex = 0x618; chkConfRedSmartCards.Text = "Smart Cards"; chkConfRedSmartCards.UseVisualStyleBackColor = true; lblConfSounds.AutoSize = true; lblConfSounds.Location = new Point(0x10, 0xb3); lblConfSounds.Name = "lblConfSounds"; lblConfSounds.Size = new Size(0x2e, 13); lblConfSounds.TabIndex = 0x61d; lblConfSounds.Text = "Sounds:"; cmbConfRedSounds.DropDownStyle = ComboBoxStyle.DropDownList; cmbConfRedSounds.FormattingEnabled = true; cmbConfRedSounds.Items.AddRange(new object[] {"Bring to this computer", "Leave at remote computer", "Do not play"}); cmbConfRedSounds.Location = new Point(0x58, 0xaf); cmbConfRedSounds.Name = "cmbConfRedSounds"; cmbConfRedSounds.Size = new Size(0xed, 0x15); cmbConfRedSounds.TabIndex = 0x622; grpConfProtocol.Controls.Add(lblConfProtocol); grpConfProtocol.Controls.Add(cmbConfProtocol); grpConfProtocol.Controls.Add(lblConfPort); grpConfProtocol.Controls.Add(txtConfPort); grpConfProtocol.Controls.Add(chkConfConnectToConsole); grpConfProtocol.Enabled = false; grpConfProtocol.FlatStyle = FlatStyle.Flat; grpConfProtocol.Location = new Point(6, 0x1e6); grpConfProtocol.Name = "grpConfProtocol"; grpConfProtocol.Size = new Size(0x150, 0x53); grpConfProtocol.TabIndex = 0x271a; grpConfProtocol.TabStop = false; grpConfProtocol.Text = "Protocol"; lblConfProtocol.AutoSize = true; lblConfProtocol.Location = new Point(0x10, 0x1c); lblConfProtocol.Name = "lblConfProtocol"; lblConfProtocol.Size = new Size(50, 13); lblConfProtocol.TabIndex = 0x3ed; lblConfProtocol.Text = "Protocol:"; cmbConfProtocol.DropDownStyle = ComboBoxStyle.DropDownList; cmbConfProtocol.FormattingEnabled = true; cmbConfProtocol.Items.AddRange(new object[] {"RDP"}); cmbConfProtocol.Location = new Point(0x58, 0x17); cmbConfProtocol.Name = "cmbConfProtocol"; cmbConfProtocol.Size = new Size(0x79, 0x15); cmbConfProtocol.TabIndex = 0x3f2; lblConfPort.AutoSize = true; lblConfPort.Location = new Point(0xd8, 0x1c); lblConfPort.Name = "lblConfPort"; lblConfPort.Size = new Size(0x1f, 13); lblConfPort.TabIndex = 0x3f7; lblConfPort.Text = "Port:"; txtConfPort.BorderStyle = BorderStyle.FixedSingle; txtConfPort.Location = new Point(0xfd, 0x18); txtConfPort.MaxLength = 10; txtConfPort.Name = "txtConfPort"; txtConfPort.Size = new Size(0x48, 0x15); txtConfPort.TabIndex = 0x3fc; txtConfPort.Text = "3389"; chkConfConnectToConsole.AutoSize = true; chkConfConnectToConsole.FlatStyle = FlatStyle.Flat; chkConfConnectToConsole.Location = new Point(0x58, 50); chkConfConnectToConsole.Name = "chkConfConnectToConsole"; chkConfConnectToConsole.Size = new Size(0x76, 0x11); chkConfConnectToConsole.TabIndex = 0x401; chkConfConnectToConsole.Text = "Use console session"; chkConfConnectToConsole.UseVisualStyleBackColor = true; grpConfCredential.Controls.Add(label_linkid); grpConfCredential.Controls.Add(button_new_credential); grpConfCredential.Controls.Add(label_mid); grpConfCredential.Controls.Add(label_groupid); grpConfCredential.Controls.Add(chkConfInherit); grpConfCredential.Controls.Add(label_credential_id); grpConfCredential.Controls.Add(btn_del_credential); grpConfCredential.Controls.Add(btn_save_credential); grpConfCredential.Controls.Add(label1); grpConfCredential.Controls.Add(cmb_credential); grpConfCredential.Controls.Add(lblConfUsername); grpConfCredential.Controls.Add(txtConfUsername); grpConfCredential.Controls.Add(lblConfPassword); grpConfCredential.Controls.Add(txtConfPassword); grpConfCredential.Controls.Add(lblConfDomain); grpConfCredential.Controls.Add(txtConfDomain); grpConfCredential.Enabled = false; grpConfCredential.FlatStyle = FlatStyle.Flat; grpConfCredential.Location = new Point(6, 110); grpConfCredential.Name = "grpConfCredential"; grpConfCredential.Size = new Size(0x1bb, 0x9f); grpConfCredential.TabIndex = 0x2719; grpConfCredential.TabStop = false; grpConfCredential.Text = "Credential"; label_linkid.AutoSize = true; label_linkid.BorderStyle = BorderStyle.Fixed3D; label_linkid.Location = new Point(0x54, 0x84); label_linkid.Name = "label_linkid"; label_linkid.Size = new Size(2, 15); label_linkid.TabIndex = 0x2725; label_linkid.Visible = false; label_mid.AutoSize = true; label_mid.BorderStyle = BorderStyle.Fixed3D; label_mid.Location = new Point(0x54, 0x66); label_mid.Name = "label_mid"; label_mid.Size = new Size(2, 15); label_mid.TabIndex = 0x2723; label_mid.Visible = false; label_groupid.AutoSize = true; label_groupid.BorderStyle = BorderStyle.Fixed3D; label_groupid.Location = new Point(0x54, 0x4b); label_groupid.Name = "label_groupid"; label_groupid.Size = new Size(2, 15); label_groupid.TabIndex = 0x2722; label_groupid.Visible = false; chkConfInherit.FlatStyle = FlatStyle.Flat; chkConfInherit.Location = new Point(0x13, 0x11); chkConfInherit.Name = "chkConfInherit"; chkConfInherit.Size = new Size(0xcf, 0x12); chkConfInherit.TabIndex = 0x2720; chkConfInherit.Text = "Inherit settings from Parent Container"; chkConfInherit.UseVisualStyleBackColor = true; label_credential_id.AutoSize = true; label_credential_id.BorderStyle = BorderStyle.Fixed3D; label_credential_id.Location = new Point(0x54, 0x30); label_credential_id.Name = "label_credential_id"; label_credential_id.Size = new Size(2, 15); label_credential_id.TabIndex = 0x2721; label_credential_id.Visible = false; label1.AutoSize = true; label1.Location = new Point(0x10, 50); label1.Name = "label1"; label1.Size = new Size(60, 13); label1.TabIndex = 0x3f4; label1.Text = "Credential:"; cmb_credential.DropDownStyle = ComboBoxStyle.DropDownList; cmb_credential.FormattingEnabled = true; cmb_credential.Location = new Point(0x73, 0x2c); cmb_credential.Name = "cmb_credential"; cmb_credential.Size = new Size(210, 0x15); cmb_credential.TabIndex = 0x3f3; cmb_credential.SelectionChangeCommitted += cmb_credential_SelectionChangeCommitted; cmb_credential.SelectedIndexChanged += cmb_credential_SelectedIndexChanged; lblConfUsername.AutoSize = true; lblConfUsername.Location = new Point(0x10, 0x4d); lblConfUsername.Name = "lblConfUsername"; lblConfUsername.Size = new Size(0x3b, 13); lblConfUsername.TabIndex = 520; lblConfUsername.Text = "Username:"******"txtConfUsername"; txtConfUsername.Size = new Size(0xd1, 0x15); txtConfUsername.TabIndex = 0x20d; lblConfPassword.AutoSize = true; lblConfPassword.Location = new Point(0x10, 0x68); lblConfPassword.Name = "lblConfPassword"; lblConfPassword.Size = new Size(0x39, 13); lblConfPassword.TabIndex = 530; lblConfPassword.Text = "Password:"******"txtConfPassword"; txtConfPassword.Size = new Size(0xd1, 0x15); txtConfPassword.TabIndex = 540; txtConfPassword.UseSystemPasswordChar = true; lblConfDomain.AutoSize = true; lblConfDomain.Location = new Point(0x10, 130); lblConfDomain.Name = "lblConfDomain"; lblConfDomain.Size = new Size(0x2e, 13); lblConfDomain.TabIndex = 550; lblConfDomain.Text = "Domain:"; txtConfDomain.BorderStyle = BorderStyle.FixedSingle; txtConfDomain.Location = new Point(0x74, 0x81); txtConfDomain.Name = "txtConfDomain"; txtConfDomain.Size = new Size(0xd1, 0x15); txtConfDomain.TabIndex = 560; grpConfDisplay.Controls.Add(label2); grpConfDisplay.Controls.Add(cmb_groups); grpConfDisplay.Controls.Add(btnConnect); grpConfDisplay.Controls.Add(lblConfConnectionName); grpConfDisplay.Controls.Add(txtConfConnectionName); grpConfDisplay.Controls.Add(lblConfHost); grpConfDisplay.Controls.Add(txtConfHost); grpConfDisplay.FlatStyle = FlatStyle.Flat; grpConfDisplay.Location = new Point(6, 0); grpConfDisplay.Name = "grpConfDisplay"; grpConfDisplay.Size = new Size(0x1bb, 0x68); grpConfDisplay.TabIndex = 0x2718; grpConfDisplay.TabStop = false; grpConfDisplay.Text = "Group / Server / Link"; label2.AutoSize = true; label2.Location = new Point(0x10, 0x4a); label2.Name = "label2"; label2.Size = new Size(40, 13); label2.TabIndex = 0x3f6; label2.Text = "Group:"; cmb_groups.DropDownStyle = ComboBoxStyle.DropDownList; cmb_groups.FormattingEnabled = true; cmb_groups.Location = new Point(0x73, 0x44); cmb_groups.Name = "cmb_groups"; cmb_groups.Size = new Size(210, 0x15); cmb_groups.TabIndex = 0x3f5; btnConnect.FlatStyle = FlatStyle.Popup; btnConnect.Font = new Font("Calibri", 14.25f, FontStyle.Bold, GraphicsUnit.Point, 0); btnConnect.ForeColor = Color.MediumBlue; btnConnect.Location = new Point(0x14f, 0x10); btnConnect.Name = "btnConnect"; btnConnect.Size = new Size(0x65, 0x2a); btnConnect.TabIndex = 0x271e; btnConnect.Text = "CONNECT"; btnConnect.UseVisualStyleBackColor = true; btnConnect.Click += btnConnect_Click; lblConfConnectionName.AutoSize = true; lblConfConnectionName.Location = new Point(0x10, 20); lblConfConnectionName.Name = "lblConfConnectionName"; lblConfConnectionName.Size = new Size(0x26, 13); lblConfConnectionName.TabIndex = 15; lblConfConnectionName.Text = "Name:"; txtConfConnectionName.BorderStyle = BorderStyle.FixedSingle; txtConfConnectionName.Location = new Point(0x74, 0x10); txtConfConnectionName.Name = "txtConfConnectionName"; txtConfConnectionName.Size = new Size(0xd1, 0x15); txtConfConnectionName.TabIndex = 20; txtConfConnectionName.TextChanged += txtConfConnectionName_TextChanged; lblConfHost.AutoSize = true; lblConfHost.Location = new Point(0x10, 0x2d); lblConfHost.Name = "lblConfHost"; lblConfHost.Size = new Size(100, 13); lblConfHost.TabIndex = 0x1f9; lblConfHost.Text = "Host Name/IP/URL:"; txtConfHost.BorderStyle = BorderStyle.FixedSingle; txtConfHost.Location = new Point(0x74, 0x29); txtConfHost.Name = "txtConfHost"; txtConfHost.Size = new Size(0xd1, 0x15); txtConfHost.TabIndex = 510; panel_connections.Controls.Add(panel_connectionlist); panel_connections.Controls.Add(panel_connectiontop); panel_connections.Dock = DockStyle.Left; panel_connections.Location = new Point(0, 0); panel_connections.Name = "panel_connections"; panel_connections.Size = new Size(0x1f5, 0x2a7); panel_connections.TabIndex = 0; panel_connectionlist.Controls.Add(groupBox_connections); panel_connectionlist.Dock = DockStyle.Fill; panel_connectionlist.Location = new Point(0, 40); panel_connectionlist.Name = "panel_connectionlist"; panel_connectionlist.Size = new Size(0x1f5, 0x27f); panel_connectionlist.TabIndex = 3; groupBox_connections.Controls.Add(treeView_connections); groupBox_connections.Dock = DockStyle.Fill; groupBox_connections.Location = new Point(0, 0); groupBox_connections.Name = "groupBox_connections"; groupBox_connections.Size = new Size(0x1f5, 0x27f); groupBox_connections.TabIndex = 1; groupBox_connections.TabStop = false; groupBox_connections.Text = "Connections"; treeView_connections.ContextMenuStrip = conMenu; treeView_connections.Dock = DockStyle.Fill; treeView_connections.Font = new Font("Tahoma", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0); treeView_connections.FullRowSelect = true; treeView_connections.HideSelection = false; treeView_connections.ImageIndex = 0; treeView_connections.ImageList = imageList_connections; treeView_connections.LabelEdit = true; treeView_connections.Location = new Point(3, 0x11); treeView_connections.Name = "treeView_connections"; treeNode1.Name = "Node0"; treeNode1.Tag = "G0"; treeNode1.Text = "Connections"; treeView_connections.Nodes.AddRange(new[] {treeNode1}); treeView_connections.SelectedImageIndex = 0; treeView_connections.ShowRootLines = false; treeView_connections.Size = new Size(0x1ef, 0x26b); treeView_connections.TabIndex = 0; treeView_connections.Tag = ""; treeView_connections.DoubleClick += treeView_connections_DoubleClick; treeView_connections.DragDrop += treeView_connections_DragDrop; treeView_connections.AfterSelect += treeView_connections_AfterSelect; treeView_connections.DragEnter += treeView_connections_DragEnter; treeView_connections.ItemDrag += treeView_connections_ItemDrag; panel_connectiontop.Controls.Add(groupBox_connection_operation); panel_connectiontop.Dock = DockStyle.Top; panel_connectiontop.Location = new Point(0, 0); panel_connectiontop.Name = "panel_connectiontop"; panel_connectiontop.Size = new Size(0x1f5, 40); panel_connectiontop.TabIndex = 2; groupBox_connection_operation.Controls.Add(button_delete); groupBox_connection_operation.Controls.Add(button_win_state); groupBox_connection_operation.Controls.Add(button_new_link); groupBox_connection_operation.Controls.Add(button_new_container); groupBox_connection_operation.Controls.Add(button_new_server); groupBox_connection_operation.Controls.Add(button_save_connection); groupBox_connection_operation.Dock = DockStyle.Fill; groupBox_connection_operation.Location = new Point(0, 0); groupBox_connection_operation.Name = "groupBox_connection_operation"; groupBox_connection_operation.Size = new Size(0x1f5, 40); groupBox_connection_operation.TabIndex = 0x2721; groupBox_connection_operation.TabStop = false; button_delete.FlatStyle = FlatStyle.Popup; button_delete.Font = new Font("Tahoma", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0); button_delete.ImageAlign = ContentAlignment.MiddleLeft; button_delete.ImageIndex = 7; button_delete.ImageList = imageList_connections; button_delete.Location = new Point(0x119, 11); button_delete.Name = "button_delete"; button_delete.Size = new Size(0x48, 0x18); button_delete.TabIndex = 0x2725; button_delete.Text = @"Delete"; button_delete.TextAlign = ContentAlignment.MiddleLeft; button_delete.TextImageRelation = TextImageRelation.ImageBeforeText; toolTip_window.SetToolTip(button_delete, "Import Favorite"); button_delete.UseVisualStyleBackColor = true; button_delete.Click += menDelete_Click; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x400, 700); base.Controls.Add(faTabStrip_all); base.FormBorderStyle = FormBorderStyle.Sizable; //base.Icon = (Icon) resources.GetObject("$this.Icon"); base.IsMdiContainer = true; base.KeyPreview = true; MaximumSize = new Size(0x400, 700); base.Name = "cRemote"; Text = "cRemote"; base.WindowState = FormWindowState.Normal; base.Load += cRemote_Load; conMenu.ResumeLayout(false); faTabStrip_all.EndInit(); faTabStrip_all.ResumeLayout(false); faTabStripItem_configs.ResumeLayout(false); panel_configs.ResumeLayout(false); panel_config_details.ResumeLayout(false); grpConfAppearance.ResumeLayout(false); grpConfAppearance.PerformLayout(); grpConfProtocol.ResumeLayout(false); grpConfProtocol.PerformLayout(); grpConfCredential.ResumeLayout(false); grpConfCredential.PerformLayout(); grpConfDisplay.ResumeLayout(false); grpConfDisplay.PerformLayout(); panel_connections.ResumeLayout(false); panel_connectionlist.ResumeLayout(false); groupBox_connections.ResumeLayout(false); panel_connectiontop.ResumeLayout(false); groupBox_connection_operation.ResumeLayout(false); base.ResumeLayout(false); base.StartPosition = FormStartPosition.Manual; base.FormBorderStyle = FormBorderStyle.Sizable; base.SizeGripStyle = SizeGripStyle.Show; }