public NodeContextMenu(SchemaTree tree, RepositoryNode node) { EventHandler onClick = null; this._tree = tree; this._node = node; if ((node.Repository.DriverLoader.InternalID == null) && node.Repository.DriverLoader.IsValid) { ToolStripLabel label = new ToolStripLabel("Custom driver: " + node.Repository.DriverLoader.Driver.Name); this.Items.Add(label); this.Items.Add("-"); label.Font = new Font(label.Font, FontStyle.Bold); } if (node.Repository.IsQueryable) { this.Items.Add("New Query", Resources.New, new EventHandler(this.NewQuery)); this.Items.Add("-"); if ((MainForm.Instance != null) && (MainForm.Instance.CurrentQueryControl != null)) { this.Items.Add("Use in Current Query", Resources.UseCurrentQuery, (sender, e) => MainForm.Instance.CurrentQueryControl.UseCurrentDb(false)); if (MainForm.Instance.CurrentQueryControl.Query.Repository == node.Repository) { this.Items[this.Items.Count - 1].Enabled = false; } this.Items.Add("-"); } if (MainForm.Instance != null) { if (onClick == null) { onClick = (sender, e) => MainForm.Instance.ClearAllConnections(node.Repository); } this.Items.Add("Close all connections", null, onClick); this.Items.Add("-"); } } this.Items.Add("Refresh", Resources.Refresh, new EventHandler(this.Refresh)); if (node.Parent == null) { this.Items.Add("Delete Connection", Resources.Delete, new EventHandler(this.Delete)); } if (!((this._node.Repository.DriverLoader.SimpleAssemblyName != null) && this._node.Repository.DriverLoader.SimpleAssemblyName.StartsWith("Mindscape.LightSpeed", StringComparison.InvariantCultureIgnoreCase)) && (this._node.Repository.Parent == null)) { this.Items.Add("-"); this.Items.Add("Rename Connection", null, new EventHandler(this.Rename)); if (!string.IsNullOrEmpty(this._node.Repository.DisplayName)) { this.Items.Add("Reset Connection Name", null, new EventHandler(this.ResetName)); } } if (node.Parent == null) { this.Items.Add("Create Similar Connection...", null, new EventHandler(this.CreateSimilar)); this.Items.Add("-"); this.Items.Add("Properties", Resources.AdvancedProperties, new EventHandler(this.Edit)); } }
public static void AddQueryableItems(SchemaTree tree, BaseNode node, ContextMenuStrip menu, string memberStem, IEnumerable<string> columnNames) { EventHandler onClick = null; EventHandler handler2 = null; EventHandler handler3 = null; EventHandler handler4 = null; string compQueryBase; bool isVBDefault = UserOptions.Instance.IsVBDefault; QueryLanguage exprLanguage = isVBDefault ? QueryLanguage.VBExpression : QueryLanguage.Expression; string take100Query = memberStem + ".Take (100)"; menu.Items.Add(take100Query, null, (sender, e) => tree.OnNewQuery(new NewQueryArgs(take100Query, new QueryLanguage?(exprLanguage), !memberStem.Contains("...")))); string takeQuery = memberStem + ".Take (" + (UserOptions.Instance.ResultsInGrids ? "1000" : "...") + ")"; menu.Items.Add(takeQuery, null, (sender, e) => tree.OnNewQuery(new NewQueryArgs(takeQuery, new QueryLanguage?(exprLanguage), UserOptions.Instance.ResultsInGrids && !memberStem.Contains("...")))); if (UserOptions.Instance.ResultsInGrids) { string takeBigQuery = memberStem + ".Take (50000)"; menu.Items.Add(takeBigQuery, null, (sender, e) => tree.OnNewQuery(new NewQueryArgs(takeBigQuery, new QueryLanguage?(exprLanguage), !memberStem.Contains("...")))); } string countQuery = memberStem + ".Count()"; menu.Items.Add(countQuery, null, (sender, e) => tree.OnNewQuery(new NewQueryArgs(countQuery, new QueryLanguage?(exprLanguage), !memberStem.Contains("...")))); string iterationVar = memberStem.Substring(0, 1).ToLowerInvariant(); if (!isVBDefault) { string whereQuery = memberStem + ".Where (" + iterationVar + " => "; menu.Items.Add(whereQuery + "...)", null, delegate (object sender, EventArgs e) { NewQueryArgs args = new NewQueryArgs(whereQuery + iterationVar + (memberStem.Contains("...") ? "" : ".…)"), new QueryLanguage?(exprLanguage)) { ListMembers = true }; tree.OnNewQuery(args); }); } if (isVBDefault) { compQueryBase = "From " + iterationVar + " In " + memberStem + " _\nWhere ... _\nSelect "; } else { compQueryBase = "from " + iterationVar + " in " + memberStem + "\nwhere ... \nselect "; } string simpleCompQuery = compQueryBase + iterationVar; menu.Items.Add(simpleCompQuery.Replace("\n", " "), null, delegate (object sender, EventArgs e) { NewQueryArgs args = new NewQueryArgs(simpleCompQuery, new QueryLanguage?(exprLanguage)) { ListMembers = true }; tree.OnNewQuery(args); }); simpleCompQuery = simpleCompQuery.Replace("here ...", "here " + (memberStem.Contains("...") ? "" : (iterationVar + ".…"))); string str = compQueryBase + "new { <all columns> }"; if (!(!columnNames.Any<string>() || isVBDefault)) { menu.Items.Add(str.Replace("\n", " "), null, delegate (object sender, EventArgs e) { StringBuilder builder = new StringBuilder(compQueryBase.Replace("here ...", "here " + (memberStem.Contains("...") ? "" : (iterationVar + ".…"))) + "new\n{\n"); foreach (string str in columnNames) { if (!string.IsNullOrEmpty(str)) { bool flag; string s = (flag = str.Contains("(")) ? Regex.Match(str, @"^\w+", RegexOptions.CultureInvariant).Value : str; string str3 = (!char.IsLower(s, 0) || !CSharpQueryCompiler.IsKeyword(s)) ? "" : "@"; builder.Append("\t"); if (flag) { builder.Append(str3 + s + " = " + iterationVar + "." + str + ",\n"); } else { builder.Append(iterationVar + "." + str3 + str + ",\n"); } } } builder.Remove(builder.Length - 2, 2); builder.Append("\n}"); NewQueryArgs args = new NewQueryArgs(builder.ToString(), new QueryLanguage?(exprLanguage)) { ListMembers = true }; tree.OnNewQuery(args); }); } if (!UserOptions.Instance.ResultsInGrids) { menu.Items.Add("-"); if (onClick == null) { onClick = delegate (object sender, EventArgs e) { NewQueryArgs args = new NewQueryArgs(memberStem + ".Take(100)", new QueryLanguage?(exprLanguage), !memberStem.Contains("...")) { IntoGrids = true }; tree.OnNewQuery(args); }; } menu.Items.Add("Explore top 100 rows in grid", null, onClick); if (handler2 == null) { handler2 = delegate (object sender, EventArgs e) { NewQueryArgs args = new NewQueryArgs(memberStem + ".Take(1000)", new QueryLanguage?(exprLanguage), !memberStem.Contains("...")) { IntoGrids = true }; tree.OnNewQuery(args); }; } menu.Items.Add("Explore top 1000 rows in grid", null, handler2); if (handler3 == null) { handler3 = delegate (object sender, EventArgs e) { NewQueryArgs args = new NewQueryArgs(memberStem + ".Take(50000)", new QueryLanguage?(exprLanguage), !memberStem.Contains("...")) { IntoGrids = true }; tree.OnNewQuery(args); }; } menu.Items.Add("Explore top 50,000 rows in grid", null, handler3); if (handler4 == null) { handler4 = delegate (object sender, EventArgs e) { NewQueryArgs args = new NewQueryArgs(simpleCompQuery, new QueryLanguage?(exprLanguage)) { IntoGrids = true, ListMembers = true }; tree.OnNewQuery(args); }; } menu.Items.Add("Execute LINQ query into data grid", null, handler4); } }
internal QueryControl(RunnableQuery q, SchemaTree schemaTree) { EventHandler onClick = null; EventHandler handler2 = null; EventHandler handler3 = null; EventHandler handler4 = null; SplitterCancelEventHandler handler5 = null; this._browserHidden = true; Timer timer = new Timer { Interval = 0x2710, Enabled = true }; this._autoSaveTimer = timer; this._executionTrackingTimer = new Timer(); this._pluginWinButtons = new List<ToolStripButton>(); this._query = new RunnableQuery(); this.NextQueryRequest = delegate (object sender, EventArgs e) { }; this.PreviousQueryRequest = delegate (object sender, EventArgs e) { }; this._lambdaData = new MemoryStream(); this._ilDirty = true; this._ilData = new MemoryStream(); this._queryCount = 0; Timer timer2 = new Timer { Interval = 200 }; this._refreshTimer = timer2; Timer timer3 = new Timer { Interval = 200 }; this._clockTimer = timer3; this._firstResultsShow = true; this._lastQueryKind = QueryLanguage.SQL; this._suppressPullCount = 0; this._random = new Random(); this.components = null; this._query = q; this._schemaTree = schemaTree; try { this.Font = FontManager.GetDefaultFont(); } catch { } this.InitializeComponent(); this.CheckIsMyExtensions(); this._pluginWinManager = new PluginWindowManager(this); this._pluginWinButtonMenu = new ContextMenuStrip(this.components); if (onClick == null) { onClick = (sender, e) => this.CloseCurrentVisualizer(); } this._pluginWinButtonMenu.Items.Add("Close visualizer (Shift+F4 or Middle-Click or Ctrl+Click)", Resources.Delete, onClick); if (this.btnExecute.Height > 0x20) { this.btnExecute.Height -= 3; this.cboLanguage.Margin = new Padding(this.cboLanguage.Margin.Left, 2, this.cboLanguage.Margin.Right, 4); this.cboDb.Margin = new Padding(this.cboDb.Margin.Left, 2, this.cboDb.Margin.Right, 4); } else if (this.btnExecute.Height > 0x1d) { this.btnExecute.Height -= 2; } else if (this.btnExecute.Height > 0x18) { this.btnExecute.Height--; } this.btnCancel.Height = this.btnExecute.Height; this.btnText.Height = this.btnGrids.Height = this.btnExecute.Height - 1; if ((IntPtr.Size == 4) && (this.btnExecute.Height > 0x1b)) { Padding margin = this.cboLanguage.Margin; this.cboLanguage.Margin = new Padding(margin.Left, margin.Top, margin.Right, margin.Bottom - 1); margin = this.cboDb.Margin; this.cboDb.Margin = new Padding(margin.Left, margin.Top, margin.Right, margin.Bottom - 1); } if (this.btnExecute.Height > 40) { this.btnExecute.Image = ControlUtil.ResizeImage(this.btnExecute.Image, this.btnExecute.Width, this.btnExecute.Height, true); this.btnCancel.Image = ControlUtil.ResizeImage(this.btnCancel.Image, this.btnCancel.Width, this.btnCancel.Height, true); this.btnGrids.Image = ControlUtil.ResizeImage(this.btnGrids.Image, (this.btnGrids.Width * 3) / 4, (this.btnGrids.Height * 3) / 4, true); this.btnText.Image = ControlUtil.ResizeImage(this.btnText.Image, (this.btnText.Width * 3) / 4, (this.btnText.Height * 3) / 4, true); } this.UpdateAutocompletionMsg(); try { this.txtError.Font = new Font("Verdana", 8.25f); this.txtSQL.Font = new Font("Verdana", 9.5f); this.btnActivateAutocompletion.Font = new Font("Verdana", 8f, FontStyle.Bold); this.lblOptimize.Font = new Font("Verdana", 7f, FontStyle.Bold); } catch { } this.txtSQL.get_Document().set_Language(DocumentManager.GetDynamicLanguage("SQL", SystemColors.Window.GetBrightness())); this.txtSQL.get_Document().get_Outlining().set_Mode(2); this.txtSQL.set_BracketHighlightingVisible(true); this.txtSQL.get_Document().set_ReadOnly(true); VisualStudio2005SyntaxEditorRenderer renderer = new VisualStudio2005SyntaxEditorRenderer(); SimpleBorder border = new SimpleBorder(); border.set_Style(0); renderer.set_Border(border); VisualStudio2005SyntaxEditorRenderer renderer2 = renderer; this.txtSQL.set_Renderer(renderer2); this._docMan = new DocumentManager(this._query, this); this.CreateEditor(); this.PropagateOptions(); this.UpdateEditorZoom(); this.CreateBrowser(); this._browserHidden = true; this.panBottom.BorderStyle = BorderStyle.None; this.tsOutput.BackColor = Color.Transparent; this.tsOutput.Renderer = new OutputToolsRenderer(); this.statusStrip.BackColor = Color.Transparent; this.statusStrip.Padding = new Padding(this.statusStrip.Padding.Left, this.statusStrip.Padding.Top, this.statusStrip.Padding.Left, this.statusStrip.Padding.Bottom); this.PullData(QueryChangedEventArgs.Refresh); this.ToggleResultsCollapse(); this._query.QueryCompiled += new EventHandler<QueryCompilationEventArgs>(this._query_QueryCompiled); this._query.PluginsReady += new EventHandler(this._query_PluginsReady); this._query.CustomClickCompleted += new EventHandler(this._query_CustomClickCompleted); this._query.QueryCompleted += new EventHandler<QueryStatusEventArgs>(this._query_QueryCompleted); this._query.QueryChanged += new EventHandler<QueryChangedEventArgs>(this._query_QueryChanged); this._query.ReadLineRequested += new EventHandler<ReadLineEventArgs>(this._query_ReadLineRequested); this._editor.TextChanged += new EventHandler(this._editor_TextChanged); this._editor.add_SelectionChanged(new SelectionEventHandler(this, (IntPtr) this._editor_SelectionChanged)); this._editor.RepositoryDropped += new EventHandler<QueryEditor.RepositoryEventArgs>(this._editor_RepositoryDropped); this._schemaTree.AfterSelect += new TreeViewEventHandler(this._schemaTree_AfterSelect); this._docMan.CheckForRepositoryChange(); this._refreshTimer.Tick += new EventHandler(this.RefreshTimer_Tick); this._clockTimer.Tick += new EventHandler(this.ClockTimer_Tick); this._autoSaveTimer.Tick += new EventHandler(this.AutoSaveTimer_Tick); if (handler2 == null) { handler2 = (sender, e) => this.ReportMainThreadPosition(); } this._executionTrackingTimer.Tick += handler2; if (SystemColors.Window.GetBrightness() < 0.5f) { this.llDbUseCurrent.ForeColor = SystemColors.HotTrack; } this.ExtendOutputSplitter(); if (handler3 == null) { handler3 = (sender, e) => this.UpdateErrorHeight(); } this.panError.SizeChanged += handler3; this.statusStrip.Parent = null; base.Controls.Add(this.statusStrip); this.statusStrip.SendToBack(); if (handler4 == null) { handler4 = (sender, e) => this.RequestWinManagerRelocation(); } EventHandler handler6 = handler4; this.panOutput.Resize += handler6; for (Control control = this.panOutput; control != null; control = control.Parent) { control.Move += handler6; } this._query.PluginWindowManager = this._pluginWinManager; this.queryProgressBar.Margin = new Padding(3, 3, 0, 1); this.tsOutput.Padding = new Padding(0, 0, 0, 2); this.splitContainer.SplitterWidth--; if (handler5 == null) { handler5 = delegate (object sender, SplitterCancelEventArgs e) { if (Control.MouseButtons == MouseButtons.Left) { MainForm.Instance.IsSplitting = true; } if ((this.panOutput.BackColor == MainForm.Instance.TransparencyKey) && (this.panOutput.BackColor != Program.LightTransparencyKey)) { this.panOutput.BackColor = MainForm.Instance.TransparencyKey = Program.LightTransparencyKey; } }; } this.splitContainer.SplitterMoving += handler5; this.panOutput.BorderStyle = BorderStyle.None; this.panOutput.BorderColor = Color.FromArgb(160, 160, 160); this.lblSyncDb.Cursor = Cursors.Hand; this.toolTip.ShowAlways = true; this.EnableControls(); this.panBottom.Layout += new LayoutEventHandler(this.panBottom_Layout); }
private void InitializeComponent() { this.components = new Container(); ComponentResourceManager manager = new ComponentResourceManager(typeof(MainForm)); this.verticalSplit = new SplitContainer(); this.panLeft = new Panel(); this.splitLeft = new SplitContainer(); this.schemaTree = new SchemaTree(); this.tcQueryTrees = new TabControl(); this.pagMyQueries = new TabPage(); this.tvMyQueries = new MyQueries(); this.panMyQueryOptions = new TableLayoutPanel(); this.llSetFolder = new LinkLabel(); this.llOrganize = new LinkLabel(); this.pagSamples = new TabPage(); this.sampleQueries = new SampleQueries(); this.label1 = new Label(); this.mainMenu = new MenuStripEx(); this.fileToolStripMenuItem = new ToolStripMenuItem(); this.newToolStripMenuItem = new ToolStripMenuItem(); this.newQuerySamePropsItem = new ToolStripMenuItem(); this.cloneQueryMenuItem = new ToolStripMenuItem(); this.openToolStripMenuItem = new ToolStripMenuItem(); this.toolStripSeparator2 = new ToolStripSeparator(); this.closeToolStripMenuItem = new ToolStripMenuItem(); this.closeAllToolStripMenuItem = new ToolStripMenuItem(); this.toolStripSeparator = new ToolStripSeparator(); this.saveToolStripMenuItem = new ToolStripMenuItem(); this.saveAsToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem13 = new ToolStripSeparator(); this.miPasswordManager = new ToolStripMenuItem(); this.exitSeparator = new ToolStripSeparator(); this.exitToolStripMenuItem = new ToolStripMenuItem(); this.editToolStripMenuItem = new ToolStripMenuItem(); this.undoToolStripMenuItem = new ToolStripMenuItem(); this.redoToolStripMenuItem = new ToolStripMenuItem(); this.toolStripSeparator3 = new ToolStripSeparator(); this.cutToolStripMenuItem = new ToolStripMenuItem(); this.copyToolStripMenuItem = new ToolStripMenuItem(); this.copyPlainToolStripMenuItem = new ToolStripMenuItem(); this.miCopyMarkdown = new ToolStripMenuItem(); this.pasteToolStripMenuItem = new ToolStripMenuItem(); this.miPasteEscapedString = new ToolStripMenuItem(); this.toolStripSeparator4 = new ToolStripSeparator(); this.selectAllToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem6 = new ToolStripSeparator(); this.findAndReplaceToolStripMenuItem = new ToolStripMenuItem(); this.findNextToolStripMenuItem = new ToolStripMenuItem(); this.findPreviousToolStripMenuItem = new ToolStripMenuItem(); this.miIncrementalSearch = new ToolStripMenuItem(); this.navigateToToolStripMenuItem = new ToolStripMenuItem(); this.findAllToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem10 = new ToolStripSeparator(); this.outliningToolStripMenuItem = new ToolStripMenuItem(); this.toggleOutliningExpansionToolStripMenuItem = new ToolStripMenuItem(); this.toggleAllOutliningToolStripMenuItem = new ToolStripMenuItem(); this.sepOutlining = new ToolStripSeparator(); this.miAutocompletion = new ToolStripMenuItem(); this.miCompleteWord = new ToolStripMenuItem(); this.miListMembers = new ToolStripMenuItem(); this.miListTables = new ToolStripMenuItem(); this.toolStripMenuItem11 = new ToolStripSeparator(); this.miCompleteParameters = new ToolStripMenuItem(); this.toolStripMenuItem9 = new ToolStripSeparator(); this.miInsertSnippet = new ToolStripMenuItem(); this.miSurroundWith = new ToolStripMenuItem(); this.miExecCmd = new ToolStripMenuItem(); this.toolStripMenuItem2 = new ToolStripSeparator(); this.optionsToolStripMenuItem = new ToolStripMenuItem(); this.queryToolStripMenuItem = new ToolStripMenuItem(); this.executeToolStripMenuItem = new ToolStripMenuItem(); this.cancelToolStripMenuItem = new ToolStripMenuItem(); this.miUnload = new ToolStripMenuItem(); this.miGCSeparator = new ToolStripSeparator(); this.showHideResultsToolStripMenuItem = new ToolStripMenuItem(); this.miUndockResults = new ToolStripMenuItem(); this.miVerticalResults = new ToolStripMenuItem(); this.toolStripMenuItem14 = new ToolStripSeparator(); this.miTextResults = new ToolStripMenuItem(); this.miGridResults = new ToolStripMenuItem(); this.miSep1 = new ToolStripSeparator(); this.miAutoScroll = new ToolStripMenuItem(); this.miExecutionTracking = new ToolStripMenuItem(); this.miJumpToExecutionPoint = new ToolStripMenuItem(); this.toolStripMenuItem8 = new ToolStripSeparator(); this.miGC = new ToolStripMenuItem(); this.toolStripMenuItem1 = new ToolStripSeparator(); this.toolStripMenuItemAdvanced = new ToolStripMenuItem(); this.helpToolStripMenuItem = new ToolStripMenuItem(); this.miMemberHelp = new ToolStripMenuItem(); this.miActivateReflector = new ToolStripMenuItem(); this.toolStripMenuItem12 = new ToolStripSeparator(); this.whatsNewtoolStripMenuItem = new ToolStripMenuItem(); this.shortcutsMenuItem = new ToolStripMenuItem(); this.fAQToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem4 = new ToolStripSeparator(); this.viewSamplesToolStripMenuItem = new ToolStripMenuItem(); this.bugReportToolStripMenuItem = new ToolStripMenuItem(); this.miSuggestion = new ToolStripMenuItem(); this.miCustomerService = new ToolStripMenuItem(); this.forumToolStripMenuItem = new ToolStripMenuItem(); this.microsoftLINQForumsToolStripMenuItem = new ToolStripMenuItem(); this.lINQGeneralToolStripMenuItem = new ToolStripMenuItem(); this.lINQToSQLToolStripMenuItem = new ToolStripMenuItem(); this.lINQToEntitiesToolStripMenuItem = new ToolStripMenuItem(); this.lINQToXMLToolStripMenuItem = new ToolStripMenuItem(); this.pLINQToolStripMenuItem = new ToolStripMenuItem(); this.reactiveFrameworkToolStripMenuItem = new ToolStripMenuItem(); this.streamInsightToolStripMenuItem = new ToolStripMenuItem(); this.c30InANutshellToolStripMenuItem = new ToolStripMenuItem(); this.toolStripMenuItem7 = new ToolStripSeparator(); this.miActivateAutocompletion = new ToolStripMenuItem(); this.miManageActivations = new ToolStripMenuItem(); this.miCheckForUpdates = new ToolStripMenuItem(); this.toolStripMenuItem3 = new ToolStripSeparator(); this.toolStripMenuItem5 = new ToolStripMenuItem(); this.miHideExplorers = new ToolStripMenuItem(); this.tcQueries = new QueryTabControl(); this.panAppMessage = new Panel(); this.btnRestart = new Button(); this.panSpacer1 = new Panel(); this.lblAppMessage = new Label(); this.btnCloseAppMsg = new ClearButton(); this.editManager = new EditManager(this.components); this.verticalSplit.Panel1.SuspendLayout(); this.verticalSplit.Panel2.SuspendLayout(); this.verticalSplit.SuspendLayout(); this.panLeft.SuspendLayout(); this.splitLeft.Panel1.SuspendLayout(); this.splitLeft.Panel2.SuspendLayout(); this.splitLeft.SuspendLayout(); this.tcQueryTrees.SuspendLayout(); this.pagMyQueries.SuspendLayout(); this.panMyQueryOptions.SuspendLayout(); this.pagSamples.SuspendLayout(); this.mainMenu.SuspendLayout(); this.panAppMessage.SuspendLayout(); base.SuspendLayout(); this.verticalSplit.Dock = DockStyle.Fill; this.verticalSplit.Location = new Point(0, 0); this.verticalSplit.Margin = new Padding(4); this.verticalSplit.Name = "verticalSplit"; this.verticalSplit.Panel1.Controls.Add(this.panLeft); this.verticalSplit.Panel1.Controls.Add(this.mainMenu); this.verticalSplit.Panel2.Controls.Add(this.tcQueries); this.verticalSplit.Panel2.Controls.Add(this.panAppMessage); this.verticalSplit.Panel2.Padding = new Padding(0, 2, 1, 1); this.verticalSplit.Size = new Size(0x413, 0x397); this.verticalSplit.SplitterDistance = 0xf7; this.verticalSplit.SplitterWidth = 5; this.verticalSplit.TabIndex = 0; this.verticalSplit.SplitterMoved += new SplitterEventHandler(this.verticalSplit_SplitterMoved_1); this.panLeft.Controls.Add(this.splitLeft); this.panLeft.Dock = DockStyle.Fill; this.panLeft.Location = new Point(0, 0x1b); this.panLeft.Name = "panLeft"; this.panLeft.Padding = new Padding(4, 4, 0, 1); this.panLeft.Size = new Size(0xf7, 0x37c); this.panLeft.TabIndex = 2; this.splitLeft.Dock = DockStyle.Fill; this.splitLeft.Location = new Point(4, 4); this.splitLeft.Name = "splitLeft"; this.splitLeft.Orientation = Orientation.Horizontal; this.splitLeft.Panel1.Controls.Add(this.schemaTree); this.splitLeft.Panel1.Padding = new Padding(0, 0, 1, 0); this.splitLeft.Panel2.Controls.Add(this.tcQueryTrees); this.splitLeft.Size = new Size(0xf3, 0x377); this.splitLeft.SplitterDistance = 0x207; this.splitLeft.SplitterWidth = 7; this.splitLeft.TabIndex = 3; this.splitLeft.SplitterMoved += new SplitterEventHandler(this.splitLeft_SplitterMoved); this.schemaTree.Dock = DockStyle.Fill; this.schemaTree.FullRowSelect = true; this.schemaTree.ImageIndex = 0; this.schemaTree.Location = new Point(0, 0); this.schemaTree.Margin = new Padding(4); this.schemaTree.Name = "schemaTree"; this.schemaTree.SelectedImageIndex = 0; this.schemaTree.ShowNodeToolTips = true; this.schemaTree.Size = new Size(0xf2, 0x207); this.schemaTree.TabIndex = 0; this.tcQueryTrees.Controls.Add(this.pagMyQueries); this.tcQueryTrees.Controls.Add(this.pagSamples); this.tcQueryTrees.Dock = DockStyle.Fill; this.tcQueryTrees.Location = new Point(0, 0); this.tcQueryTrees.Name = "tcQueryTrees"; this.tcQueryTrees.SelectedIndex = 0; this.tcQueryTrees.Size = new Size(0xf3, 0x169); this.tcQueryTrees.TabIndex = 0; this.tcQueryTrees.SizeChanged += new EventHandler(this.tcQueryTrees_SizeChanged); this.pagMyQueries.Controls.Add(this.tvMyQueries); this.pagMyQueries.Controls.Add(this.panMyQueryOptions); this.pagMyQueries.Location = new Point(4, 0x1a); this.pagMyQueries.Name = "pagMyQueries"; this.pagMyQueries.Padding = new Padding(3, 2, 4, 4); this.pagMyQueries.Size = new Size(0xeb, 0x14b); this.pagMyQueries.TabIndex = 0; this.pagMyQueries.Text = "My Queries"; this.pagMyQueries.UseVisualStyleBackColor = true; this.tvMyQueries.Dock = DockStyle.Fill; this.tvMyQueries.HideSelection = false; this.tvMyQueries.ImageIndex = 0; this.tvMyQueries.Location = new Point(3, 0x15); this.tvMyQueries.Name = "tvMyQueries"; this.tvMyQueries.SelectedImageIndex = 0; this.tvMyQueries.Size = new Size(0xe4, 0x132); this.tvMyQueries.TabIndex = 1; this.tvMyQueries.NodeMouseDoubleClick += new TreeNodeMouseClickEventHandler(this.tvMyQueries_NodeMouseDoubleClick); this.tvMyQueries.AfterSelect += new TreeViewEventHandler(this.tvMyQueries_AfterSelect); this.tvMyQueries.KeyPress += new KeyPressEventHandler(this.tvMyQueries_KeyPress); this.tvMyQueries.NodeMouseClick += new TreeNodeMouseClickEventHandler(this.tvMyQueries_NodeMouseClick); this.panMyQueryOptions.AutoSize = true; this.panMyQueryOptions.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.panMyQueryOptions.ColumnCount = 2; this.panMyQueryOptions.ColumnStyles.Add(new ColumnStyle()); this.panMyQueryOptions.ColumnStyles.Add(new ColumnStyle()); this.panMyQueryOptions.Controls.Add(this.llSetFolder, 0, 0); this.panMyQueryOptions.Controls.Add(this.llOrganize, 0, 0); this.panMyQueryOptions.Dock = DockStyle.Top; this.panMyQueryOptions.Location = new Point(3, 2); this.panMyQueryOptions.Name = "panMyQueryOptions"; this.panMyQueryOptions.RowCount = 1; this.panMyQueryOptions.RowStyles.Add(new RowStyle()); this.panMyQueryOptions.Size = new Size(0xe4, 0x13); this.panMyQueryOptions.TabIndex = 2; this.llSetFolder.AutoSize = true; this.llSetFolder.Dock = DockStyle.Right; this.llSetFolder.Location = new Point(0x95, 0); this.llSetFolder.Margin = new Padding(3, 0, 0, 0); this.llSetFolder.Name = "llSetFolder"; this.llSetFolder.Size = new Size(0x4f, 0x13); this.llSetFolder.TabIndex = 1; this.llSetFolder.TabStop = true; this.llSetFolder.Text = "Set Folder..."; this.llSetFolder.LinkClicked += new LinkLabelLinkClickedEventHandler(this.llSetFolder_LinkClicked); this.llOrganize.AutoSize = true; this.llOrganize.Dock = DockStyle.Left; this.llOrganize.Location = new Point(0, 0); this.llOrganize.Margin = new Padding(0, 0, 9, 0); this.llOrganize.Name = "llOrganize"; this.llOrganize.Size = new Size(0x49, 0x13); this.llOrganize.TabIndex = 0; this.llOrganize.TabStop = true; this.llOrganize.Text = "Organize..."; this.llOrganize.LinkClicked += new LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); this.pagSamples.Controls.Add(this.sampleQueries); this.pagSamples.Controls.Add(this.label1); this.pagSamples.Location = new Point(4, 0x1a); this.pagSamples.Name = "pagSamples"; this.pagSamples.Padding = new Padding(3, 5, 4, 4); this.pagSamples.Size = new Size(0xeb, 0x14b); this.pagSamples.TabIndex = 1; this.pagSamples.Text = "Samples"; this.pagSamples.UseVisualStyleBackColor = true; this.sampleQueries.Dock = DockStyle.Fill; this.sampleQueries.HideSelection = false; this.sampleQueries.ImageIndex = 0; this.sampleQueries.Location = new Point(3, 5); this.sampleQueries.Name = "sampleQueries"; this.sampleQueries.SelectedImageIndex = 0; this.sampleQueries.Size = new Size(0xe4, 0x142); this.sampleQueries.TabIndex = 1; this.sampleQueries.NodeMouseDoubleClick += new TreeNodeMouseClickEventHandler(this.sampleQueries_NodeMouseDoubleClick); this.sampleQueries.AfterSelect += new TreeViewEventHandler(this.sampleQueries_AfterSelect); this.sampleQueries.KeyPress += new KeyPressEventHandler(this.sampleQueries_KeyPress); this.sampleQueries.NodeMouseClick += new TreeNodeMouseClickEventHandler(this.sampleQueries_NodeMouseClick); this.label1.AutoSize = true; this.label1.Location = new Point(1, 10); this.label1.Name = "label1"; this.label1.Size = new Size(0x70, 0x13); this.label1.TabIndex = 0; this.label1.Text = "Coming shortly..."; this.mainMenu.BackColor = Color.Transparent; this.mainMenu.Items.AddRange(new ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem, this.queryToolStripMenuItem, this.helpToolStripMenuItem, this.miHideExplorers }); this.mainMenu.Location = new Point(0, 0); this.mainMenu.Name = "mainMenu"; this.mainMenu.Padding = new Padding(5, 2, 0, 2); this.mainMenu.Size = new Size(0xf7, 0x1b); this.mainMenu.TabIndex = 1; this.mainMenu.Text = "menuStrip1"; this.fileToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.newToolStripMenuItem, this.newQuerySamePropsItem, this.cloneQueryMenuItem, this.openToolStripMenuItem, this.toolStripSeparator2, this.closeToolStripMenuItem, this.closeAllToolStripMenuItem, this.toolStripSeparator, this.saveToolStripMenuItem, this.saveAsToolStripMenuItem, this.toolStripMenuItem13, this.miPasswordManager, this.exitSeparator, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new Size(0x29, 0x17); this.fileToolStripMenuItem.Text = "&File"; this.fileToolStripMenuItem.DropDownOpening += new EventHandler(this.fileToolStripMenuItem_DropDownOpening); this.newToolStripMenuItem.Image = (Image) manager.GetObject("newToolStripMenuItem.Image"); this.newToolStripMenuItem.ImageTransparentColor = Color.Magenta; this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.N; this.newToolStripMenuItem.Size = new Size(340, 0x18); this.newToolStripMenuItem.Text = "&New Query"; this.newToolStripMenuItem.Click += new EventHandler(this.newToolStripMenuItem_Click); this.newQuerySamePropsItem.Image = Resources.NewQuerySameProps; this.newQuerySamePropsItem.Name = "newQuerySamePropsItem"; this.newQuerySamePropsItem.ShortcutKeys = Keys.Control | Keys.Shift | Keys.N; this.newQuerySamePropsItem.Size = new Size(340, 0x18); this.newQuerySamePropsItem.Text = "New Query, same properties"; this.newQuerySamePropsItem.Click += new EventHandler(this.newQuerySamePropsItem_Click); this.cloneQueryMenuItem.Image = Resources.CloneQuery; this.cloneQueryMenuItem.Name = "cloneQueryMenuItem"; this.cloneQueryMenuItem.ShortcutKeys = Keys.Control | Keys.Shift | Keys.C; this.cloneQueryMenuItem.Size = new Size(340, 0x18); this.cloneQueryMenuItem.Text = "Clone Query"; this.cloneQueryMenuItem.Click += new EventHandler(this.cloneQueryMenuItem_Click); this.openToolStripMenuItem.Image = (Image) manager.GetObject("openToolStripMenuItem.Image"); this.openToolStripMenuItem.ImageTransparentColor = Color.Magenta; this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.O; this.openToolStripMenuItem.Size = new Size(340, 0x18); this.openToolStripMenuItem.Text = "&Open"; this.openToolStripMenuItem.Click += new EventHandler(this.openToolStripMenuItem_Click); this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new Size(0x151, 6); this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; this.closeToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.F4; this.closeToolStripMenuItem.Size = new Size(340, 0x18); this.closeToolStripMenuItem.Text = "&Close"; this.closeToolStripMenuItem.Click += new EventHandler(this.closeToolStripMenuItem_Click); this.closeAllToolStripMenuItem.Name = "closeAllToolStripMenuItem"; this.closeAllToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.Shift | Keys.F4; this.closeAllToolStripMenuItem.Size = new Size(340, 0x18); this.closeAllToolStripMenuItem.Text = "C&lose All Queries"; this.closeAllToolStripMenuItem.Click += new EventHandler(this.closeAllToolStripMenuItem_Click); this.toolStripSeparator.Name = "toolStripSeparator"; this.toolStripSeparator.Size = new Size(0x151, 6); this.saveToolStripMenuItem.Image = (Image) manager.GetObject("saveToolStripMenuItem.Image"); this.saveToolStripMenuItem.ImageTransparentColor = Color.Magenta; this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.S; this.saveToolStripMenuItem.Size = new Size(340, 0x18); this.saveToolStripMenuItem.Text = "&Save"; this.saveToolStripMenuItem.Click += new EventHandler(this.saveToolStripMenuItem_Click); this.saveAsToolStripMenuItem.Name = "saveAsToolStripMenuItem"; this.saveAsToolStripMenuItem.Size = new Size(340, 0x18); this.saveAsToolStripMenuItem.Text = "Save &As"; this.saveAsToolStripMenuItem.Click += new EventHandler(this.saveAsToolStripMenuItem_Click); this.toolStripMenuItem13.Name = "toolStripMenuItem13"; this.toolStripMenuItem13.Size = new Size(0x151, 6); this.miPasswordManager.Name = "miPasswordManager"; this.miPasswordManager.Size = new Size(340, 0x18); this.miPasswordManager.Text = "Password Manager"; this.miPasswordManager.Click += new EventHandler(this.miPasswordManager_Click); this.exitSeparator.Name = "exitSeparator"; this.exitSeparator.Size = new Size(0x151, 6); this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.ShortcutKeys = Keys.Alt | Keys.F4; this.exitToolStripMenuItem.ShowShortcutKeys = false; this.exitToolStripMenuItem.Size = new Size(340, 0x18); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.Click += new EventHandler(this.exitToolStripMenuItem_Click); this.editToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.undoToolStripMenuItem, this.redoToolStripMenuItem, this.toolStripSeparator3, this.cutToolStripMenuItem, this.copyToolStripMenuItem, this.copyPlainToolStripMenuItem, this.miCopyMarkdown, this.pasteToolStripMenuItem, this.miPasteEscapedString, this.toolStripSeparator4, this.selectAllToolStripMenuItem, this.toolStripMenuItem6, this.findAndReplaceToolStripMenuItem, this.findNextToolStripMenuItem, this.findPreviousToolStripMenuItem, this.miIncrementalSearch, this.navigateToToolStripMenuItem, this.findAllToolStripMenuItem, this.toolStripMenuItem10, this.outliningToolStripMenuItem, this.sepOutlining, this.miAutocompletion, this.miExecCmd, this.toolStripMenuItem2, this.optionsToolStripMenuItem }); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new Size(0x2c, 0x17); this.editToolStripMenuItem.Text = "&Edit"; this.editToolStripMenuItem.DropDownOpening += new EventHandler(this.editToolStripMenuItem_DropDownOpening); this.undoToolStripMenuItem.Image = Resources.Undo; this.undoToolStripMenuItem.Name = "undoToolStripMenuItem"; this.undoToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.Z; this.undoToolStripMenuItem.Size = new Size(0x180, 0x18); this.undoToolStripMenuItem.Text = "&Undo "; this.redoToolStripMenuItem.Image = Resources.Redo; this.redoToolStripMenuItem.Name = "redoToolStripMenuItem"; this.redoToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.Y; this.redoToolStripMenuItem.Size = new Size(0x180, 0x18); this.redoToolStripMenuItem.Text = "&Redo "; this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new Size(0x17d, 6); this.cutToolStripMenuItem.Image = (Image) manager.GetObject("cutToolStripMenuItem.Image"); this.cutToolStripMenuItem.ImageTransparentColor = Color.Magenta; this.cutToolStripMenuItem.Name = "cutToolStripMenuItem"; this.cutToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.X; this.cutToolStripMenuItem.Size = new Size(0x180, 0x18); this.cutToolStripMenuItem.Text = "Cu&t"; this.copyToolStripMenuItem.Image = (Image) manager.GetObject("copyToolStripMenuItem.Image"); this.copyToolStripMenuItem.ImageTransparentColor = Color.Magenta; this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.C; this.copyToolStripMenuItem.Size = new Size(0x180, 0x18); this.copyToolStripMenuItem.Text = "&Copy"; this.copyPlainToolStripMenuItem.ImageTransparentColor = Color.Magenta; this.copyPlainToolStripMenuItem.Name = "copyPlainToolStripMenuItem"; this.copyPlainToolStripMenuItem.ShortcutKeys = Keys.Alt | Keys.Shift | Keys.C; this.copyPlainToolStripMenuItem.Size = new Size(0x180, 0x18); this.copyPlainToolStripMenuItem.Text = "Copy without formatting"; this.miCopyMarkdown.Name = "miCopyMarkdown"; this.miCopyMarkdown.ShortcutKeys = Keys.Control | Keys.Shift | Keys.M; this.miCopyMarkdown.Size = new Size(0x180, 0x18); this.miCopyMarkdown.Text = "Copy for &Markdown/StackOverflow"; this.pasteToolStripMenuItem.Image = (Image) manager.GetObject("pasteToolStripMenuItem.Image"); this.pasteToolStripMenuItem.ImageTransparentColor = Color.Magenta; this.pasteToolStripMenuItem.Name = "pasteToolStripMenuItem"; this.pasteToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.V; this.pasteToolStripMenuItem.Size = new Size(0x180, 0x18); this.pasteToolStripMenuItem.Text = "&Paste"; this.miPasteEscapedString.Name = "miPasteEscapedString"; this.miPasteEscapedString.ShortcutKeys = Keys.Alt | Keys.Shift | Keys.V; this.miPasteEscapedString.Size = new Size(0x180, 0x18); this.miPasteEscapedString.Text = "Paste as &Escaped String"; this.miPasteEscapedString.Click += new EventHandler(this.miPasteEscapedString_Click); this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new Size(0x17d, 6); this.selectAllToolStripMenuItem.Name = "selectAllToolStripMenuItem"; this.selectAllToolStripMenuItem.Size = new Size(0x180, 0x18); this.selectAllToolStripMenuItem.Text = "Select &All"; this.toolStripMenuItem6.Name = "toolStripMenuItem6"; this.toolStripMenuItem6.Size = new Size(0x17d, 6); this.findAndReplaceToolStripMenuItem.Image = Resources.FindReplace; this.findAndReplaceToolStripMenuItem.Name = "findAndReplaceToolStripMenuItem"; this.findAndReplaceToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.F; this.findAndReplaceToolStripMenuItem.Size = new Size(0x180, 0x18); this.findAndReplaceToolStripMenuItem.Text = "&Find and Replace..."; this.findAndReplaceToolStripMenuItem.Click += new EventHandler(this.findAndReplaceToolStripMenuItem_Click); this.findNextToolStripMenuItem.Image = Resources.FindNext; this.findNextToolStripMenuItem.Name = "findNextToolStripMenuItem"; this.findNextToolStripMenuItem.ShortcutKeys = Keys.F3; this.findNextToolStripMenuItem.Size = new Size(0x180, 0x18); this.findNextToolStripMenuItem.Text = "Find Next"; this.findNextToolStripMenuItem.Click += new EventHandler(this.findNextToolStripMenuItem_Click); this.findPreviousToolStripMenuItem.Image = Resources.FindPrevious; this.findPreviousToolStripMenuItem.Name = "findPreviousToolStripMenuItem"; this.findPreviousToolStripMenuItem.ShortcutKeys = Keys.Shift | Keys.F3; this.findPreviousToolStripMenuItem.Size = new Size(0x180, 0x18); this.findPreviousToolStripMenuItem.Text = "Find Previous"; this.findPreviousToolStripMenuItem.Click += new EventHandler(this.findPreviousToolStripMenuItem_Click); this.miIncrementalSearch.Name = "miIncrementalSearch"; this.miIncrementalSearch.ShortcutKeys = Keys.Control | Keys.I; this.miIncrementalSearch.Size = new Size(0x180, 0x18); this.miIncrementalSearch.Text = "Incremental Search"; this.miIncrementalSearch.Click += new EventHandler(this.miIncrementalSearch_Click); this.navigateToToolStripMenuItem.Name = "navigateToToolStripMenuItem"; this.navigateToToolStripMenuItem.ShortcutKeyDisplayString = "Ctrl+,"; this.navigateToToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.Oemcomma; this.navigateToToolStripMenuItem.Size = new Size(0x180, 0x18); this.navigateToToolStripMenuItem.Text = "Navigate To..."; this.navigateToToolStripMenuItem.Click += new EventHandler(this.navigateToToolStripMenuItem_Click); this.findAllToolStripMenuItem.Name = "findAllToolStripMenuItem"; this.findAllToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.Shift | Keys.F; this.findAllToolStripMenuItem.Size = new Size(0x180, 0x18); this.findAllToolStripMenuItem.Text = "Search All Queries / Samples..."; this.findAllToolStripMenuItem.Click += new EventHandler(this.findAllToolStripMenuItem_Click); this.toolStripMenuItem10.Name = "toolStripMenuItem10"; this.toolStripMenuItem10.Size = new Size(0x17d, 6); this.outliningToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.toggleOutliningExpansionToolStripMenuItem, this.toggleAllOutliningToolStripMenuItem }); this.outliningToolStripMenuItem.Name = "outliningToolStripMenuItem"; this.outliningToolStripMenuItem.Size = new Size(0x180, 0x18); this.outliningToolStripMenuItem.Text = "Outlining"; this.toggleOutliningExpansionToolStripMenuItem.Name = "toggleOutliningExpansionToolStripMenuItem"; this.toggleOutliningExpansionToolStripMenuItem.Size = new Size(0xf5, 0x18); this.toggleOutliningExpansionToolStripMenuItem.Text = "Toggle Outlining Expansion"; this.toggleOutliningExpansionToolStripMenuItem.Click += new EventHandler(this.toggleOutliningExpansionToolStripMenuItem_Click); this.toggleAllOutliningToolStripMenuItem.Name = "toggleAllOutliningToolStripMenuItem"; this.toggleAllOutliningToolStripMenuItem.Size = new Size(0xf5, 0x18); this.toggleAllOutliningToolStripMenuItem.Text = "Toggle All Outlining"; this.toggleAllOutliningToolStripMenuItem.Click += new EventHandler(this.toggleAllOutliningToolStripMenuItem_Click); this.sepOutlining.Name = "sepOutlining"; this.sepOutlining.Size = new Size(0x17d, 6); this.miAutocompletion.DropDownItems.AddRange(new ToolStripItem[] { this.miCompleteWord, this.miListMembers, this.miListTables, this.toolStripMenuItem11, this.miCompleteParameters, this.toolStripMenuItem9, this.miInsertSnippet, this.miSurroundWith }); this.miAutocompletion.Name = "miAutocompletion"; this.miAutocompletion.ShortcutKeyDisplayString = ""; this.miAutocompletion.Size = new Size(0x180, 0x18); this.miAutocompletion.Text = "Autocompletion"; this.miCompleteWord.Name = "miCompleteWord"; this.miCompleteWord.ShortcutKeyDisplayString = "Ctrl+Space"; this.miCompleteWord.Size = new Size(370, 0x18); this.miCompleteWord.Text = "Complete Word"; this.miCompleteWord.Click += new EventHandler(this.miCompleteWord_Click); this.miListMembers.Name = "miListMembers"; this.miListMembers.Size = new Size(370, 0x18); this.miListMembers.Text = "List Members"; this.miListMembers.Click += new EventHandler(this.miListMembers_Click); this.miListTables.Name = "miListTables"; this.miListTables.ShortcutKeyDisplayString = "Ctrl+T"; this.miListTables.Size = new Size(370, 0x18); this.miListTables.Text = "List Just Tables and Enumerable Objects"; this.miListTables.Click += new EventHandler(this.miListTables_Click); this.toolStripMenuItem11.Name = "toolStripMenuItem11"; this.toolStripMenuItem11.Size = new Size(0x16f, 6); this.miCompleteParameters.Name = "miCompleteParameters"; this.miCompleteParameters.ShortcutKeyDisplayString = "Shift+Ctrl+Space"; this.miCompleteParameters.Size = new Size(370, 0x18); this.miCompleteParameters.Text = "Parameter Info"; this.miCompleteParameters.Click += new EventHandler(this.miCompleteParameters_Click); this.toolStripMenuItem9.Name = "toolStripMenuItem9"; this.toolStripMenuItem9.Size = new Size(0x16f, 6); this.miInsertSnippet.Name = "miInsertSnippet"; this.miInsertSnippet.Size = new Size(370, 0x18); this.miInsertSnippet.Text = "Insert Snippet..."; this.miInsertSnippet.Click += new EventHandler(this.miInsertSnippet_Click); this.miSurroundWith.Name = "miSurroundWith"; this.miSurroundWith.Size = new Size(370, 0x18); this.miSurroundWith.Text = "Surround With..."; this.miSurroundWith.Click += new EventHandler(this.miSurroundWith_Click); this.miExecCmd.Name = "miExecCmd"; this.miExecCmd.ShortcutKeyDisplayString = "Ctrl+Shift+X"; this.miExecCmd.ShortcutKeys = Keys.Control | Keys.Shift | Keys.X; this.miExecCmd.Size = new Size(0x180, 0x18); this.miExecCmd.Text = "Execute shell command"; this.miExecCmd.Click += new EventHandler(this.miExecCmd_Click); this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new Size(0x17d, 6); this.optionsToolStripMenuItem.Image = Resources.Preferences; this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; this.optionsToolStripMenuItem.Size = new Size(0x180, 0x18); this.optionsToolStripMenuItem.Text = "Prefere&nces"; this.optionsToolStripMenuItem.Click += new EventHandler(this.optionsToolStripMenuItem_Click); this.queryToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.executeToolStripMenuItem, this.cancelToolStripMenuItem, this.miUnload, this.miGCSeparator, this.showHideResultsToolStripMenuItem, this.miUndockResults, this.miVerticalResults, this.toolStripMenuItem14, this.miTextResults, this.miGridResults, this.miSep1, this.miAutoScroll, this.miExecutionTracking, this.miJumpToExecutionPoint, this.toolStripMenuItem8, this.miGC, this.toolStripMenuItem1, this.toolStripMenuItemAdvanced }); this.queryToolStripMenuItem.Name = "queryToolStripMenuItem"; this.queryToolStripMenuItem.Size = new Size(0x3b, 0x17); this.queryToolStripMenuItem.Text = "&Query"; this.queryToolStripMenuItem.DropDownOpened += new EventHandler(this.queryToolStripMenuItem_DropDownOpened); this.executeToolStripMenuItem.Image = Resources.Execute; this.executeToolStripMenuItem.Name = "executeToolStripMenuItem"; this.executeToolStripMenuItem.ShortcutKeys = Keys.F5; this.executeToolStripMenuItem.Size = new Size(0x164, 0x18); this.executeToolStripMenuItem.Text = "E&xecute"; this.executeToolStripMenuItem.Click += new EventHandler(this.executeToolStripMenuItem_Click); this.cancelToolStripMenuItem.Image = Resources.Cancel; this.cancelToolStripMenuItem.Name = "cancelToolStripMenuItem"; this.cancelToolStripMenuItem.ShortcutKeys = Keys.Shift | Keys.F5; this.cancelToolStripMenuItem.Size = new Size(0x164, 0x18); this.cancelToolStripMenuItem.Text = "&Cancel"; this.cancelToolStripMenuItem.Click += new EventHandler(this.cancelToolStripMenuItem_Click); this.miUnload.Name = "miUnload"; this.miUnload.Size = new Size(0x164, 0x18); this.miUnload.Text = "Unload Query Application Domain"; this.miUnload.Click += new EventHandler(this.miUnload_Click); this.miGCSeparator.Name = "miGCSeparator"; this.miGCSeparator.Size = new Size(0x161, 6); this.showHideResultsToolStripMenuItem.Image = Resources.Results; this.showHideResultsToolStripMenuItem.Name = "showHideResultsToolStripMenuItem"; this.showHideResultsToolStripMenuItem.ShortcutKeys = Keys.Control | Keys.R; this.showHideResultsToolStripMenuItem.Size = new Size(0x164, 0x18); this.showHideResultsToolStripMenuItem.Text = "Hide Results"; this.showHideResultsToolStripMenuItem.Click += new EventHandler(this.showHideResultsToolStripMenuItem_Click); this.miUndockResults.Name = "miUndockResults"; this.miUndockResults.ShortcutKeys = Keys.F8; this.miUndockResults.Size = new Size(0x164, 0x18); this.miUndockResults.Text = "Dock / Undock Results"; this.miUndockResults.Click += new EventHandler(this.miUndockResults_Click); this.miVerticalResults.Name = "miVerticalResults"; this.miVerticalResults.ShortcutKeys = Keys.Control | Keys.F8; this.miVerticalResults.Size = new Size(0x164, 0x18); this.miVerticalResults.Text = "Arrange Results Panel Vertically"; this.miVerticalResults.Click += new EventHandler(this.miVerticalResults_Click); this.toolStripMenuItem14.Name = "toolStripMenuItem14"; this.toolStripMenuItem14.Size = new Size(0x161, 6); this.miTextResults.Name = "miTextResults"; this.miTextResults.ShortcutKeys = Keys.Control | Keys.Shift | Keys.T; this.miTextResults.Size = new Size(0x164, 0x18); this.miTextResults.Text = "Results to Rich Text"; this.miTextResults.Click += new EventHandler(this.miTextResults_Click); this.miGridResults.Name = "miGridResults"; this.miGridResults.ShortcutKeys = Keys.Control | Keys.Shift | Keys.G; this.miGridResults.Size = new Size(0x164, 0x18); this.miGridResults.Text = "Results to Data Grids"; this.miGridResults.Click += new EventHandler(this.miGridResults_Click); this.miSep1.Name = "miSep1"; this.miSep1.Size = new Size(0x161, 6); this.miAutoScroll.CheckOnClick = true; this.miAutoScroll.Name = "miAutoScroll"; this.miAutoScroll.ShortcutKeys = Keys.Control | Keys.Shift | Keys.E; this.miAutoScroll.Size = new Size(0x164, 0x18); this.miAutoScroll.Text = "Auto Scroll Results to End"; this.miAutoScroll.Click += new EventHandler(this.miAutoScroll_Click); this.miExecutionTracking.Name = "miExecutionTracking"; this.miExecutionTracking.ShortcutKeys = Keys.Control | Keys.Shift | Keys.A; this.miExecutionTracking.Size = new Size(0x164, 0x18); this.miExecutionTracking.Text = "Auto Execution Tracking"; this.miExecutionTracking.Click += new EventHandler(this.miExecutionTracking_Click); this.miJumpToExecutionPoint.Name = "miJumpToExecutionPoint"; this.miJumpToExecutionPoint.ShortcutKeys = Keys.Control | Keys.Shift | Keys.J; this.miJumpToExecutionPoint.Size = new Size(0x164, 0x18); this.miJumpToExecutionPoint.Text = "Jump to Execution Point"; this.miJumpToExecutionPoint.Click += new EventHandler(this.miJumpToExecutionPoint_Click); this.toolStripMenuItem8.Name = "toolStripMenuItem8"; this.toolStripMenuItem8.Size = new Size(0x161, 6); this.miGC.Name = "miGC"; this.miGC.ShortcutKeys = Keys.Alt | Keys.Shift | Keys.G; this.miGC.Size = new Size(0x164, 0x18); this.miGC.Text = "Trigger Garbage Collection Now"; this.miGC.Click += new EventHandler(this.miGC_Click); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new Size(0x161, 6); this.toolStripMenuItemAdvanced.Image = Resources.AdvancedProperties; this.toolStripMenuItemAdvanced.Name = "toolStripMenuItemAdvanced"; this.toolStripMenuItemAdvanced.ShortcutKeys = Keys.F4; this.toolStripMenuItemAdvanced.Size = new Size(0x164, 0x18); this.toolStripMenuItemAdvanced.Text = "Query Properties"; this.toolStripMenuItemAdvanced.Click += new EventHandler(this.toolStripMenuItemAdvanced_Click); this.helpToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.miMemberHelp, this.miActivateReflector, this.toolStripMenuItem12, this.whatsNewtoolStripMenuItem, this.shortcutsMenuItem, this.fAQToolStripMenuItem, this.toolStripMenuItem4, this.viewSamplesToolStripMenuItem, this.bugReportToolStripMenuItem, this.miSuggestion, this.miCustomerService, this.forumToolStripMenuItem, this.microsoftLINQForumsToolStripMenuItem, this.c30InANutshellToolStripMenuItem, this.toolStripMenuItem7, this.miActivateAutocompletion, this.miManageActivations, this.miCheckForUpdates, this.toolStripMenuItem3, this.toolStripMenuItem5 }); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; this.helpToolStripMenuItem.Size = new Size(0x31, 0x17); this.helpToolStripMenuItem.Text = "&Help"; this.helpToolStripMenuItem.DropDownOpening += new EventHandler(this.helpToolStripMenuItem_DropDownOpening); this.miMemberHelp.Name = "miMemberHelp"; this.miMemberHelp.ShortcutKeyDisplayString = "F1"; this.miMemberHelp.Size = new Size(340, 0x18); this.miMemberHelp.Text = "Help on Current Type/Member"; this.miMemberHelp.Click += new EventHandler(this.miMemberHelp_Click); this.miActivateReflector.Name = "miActivateReflector"; this.miActivateReflector.ShortcutKeyDisplayString = "Shift+F1"; this.miActivateReflector.Size = new Size(340, 0x18); this.miActivateReflector.Text = "Reflect on Current Type/Member"; this.miActivateReflector.Click += new EventHandler(this.miActivateReflector_Click); this.toolStripMenuItem12.Name = "toolStripMenuItem12"; this.toolStripMenuItem12.Size = new Size(0x151, 6); this.whatsNewtoolStripMenuItem.Image = Resources.Add; this.whatsNewtoolStripMenuItem.Name = "whatsNewtoolStripMenuItem"; this.whatsNewtoolStripMenuItem.Size = new Size(340, 0x18); this.whatsNewtoolStripMenuItem.Text = "What's New"; this.whatsNewtoolStripMenuItem.Click += new EventHandler(this.whatsNewtoolStripMenuItem_Click); this.shortcutsMenuItem.Name = "shortcutsMenuItem"; this.shortcutsMenuItem.Size = new Size(340, 0x18); this.shortcutsMenuItem.Text = "Keyboard/Mouse Shortcuts"; this.shortcutsMenuItem.Click += new EventHandler(this.shortcutsMenuItem_Click); this.fAQToolStripMenuItem.Name = "fAQToolStripMenuItem"; this.fAQToolStripMenuItem.Size = new Size(340, 0x18); this.fAQToolStripMenuItem.Text = "FAQ"; this.fAQToolStripMenuItem.Click += new EventHandler(this.fAQToolStripMenuItem_Click); this.toolStripMenuItem4.Name = "toolStripMenuItem4"; this.toolStripMenuItem4.Size = new Size(0x151, 6); this.viewSamplesToolStripMenuItem.Name = "viewSamplesToolStripMenuItem"; this.viewSamplesToolStripMenuItem.Size = new Size(340, 0x18); this.viewSamplesToolStripMenuItem.Text = "View Samples"; this.viewSamplesToolStripMenuItem.Click += new EventHandler(this.viewSamplesToolStripMenuItem_Click); this.bugReportToolStripMenuItem.Image = Resources.Feedback; this.bugReportToolStripMenuItem.Name = "bugReportToolStripMenuItem"; this.bugReportToolStripMenuItem.Size = new Size(340, 0x18); this.bugReportToolStripMenuItem.Text = "Report Bug"; this.bugReportToolStripMenuItem.Click += new EventHandler(this.bugReportToolStripMenuItem_Click); this.miSuggestion.Name = "miSuggestion"; this.miSuggestion.Size = new Size(340, 0x18); this.miSuggestion.Text = "Make Suggestion"; this.miSuggestion.Click += new EventHandler(this.miSuggestion_Click); this.miCustomerService.Name = "miCustomerService"; this.miCustomerService.Size = new Size(340, 0x18); this.miCustomerService.Text = "Customer Service and Feedback Page"; this.miCustomerService.Click += new EventHandler(this.miCustomerService_Click); this.forumToolStripMenuItem.Name = "forumToolStripMenuItem"; this.forumToolStripMenuItem.Size = new Size(340, 0x18); this.forumToolStripMenuItem.Text = "LINQPad Forum"; this.forumToolStripMenuItem.Click += new EventHandler(this.forumToolStripMenuItem_Click); this.microsoftLINQForumsToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { this.lINQGeneralToolStripMenuItem, this.lINQToSQLToolStripMenuItem, this.lINQToEntitiesToolStripMenuItem, this.lINQToXMLToolStripMenuItem, this.pLINQToolStripMenuItem, this.reactiveFrameworkToolStripMenuItem, this.streamInsightToolStripMenuItem }); this.microsoftLINQForumsToolStripMenuItem.Name = "microsoftLINQForumsToolStripMenuItem"; this.microsoftLINQForumsToolStripMenuItem.Size = new Size(340, 0x18); this.microsoftLINQForumsToolStripMenuItem.Text = "Microsoft Forums"; this.lINQGeneralToolStripMenuItem.Name = "lINQGeneralToolStripMenuItem"; this.lINQGeneralToolStripMenuItem.Size = new Size(200, 0x18); this.lINQGeneralToolStripMenuItem.Text = "LINQ - General"; this.lINQGeneralToolStripMenuItem.Click += new EventHandler(this.lINQGeneralToolStripMenuItem_Click); this.lINQToSQLToolStripMenuItem.Name = "lINQToSQLToolStripMenuItem"; this.lINQToSQLToolStripMenuItem.Size = new Size(200, 0x18); this.lINQToSQLToolStripMenuItem.Text = "LINQ to SQL"; this.lINQToSQLToolStripMenuItem.Click += new EventHandler(this.lINQToSQLToolStripMenuItem_Click); this.lINQToEntitiesToolStripMenuItem.Name = "lINQToEntitiesToolStripMenuItem"; this.lINQToEntitiesToolStripMenuItem.Size = new Size(200, 0x18); this.lINQToEntitiesToolStripMenuItem.Text = "LINQ to Entities"; this.lINQToEntitiesToolStripMenuItem.Click += new EventHandler(this.lINQToEntitiesToolStripMenuItem_Click); this.lINQToXMLToolStripMenuItem.Name = "lINQToXMLToolStripMenuItem"; this.lINQToXMLToolStripMenuItem.Size = new Size(200, 0x18); this.lINQToXMLToolStripMenuItem.Text = "LINQ to XML"; this.lINQToXMLToolStripMenuItem.Click += new EventHandler(this.lINQToXMLToolStripMenuItem_Click); this.pLINQToolStripMenuItem.Name = "pLINQToolStripMenuItem"; this.pLINQToolStripMenuItem.Size = new Size(200, 0x18); this.pLINQToolStripMenuItem.Text = "PLINQ"; this.pLINQToolStripMenuItem.Click += new EventHandler(this.pLINQToolStripMenuItem_Click); this.reactiveFrameworkToolStripMenuItem.Name = "reactiveFrameworkToolStripMenuItem"; this.reactiveFrameworkToolStripMenuItem.Size = new Size(200, 0x18); this.reactiveFrameworkToolStripMenuItem.Text = "Reactive Framework"; this.reactiveFrameworkToolStripMenuItem.Click += new EventHandler(this.reactiveFrameworkToolStripMenuItem_Click); this.streamInsightToolStripMenuItem.Name = "streamInsightToolStripMenuItem"; this.streamInsightToolStripMenuItem.Size = new Size(200, 0x18); this.streamInsightToolStripMenuItem.Text = "StreamInsight"; this.streamInsightToolStripMenuItem.Click += new EventHandler(this.streamInsightToolStripMenuItem_Click); this.c30InANutshellToolStripMenuItem.Name = "c30InANutshellToolStripMenuItem"; this.c30InANutshellToolStripMenuItem.Size = new Size(340, 0x18); this.c30InANutshellToolStripMenuItem.Text = "C# 4.0 in a Nutshell"; this.c30InANutshellToolStripMenuItem.Click += new EventHandler(this.c30InANutshellToolStripMenuItem_Click); this.toolStripMenuItem7.Name = "toolStripMenuItem7"; this.toolStripMenuItem7.Size = new Size(0x151, 6); this.miActivateAutocompletion.Name = "miActivateAutocompletion"; this.miActivateAutocompletion.Size = new Size(340, 0x18); this.miActivateAutocompletion.Text = "Upgrade to LINQPad Pro or Premium..."; this.miActivateAutocompletion.Click += new EventHandler(this.miActivateAutocompletion_Click); this.miManageActivations.Name = "miManageActivations"; this.miManageActivations.Size = new Size(340, 0x18); this.miManageActivations.Text = "Manage Activations..."; this.miManageActivations.Click += new EventHandler(this.miManageActivations_Click); this.miCheckForUpdates.Image = Resources.CheckUpdates; this.miCheckForUpdates.Name = "miCheckForUpdates"; this.miCheckForUpdates.Size = new Size(340, 0x18); this.miCheckForUpdates.Text = "Check For Updates"; this.miCheckForUpdates.Click += new EventHandler(this.miCheckForUpdates_Click); this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new Size(0x151, 6); this.toolStripMenuItem5.Name = "toolStripMenuItem5"; this.toolStripMenuItem5.Size = new Size(340, 0x18); this.toolStripMenuItem5.Text = "&About LINQPad"; this.toolStripMenuItem5.Click += new EventHandler(this.aboutToolStripMenuItem_Click); this.miHideExplorers.Alignment = ToolStripItemAlignment.Right; this.miHideExplorers.DisplayStyle = ToolStripItemDisplayStyle.Image; this.miHideExplorers.Image = Resources.Cross; this.miHideExplorers.ImageScaling = ToolStripItemImageScaling.None; this.miHideExplorers.Name = "miHideExplorers"; this.miHideExplorers.Size = new Size(0x16, 0x17); this.miHideExplorers.Text = "miHideExplorers"; this.miHideExplorers.Click += new EventHandler(this.miHideExplorers_Click); this.tcQueries.Dock = DockStyle.Fill; this.tcQueries.Location = new Point(0, 0x2c); this.tcQueries.Name = "tcQueries"; this.tcQueries.SelectedIndex = 0; this.tcQueries.Size = new Size(790, 0x36a); this.tcQueries.TabIndex = 0; this.tcQueries.SelectedIndexChanged += new EventHandler(this.tcQueries_SelectedIndexChanged); this.panAppMessage.Controls.Add(this.btnRestart); this.panAppMessage.Controls.Add(this.panSpacer1); this.panAppMessage.Controls.Add(this.lblAppMessage); this.panAppMessage.Controls.Add(this.btnCloseAppMsg); this.panAppMessage.Dock = DockStyle.Top; this.panAppMessage.Location = new Point(0, 2); this.panAppMessage.Name = "panAppMessage"; this.panAppMessage.Padding = new Padding(4, 5, 4, 5); this.panAppMessage.Size = new Size(790, 0x2a); this.panAppMessage.TabIndex = 1; this.panAppMessage.Visible = false; this.btnRestart.Dock = DockStyle.Right; this.btnRestart.Location = new Point(0x277, 5); this.btnRestart.Name = "btnRestart"; this.btnRestart.Size = new Size(0x7d, 0x20); this.btnRestart.TabIndex = 3; this.btnRestart.Text = "Restart LINQPad"; this.btnRestart.UseVisualStyleBackColor = true; this.btnRestart.Click += new EventHandler(this.btnRestart_Click); this.panSpacer1.Dock = DockStyle.Right; this.panSpacer1.Location = new Point(0x2f4, 5); this.panSpacer1.Name = "panSpacer1"; this.panSpacer1.Size = new Size(7, 0x20); this.panSpacer1.TabIndex = 2; this.lblAppMessage.Dock = DockStyle.Fill; this.lblAppMessage.Location = new Point(4, 5); this.lblAppMessage.Name = "lblAppMessage"; this.lblAppMessage.Size = new Size(0x2f7, 0x20); this.lblAppMessage.TabIndex = 0; this.lblAppMessage.Text = "A newer version of LINQPad has just been downloaded."; this.lblAppMessage.TextAlign = ContentAlignment.MiddleLeft; this.btnCloseAppMsg.Checked = false; this.btnCloseAppMsg.Dock = DockStyle.Right; this.btnCloseAppMsg.Location = new Point(0x2fb, 5); this.btnCloseAppMsg.Name = "btnCloseAppMsg"; this.btnCloseAppMsg.NoImageScale = false; this.btnCloseAppMsg.Size = new Size(0x17, 0x20); this.btnCloseAppMsg.TabIndex = 4; this.btnCloseAppMsg.Text = "clearButton1"; this.btnCloseAppMsg.ToolTipText = ""; this.btnCloseAppMsg.Click += new EventHandler(this.btnCloseAppMsg_Click); this.editManager.AllowForwarding = true; this.editManager.MenuItemCopy = this.copyToolStripMenuItem; this.editManager.MenuItemCopyMarkdown = this.miCopyMarkdown; this.editManager.MenuItemCopyPlain = this.copyPlainToolStripMenuItem; this.editManager.MenuItemCut = this.cutToolStripMenuItem; this.editManager.MenuItemEdit = this.editToolStripMenuItem; this.editManager.MenuItemPaste = this.pasteToolStripMenuItem; this.editManager.MenuItemRedo = this.redoToolStripMenuItem; this.editManager.MenuItemSelectAll = this.selectAllToolStripMenuItem; this.editManager.MenuItemUndo = this.undoToolStripMenuItem; base.AutoScaleDimensions = new SizeF(7f, 17f); base.AutoScaleMode = AutoScaleMode.Font; base.ClientSize = new Size(0x413, 0x397); base.Controls.Add(this.verticalSplit); base.Location = new Point(0, 0); base.MainMenuStrip = this.mainMenu; base.Margin = new Padding(4); base.Name = "MainForm"; base.StartPosition = FormStartPosition.Manual; this.Text = "LINQPad"; this.verticalSplit.Panel1.ResumeLayout(false); this.verticalSplit.Panel1.PerformLayout(); this.verticalSplit.Panel2.ResumeLayout(false); this.verticalSplit.ResumeLayout(false); this.panLeft.ResumeLayout(false); this.splitLeft.Panel1.ResumeLayout(false); this.splitLeft.Panel2.ResumeLayout(false); this.splitLeft.ResumeLayout(false); this.tcQueryTrees.ResumeLayout(false); this.pagMyQueries.ResumeLayout(false); this.pagMyQueries.PerformLayout(); this.panMyQueryOptions.ResumeLayout(false); this.panMyQueryOptions.PerformLayout(); this.pagSamples.ResumeLayout(false); this.pagSamples.PerformLayout(); this.mainMenu.ResumeLayout(false); this.mainMenu.PerformLayout(); this.panAppMessage.ResumeLayout(false); base.ResumeLayout(false); }