public override void ViewDidLayoutSubviews() { base.ViewDidLayoutSubviews(); // set the search field and refresh button, cause those are known SearchField.Layer.Position = new CGPoint(10, 25); SearchField.ViewDidLayoutSubviews(new CGRect(0, 0, View.Bounds.Width * 0.3375f, View.Bounds.Height)); // position the clear button ClearButton.SizeToFit( ); ClearButton.Bounds = new CGRect(0, 0, ClearButton.Bounds.Width * 2, SearchButton.Bounds.Height); ClearButton.Layer.Position = new CGPoint(SearchField.Frame.Right - ClearButton.Bounds.Width, SearchField.Frame.Bottom + 10); // now set the search button, which will use remaining width SearchButton.Layer.Position = new CGPoint(10, SearchField.Frame.Bottom + 10); SearchButton.Bounds = new CGRect(0, 0, SearchField.Bounds.Width, 0); SearchButton.SizeToFit( ); SearchButton.Frame = new CGRect(10, SearchField.Frame.Bottom + 10, SearchField.Bounds.Width - ClearButton.Bounds.Width - 2, SearchButton.Bounds.Height); // position the 'add family' button AddFamilyButton.Bounds = new CGRect(0, 0, SearchField.Bounds.Width, SearchButton.Bounds.Height); AddFamilyButton.Layer.Position = new CGPoint(SearchButton.Frame.Left, SearchButton.Frame.Bottom + 10); // setup the table view nfloat tableXPos = SearchField.Frame.Right + 10; TableView.Frame = new CGRect(tableXPos, SearchField.Layer.Position.Y, View.Bounds.Width - tableXPos, View.Bounds.Height); TableView.SetNeedsLayout( ); BlockerView.SetBounds(View.Bounds.ToRectF( )); }
void ReleaseDesignerOutlets() { if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (HomeButton != null) { HomeButton.Dispose(); HomeButton = null; } if (MenYappuLabel != null) { MenYappuLabel.Dispose(); MenYappuLabel = null; } if (PaaText != null) { PaaText.Dispose(); PaaText = null; } if (ParseButton != null) { ParseButton.Dispose(); ParseButton = null; } }
private void FilterViewControllerFiltersUnapplied() { LevelsViewController.SetData(_lastPack); if (!SongBrowserTweaks.ModLoaded) { FilterButton.SetButtonText(FilterButtonText); FilterButton.SetButtonTextSize(3f); // if the clear button is shown, then that was pressed to clear filters // therefore, it should currently be highlighted if ((ClearButton as NoTransitionsButton).selectionState == NoTransitionsButton.SelectionState.Highlighted) { ClearButton.SetButtonText(ClearFilterButtonHighlightedText); } else { ClearButton.SetButtonText(ClearFilterButtonText); } } else { SongBrowserTweaks.FiltersUnapplied(); } }
private void Numbers_ClickEvent(object sender, EventArgs e) //void jika salah sati tombol 0-9 ditekan { if (OpClicked) //jika OpClicked== true maka textbox akan ke clear dan OpClicked menjadi false lagi { ClearButton.PerformClick(); //melakukan clickevent clearbutton OpClicked = false; //opclicked menjaid false } Button button = (Button)sender; //mengirim data Button yang di klik ke variable button if (button.Text == ",") //jika desimal { if (TextBoxInput.Text.Contains(",")) //jika di textbox sudah ada desimal maka akan tidak bisa menambah desimal { } else if (TextBoxInput.Text == "") // jika user menginputkan dana ",2" di texbox akan muncul"0,2" { TextBoxInput.Text = "0" + button.Text; //akan menampilkan 0,xxxx } else { TextBoxInput.Text += button.Text;//TextBoxInput.Text += button.Text sama aja TextBoxInput.Text =TextBoxInput.Text + button.Text "+" fungsinya aja inputan sebelumnya tidak terhapus } } else { TextBoxInput.Text += button.Text;//TextBoxInput.Text += button.Text sama aja TextBoxInput.Text =TextBoxInput.Text + button.Text "+" fungsinya aja inputan sebelumnya tidak terhapus } }
/// <summary> /// Unapplies the filters in the FilterViewController, but saves their current status. /// </summary> /// <param name="songBrowserFilterSelected">Used only by the SongBrowser mod. Set this to true when another filter (Favorites/Playlist) was selected.</param> public void UnapplyFilters(bool songBrowserFilterSelected = false) { if (_filterViewController != null) { _filterViewController.UnapplyFilters(false); } if (!SongBrowserTweaks.ModLoaded) { FilterButton.SetButtonText(FilterButtonText); FilterButton.SetButtonTextSize(3f); if ((ClearButton as NoTransitionsButton).selectionState == NoTransitionsButton.SelectionState.Highlighted) { ClearButton.SetButtonText(ClearFilterButtonHighlightedText); } else { ClearButton.SetButtonText(ClearFilterButtonText); } } else if (SongBrowserTweaks.Initialized && !songBrowserFilterSelected) { LevelsViewController.SetData(_lastPack); } }
void ReleaseDesignerOutlets() { if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (FindCarButton != null) { FindCarButton.Dispose(); FindCarButton = null; } if (lblTimer != null) { lblTimer.Dispose(); lblTimer = null; } if (ParkCarButton != null) { ParkCarButton.Dispose(); ParkCarButton = null; } if (ParkingMap != null) { ParkingMap.Dispose(); ParkingMap = null; } }
public void CreateClearButton(Vector2 anchoredPosition, Vector2 sizeDelta, string buttonTemplate = "CancelButton") { if (ClearButton != null || ButtonParentViewController == null) { return; } ClearButton = ButtonParentViewController.CreateUIButton(buttonTemplate, anchoredPosition, sizeDelta, ClearButtonPressed, "Clear\nFilters"); ClearButton.SetButtonTextSize(2.3f); ClearButton.ToggleWordWrapping(false); ClearButton.name = "EnhancedClearFilterButton"; // change colour of text (ClearButton as NoTransitionsButton).selectionStateDidChangeEvent += delegate(NoTransitionsButton.SelectionState selectionState) { var filterApplied = _filterViewController?.IsFilterApplied ?? false; var text = ClearButton.GetComponentInChildren <TextMeshProUGUI>(); if (selectionState == NoTransitionsButton.SelectionState.Highlighted) { text.text = filterApplied ? ClearFilterButtonHighlightedAppliedText : ClearFilterButtonHighlightedText; } else { text.text = filterApplied ? ClearFilterButtonAppliedText : ClearFilterButtonText; } }; Logger.log.Debug("Created clear filter button."); }
void ReleaseDesignerOutlets() { if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (ReadButton != null) { ReadButton.Dispose(); ReadButton = null; } if (ReadText != null) { ReadText.Dispose(); ReadText = null; } if (StatusLabel != null) { StatusLabel.Dispose(); StatusLabel = null; } if (StopButton != null) { StopButton.Dispose(); StopButton = null; } }
private void ClearEntryButton_LostFocus(object sender, RoutedEventArgs e) { if (ClearEntryButton.Visibility == Visibility.Collapsed && ClearButton.Visibility == Visibility.Visible) { ClearButton.Focus(FocusState.Programmatic); } }
void ReleaseDesignerOutlets() { if (CheckAnswerButton != null) { CheckAnswerButton.Dispose(); CheckAnswerButton = null; } if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (ResultTableView != null) { ResultTableView.Dispose(); ResultTableView = null; } if (SampleButton != null) { SampleButton.Dispose(); SampleButton = null; } if (TextWord != null) { TextWord.Dispose(); TextWord = null; } }
private IEnumerable <IDisposable> Init() { yield return(ClearButton .Events() .PreviewMouseUp .Subscribe(_ => ClearAll())); yield return(this .WhenAnyValue(p => p.FilterText.Text) .Subscribe(Console.WriteLine)); var filteredEntries = LogEntries //.Where(this // .WhenAnyValue(p => p.FilterText.Text) // .ObserveOn(this) // .Select(str => fun((LogEntry v) => v.Message.Contains(str))) //) .CreateObservableCollection(EqualityComparer <LogEntry> .Default); yield return(filteredEntries); MainPanel.DataContext = filteredEntries; yield return(Disposable.Create(() => MainPanel.DataContext = null)); }
private void PiConstant(object sender, EventArgs e) //void jika tombol e ditekan { if (OpClicked) //jika OpClicked== true maka textbox akan ke clear dan OpClicked menjadi false lagi { ClearButton.PerformClick(); //melakukan clickevent clearbutton OpClicked = false; //opclicked menjaid false } TextBoxInput.Text = "3,14159265"; // pi=3,14159265 maka ditextbox akan ditampilkan angka tersebut }
void ReleaseDesignerOutlets() { if (BackButton != null) { BackButton.Dispose(); BackButton = null; } if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (CustomerTextField != null) { CustomerTextField.Dispose(); CustomerTextField = null; } if (DestinationTextField != null) { DestinationTextField.Dispose(); DestinationTextField = null; } if (EndDateTextField != null) { EndDateTextField.Dispose(); EndDateTextField = null; } if (ResultTextView != null) { ResultTextView.Dispose(); ResultTextView = null; } if (SearchButton != null) { SearchButton.Dispose(); SearchButton = null; } if (SourceTextField != null) { SourceTextField.Dispose(); SourceTextField = null; } if (StartDateTextField != null) { StartDateTextField.Dispose(); StartDateTextField = null; } }
public void Draw() { spriteBatch.Draw(TraceCardList[index], new Vector2(0, 0), null, Color.White, 0, new Vector2(0, 0), 1f, SpriteEffects.None, 0); HomeButton.Draw(); ArrowRight.Draw(); ArrowLeft.Draw(); ClearButton.Draw(); Drawable.Draw(); }
// DivisionByZero: Determines if the user attempted a division by zero. // Pre: - // Post: If the user attempted a division by zero, a warning is shown and the calculator is reset. private bool DivisionByZero() { if (Input == 0 && Operator == "/") { ClearButton.PerformClick(); MessageBox.Show("Division med noll kan ej genomföras. Miniräknaren nollställs."); return(true); } return(false); }
// AnswerIsInfinity: Determines if the equation resulted in an answer being represented by ∞. // Pre: - // Post: If the result is represented by ∞, a warning is shown and the calculator is reset. private bool AnswerIsInfinity() { if (double.IsInfinity(Result)) { ClearButton.PerformClick(); MessageBox.Show("Uträkningen resulterade i att svaret endast kan representeras som oändligt. Miniräknaren nollställs."); return(true); } return(false); }
private void TakeRichTextBox_TextChanged(object sender, EventArgs e) { if (TakeRichTextBox.Text != "") { ClearButton.Show(); } else { ClearButton.Hide(); } }
public frmGame() { InitializeComponent(); clearButton = new ClearButton(); setPath = new SetPath(); btn2 = new List <Button>(); BGWControlGame = new BackgroundWorker(); BGWControlGame.DoWork += BGWControlGame_DoWork; CheckForIllegalCrossThreadCalls = false; points = new List <Point>(); }
private void CreateTooltips() { ShowErrorToggleButton.SetTooltip(LogViewerCommands.Logging.ToggleErrorInputGesture); ShowWarningToggleButton.SetTooltip(LogViewerCommands.Logging.ToggleWarningInputGesture); ShowInfoToggleButton.SetTooltip(LogViewerCommands.Logging.ToggleInfoInputGesture); ShowDebugToggleButton.SetTooltip(LogViewerCommands.Logging.ToggleDebugInputGesture); EnableTimestampToggleButton.SetTooltip(LogViewerCommands.Logging.ToggleTimestampInputGesture, "Show timestamps"); FilterBox.SetTooltip(LogViewerCommands.Logging.FilterInputGesture); ClearButton.SetTooltip(LogViewerCommands.Logging.ClearInputGesture); CopyButton.SetTooltip(LogViewerCommands.Logging.CopyToClipboardInputGesture); OpenButton.SetTooltip(LogViewerCommands.Logging.OpenInEditorInputGesture); }
//Hotkeys for when the window is in focus private void HotKeys(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Escape) { if (ClickerEnabled == true) { this.ClickerThread.Abort(); ClickerEnabled = false; } Application.Exit(); } if (e.KeyCode == Keys.F8) { ClearButton.PerformClick(); } }
private void FilterViewControllerSetFilteredSongs(IPreviewBeatmapLevel[] levels) { // filter application should be handled by FilterViewController calling stuff in SongBrowserTweaks if (SongBrowserTweaks.Initialized) { return; } BeatmapLevelPack levelPack = new BeatmapLevelPack("", FilteredSongsPackName, LevelsViewController.levelPack.coverImage, new BeatmapLevelCollection(levels)); LevelsViewController.SetData(levelPack); FilterButton.SetButtonText(FilterButtonAppliedText); FilterButton.SetButtonTextSize(2.3f); ClearButton.SetButtonText(ClearFilterButtonAppliedText); }
private void ButtonLoadImage_Click(object sender, RoutedEventArgs e) { OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.Filter = @"All Image Files| *.BMP; *.bmp; *.JPG; *.JPEG *.jpg; *.jpeg; *.PNG; *.png; *.GIF; *.gif; *.tif; *.tiff; *.ico; *.ICO| PNG|*.PNG; *.png|JPEG|*.JPG; *.JPEG *.jpg; *.jpeg|Bitmap|*.BMP; *.bmp|GIF|*.GIF; *.gif|TIF| *.tif; *.tiff|ICO|*.ico; *.ICO"; Nullable <bool> result = openFileDialog.ShowDialog(); if (result == true) { ClearButton.RaiseEvent(new RoutedEventArgs(Button.ClickEvent)); _fileNameImage = openFileDialog.FileName; ImageContainer.Source = this.Image(); } }
void ReleaseDesignerOutlets() { if (Add10MinButton != null) { Add10MinButton.Dispose(); Add10MinButton = null; } if (Add10SecButton != null) { Add10SecButton.Dispose(); Add10SecButton = null; } if (Add1MinButton != null) { Add1MinButton.Dispose(); Add1MinButton = null; } if (Add1SecButton != null) { Add1SecButton.Dispose(); Add1SecButton = null; } if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (RemainingTimeLabel != null) { RemainingTimeLabel.Dispose(); RemainingTimeLabel = null; } if (StartButton != null) { StartButton.Dispose(); StartButton = null; } }
//public DrawTrack(UserControl uc) //{ // closeButton = new ClearButton(uc); // mapLayer = Obj.screenMap.MainMap.CreateMapLayer(); // closeButton.button.Click += (m, n) => // { // Clear(); // }; // Reset(); //} //~DrawTrack() //{ // if(mapLayer!=null) // Obj.screenMap.MainMap.RemoveMapLayer(mapLayer.Id); //} public void Reset(UserControl uc=null) { points.Clear(); if (mapLayer != null) { Obj.screenMap.MainMap.RemoveMapLayer(mapLayer.Id); } mapLayer = Obj.screenMap.MainMap.CreateMapLayer(); mapLayer.ClearSymbolElements(); mapLayer.ClearSlElements(); closeButton = new ClearButton(uc); closeButton.button.Click += (m, n) => { Clear(); }; }
public void LoadData() { ListBox1.Items.Clear(); var tmpdata = My.Settings.LocHistory; count = 0; ret: ; if (tmpdata.Contains("<locinfo>")) { long FirstStart = tmpdata.IndexOf("<locinfo>") + 10; ItemData[count] = Trim(Mid(tmpdata, FirstStart, tmpdata.Substring(FirstStart).IndexOf("</locinfo>") + 1)); tmpdata = Mid(tmpdata, FirstStart, tmpdata.Length); if (getData(ItemData[count], "type") == "station") { ListBox1.Items.Add(getData(ItemData[count], "string") + " (측정소)"); } else { ListBox1.Items.Add(getData(ItemData[count], "string")); } count += 1; goto ret; } if (ListBox1.Items.Count > 0) { ListBox1.SetSelected(0, true); EmptyMsgPanel.Hide(); ClearButton.Show(); } else { EmptyMsg_Upper.Height = EmptyMsgPanel.Height / (double)2; EmptyMsgPanel.Show(); ClearButton.Hide(); } }
void ReleaseDesignerOutlets() { if (AddLayer != null) { AddLayer.Dispose(); AddLayer = null; } if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (InputServiceURL != null) { InputServiceURL.Dispose(); InputServiceURL = null; } }
void ReleaseDesignerOutlets() { if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (DisplayTextField != null) { DisplayTextField.Dispose(); DisplayTextField = null; } if (EqualsButton != null) { EqualsButton.Dispose(); EqualsButton = null; } }
// Calculator_KeyPress: Checks for user input through KeyPresses and performs // the corresponding Click-event for the appropriate button. // Pre: - // Post: The KeyPress-event has been handled and, if there's a match, the appropriate // buttons Click-event has been fired. private void Calculator_KeyPress(object sender, KeyPressEventArgs e) { switch (e.KeyChar) { case '1': OneButton.PerformClick(); break; case '2': TwoButton.PerformClick(); break; case '3': ThreeButton.PerformClick(); break; case '4': FourButton.PerformClick(); break; case '5': FiveButton.PerformClick(); break; case '6': SixButton.PerformClick(); break; case '7': SevenButton.PerformClick(); break; case '8': EightButton.PerformClick(); break; case '9': NineButton.PerformClick(); break; case '0': ZeroButton.PerformClick(); break; case '/': DivideButton.PerformClick(); break; case '*': MultiplyButton.PerformClick(); break; case '-': SubtractButton.PerformClick(); break; case '+': AddButton.PerformClick(); break; case ',': CommaButton.PerformClick(); break; case 'C': ClearButton.PerformClick(); break; case 'c': ClearButton.PerformClick(); break; } e.Handled = true; }
public ConsoleToolbar() { root = Resources.GetTemplate("ConsoleToolbar.uxml"); Add(root); root.StretchToParentSize(); ClearButton.RegisterCallback <MouseDownEvent>(ClearClick); ClearButton.RegisterCallback <MouseUpEvent>(ClearStopClick); MultilineButton.RegisterCallback <MouseDownEvent>(ConsoleExpandToggle); ContextButton.RegisterCallback <MouseDownEvent>(ContextExpandToggle); RunButton.RegisterCallback <MouseDownEvent>(RunClick); RunButton.RegisterCallback <MouseUpEvent>(ClearRunClick); ResetButton.RegisterCallback <MouseUpEvent>(ResetClick); TemplatesDropdown.RegisterCallback <MouseUpEvent>(TemplatesClick); PrivateToggle.RegisterValueChangedCallback(OnPrivateToggle); PrivateToggle.value = State.Instance.ShowPrivate; OnPrivateToggle(null); RefreshConsoleState(); RefreshContextState(); }
void ReleaseDesignerOutlets() { if (ClearButton != null) { ClearButton.Dispose(); ClearButton = null; } if (InformationLabel != null) { InformationLabel.Dispose(); InformationLabel = null; } if (IsHomeTableView != null) { IsHomeTableView.Dispose(); IsHomeTableView = null; } if (PiIDDropBox != null) { PiIDDropBox.Dispose(); PiIDDropBox = null; } if (RenamePiButton != null) { RenamePiButton.Dispose(); RenamePiButton = null; } if (ScanButton != null) { ScanButton.Dispose(); ScanButton = null; } }
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); }
private void InitializeComponent() { this.components = new Container(); Document document = new Document(); ComponentResourceManager manager = new ComponentResourceManager(typeof(QueryControl)); this.splitContainer = new SplitContainer(); this.panEditor = new Panel(); this.panError = new Panel(); this.txtError = new TextBox(); this.panBottom = new Panel(); this.panOutput = new PanelEx(); this.txtSQL = new ActiproSoftware.SyntaxEditor.SyntaxEditor(); this.statusStrip = new StatusStrip(); this.lblStatus = new ToolStripStatusLabel(); this.queryProgressBar = new ToolStripProgressBar(); this.lblExecTime = new ToolStripStatusLabel(); this.lblFill = new ToolStripStatusLabel(); this.lblMiscStatus = new ToolStripStatusLabel(); this.lblUberCancel = new ToolStripStatusLabel(); this.lblElapsed = new ToolStripStatusLabel(); this.lblOptimize = new ToolStripStatusLabel(); this.tsOutput = new ToolStripEx(); this.btnArrange = new ToolStripDropDownButton(); this.miHideResults = new ToolStripMenuItem(); this.miUndock = new ToolStripMenuItem(); this.miArrangeVertical = new ToolStripMenuItem(); this.toolStripMenuItem3 = new ToolStripSeparator(); this.miScrollStart = new ToolStripMenuItem(); this.miScrollEnd = new ToolStripMenuItem(); this.miAutoScroll = new ToolStripMenuItem(); this.toolStripMenuItem4 = new ToolStripSeparator(); this.miKeyboardShortcuts = new ToolStripMenuItem(); this.btnResults = new ToolStripButton(); this.btnLambda = new ToolStripButton(); this.btnSql = new ToolStripButton(); this.btnIL = new ToolStripButton(); this.btnActivateAutocompletion = new ToolStripButton(); this.btnAnalyze = new ToolStripDropDownButton(); this.miOpenSQLQueryNewTab = new ToolStripMenuItem(); this.miOpenInSSMS = new ToolStripMenuItem(); this.btnExport = new ToolStripDropDownButton(); this.btnExportExcelNoFormat = new ToolStripMenuItem(); this.btnExportExcel = new ToolStripMenuItem(); this.toolStripSeparator1 = new ToolStripSeparator(); this.btnExportWordNoFormat = new ToolStripMenuItem(); this.btnExportWord = new ToolStripMenuItem(); this.toolStripMenuItem1 = new ToolStripSeparator(); this.btnExportHtml = new ToolStripMenuItem(); this.btnFormat = new ToolStripDropDownButton(); this.btn1NestingLevel = new ToolStripMenuItem(); this.btn2NestingLevels = new ToolStripMenuItem(); this.btn3NestingLevels = new ToolStripMenuItem(); this.btnAllNestingLevels = new ToolStripMenuItem(); this.toolStripMenuItem2 = new ToolStripSeparator(); this.btnResultFormattingPreferences = new ToolStripMenuItem(); this.lblDb = new Label(); this.cboLanguage = new ComboBox(); this.cboDb = new ComboBox(); this.lblType = new Label(); this.panTopControls = new TableLayoutPanel(); this.btnExecute = new ImageButton(); this.btnCancel = new ImageButton(); this.llDbUseCurrent = new FixedLinkLabel(); this.lblSyncDb = new Label(); this.btnText = new ClearButton(); this.btnGrids = new ClearButton(); this.panTop = new Panel(); this.panCloseButton = new Panel(); this.btnPin = new ClearButton(); this.btnClose = new ClearButton(); this.toolTip = new ToolTip(this.components); this.panMain = new Panel(); this.splitContainer.Panel1.SuspendLayout(); this.splitContainer.Panel2.SuspendLayout(); this.splitContainer.SuspendLayout(); this.panEditor.SuspendLayout(); this.panError.SuspendLayout(); this.panBottom.SuspendLayout(); this.panOutput.SuspendLayout(); this.statusStrip.SuspendLayout(); this.tsOutput.SuspendLayout(); this.panTopControls.SuspendLayout(); this.panTop.SuspendLayout(); this.panCloseButton.SuspendLayout(); this.panMain.SuspendLayout(); base.SuspendLayout(); this.splitContainer.Dock = DockStyle.Fill; this.splitContainer.Location = new Point(0, 0); this.splitContainer.Name = "splitContainer"; this.splitContainer.Orientation = Orientation.Horizontal; this.splitContainer.Panel1.Controls.Add(this.panEditor); this.splitContainer.Panel2.Controls.Add(this.panBottom); this.splitContainer.Size = new Size(0x2cf, 0x192); this.splitContainer.SplitterDistance = 0xc5; this.splitContainer.SplitterWidth = 5; this.splitContainer.TabIndex = 0; this.splitContainer.SplitterMoved += new SplitterEventHandler(this.splitContainer_SplitterMoved); this.panEditor.Controls.Add(this.panError); this.panEditor.Dock = DockStyle.Fill; this.panEditor.Location = new Point(0, 0); this.panEditor.Name = "panEditor"; this.panEditor.Size = new Size(0x2cf, 0xc5); this.panEditor.TabIndex = 4; this.panError.BackColor = SystemColors.Info; this.panError.BorderStyle = BorderStyle.Fixed3D; this.panError.Controls.Add(this.txtError); this.panError.Dock = DockStyle.Top; this.panError.Location = new Point(0, 0); this.panError.Name = "panError"; this.panError.Padding = new Padding(3); this.panError.Size = new Size(0x2cf, 0x27); this.panError.TabIndex = 3; this.panError.Visible = false; this.panError.Layout += new LayoutEventHandler(this.panError_Layout); this.txtError.BackColor = SystemColors.Info; this.txtError.BorderStyle = BorderStyle.None; this.txtError.Dock = DockStyle.Fill; this.txtError.ForeColor = SystemColors.InfoText; this.txtError.Location = new Point(3, 3); this.txtError.Margin = new Padding(2); this.txtError.Multiline = true; this.txtError.Name = "txtError"; this.txtError.ReadOnly = true; this.txtError.Size = new Size(0x2c5, 0x1d); this.txtError.TabIndex = 0; this.panBottom.BorderStyle = BorderStyle.Fixed3D; this.panBottom.Controls.Add(this.panOutput); this.panBottom.Controls.Add(this.statusStrip); this.panBottom.Controls.Add(this.tsOutput); this.panBottom.Dock = DockStyle.Fill; this.panBottom.Location = new Point(0, 0); this.panBottom.Name = "panBottom"; this.panBottom.Size = new Size(0x2cf, 200); this.panBottom.TabIndex = 0; this.panOutput.BorderColor = Color.Empty; this.panOutput.Controls.Add(this.txtSQL); this.panOutput.Dock = DockStyle.Fill; this.panOutput.Location = new Point(0, 0x1a); this.panOutput.Name = "panOutput"; this.panOutput.Size = new Size(0x2cb, 0x92); this.panOutput.TabIndex = 1; this.panOutput.Layout += new LayoutEventHandler(this.panOutput_Layout); this.txtSQL.Dock = DockStyle.Fill; this.txtSQL.set_Document(document); this.txtSQL.set_IndicatorMarginVisible(false); this.txtSQL.Location = new Point(0, 0); this.txtSQL.Margin = new Padding(2); this.txtSQL.Name = "txtSQL"; this.txtSQL.set_ScrollBarType(0); this.txtSQL.Size = new Size(0x2cb, 0x92); this.txtSQL.TabIndex = 0; this.statusStrip.Items.AddRange(new ToolStripItem[] { this.lblStatus, this.queryProgressBar, this.lblExecTime, this.lblFill, this.lblMiscStatus, this.lblUberCancel, this.lblElapsed, this.lblOptimize }); this.statusStrip.Location = new Point(0, 0xac); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new Size(0x2cb, 0x18); this.statusStrip.SizingGrip = false; this.statusStrip.TabIndex = 2; this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new Size(0x2e, 0x13); this.lblStatus.Text = "Ready"; this.queryProgressBar.Name = "queryProgressBar"; this.queryProgressBar.Size = new Size(100, 0x12); this.queryProgressBar.Style = ProgressBarStyle.Marquee; this.queryProgressBar.Visible = false; this.lblExecTime.Name = "lblExecTime"; this.lblExecTime.Size = new Size(0x11, 0x13); this.lblExecTime.Text = " "; this.lblExecTime.Visible = false; this.lblFill.DisplayStyle = ToolStripItemDisplayStyle.Text; this.lblFill.Name = "lblFill"; this.lblFill.Size = new Size(0x7a, 0x13); this.lblFill.Spring = true; this.lblMiscStatus.Alignment = ToolStripItemAlignment.Right; this.lblMiscStatus.DisplayStyle = ToolStripItemDisplayStyle.Text; this.lblMiscStatus.Name = "lblMiscStatus"; this.lblMiscStatus.Size = new Size(0x15, 0x13); this.lblMiscStatus.Text = " "; this.lblMiscStatus.TextAlign = ContentAlignment.MiddleRight; this.lblUberCancel.Alignment = ToolStripItemAlignment.Right; this.lblUberCancel.DisplayStyle = ToolStripItemDisplayStyle.Text; this.lblUberCancel.Name = "lblUberCancel"; this.lblUberCancel.Size = new Size(0x10a, 0x13); this.lblUberCancel.Text = " Press Ctrl+Shift+F5 to cancel all threads "; this.lblUberCancel.TextAlign = ContentAlignment.MiddleRight; this.lblUberCancel.Visible = false; this.lblElapsed.Alignment = ToolStripItemAlignment.Right; this.lblElapsed.DisplayStyle = ToolStripItemDisplayStyle.Text; this.lblElapsed.Name = "lblElapsed"; this.lblElapsed.Size = new Size(0x11, 0x13); this.lblElapsed.Text = " "; this.lblElapsed.TextAlign = ContentAlignment.MiddleRight; this.lblOptimize.BorderSides = ToolStripStatusLabelBorderSides.All; this.lblOptimize.DisplayStyle = ToolStripItemDisplayStyle.Text; this.lblOptimize.ImageScaling = ToolStripItemImageScaling.None; this.lblOptimize.ImageTransparentColor = Color.White; this.lblOptimize.Margin = new Padding(0, 2, 0, 0); this.lblOptimize.Name = "lblOptimize"; this.lblOptimize.Padding = new Padding(2, 0, 0, 0); this.lblOptimize.Size = new Size(0x4e, 0x17); this.lblOptimize.Text = "/optimize+"; this.lblOptimize.MouseHover += new EventHandler(this.lblOptimize_MouseHover); this.lblOptimize.Paint += new PaintEventHandler(this.lblOptimize_Paint); this.lblOptimize.MouseEnter += new EventHandler(this.lblOptimize_MouseEnter); this.lblOptimize.MouseLeave += new EventHandler(this.lblOptimize_MouseLeave); this.lblOptimize.MouseDown += new MouseEventHandler(this.lblOptimize_MouseDown); this.lblOptimize.Click += new EventHandler(this.lblOptimize_Click); this.tsOutput.GripStyle = ToolStripGripStyle.Hidden; this.tsOutput.Items.AddRange(new ToolStripItem[] { this.btnArrange, this.btnResults, this.btnLambda, this.btnSql, this.btnIL, this.btnActivateAutocompletion, this.btnAnalyze, this.btnExport, this.btnFormat }); this.tsOutput.Location = new Point(0, 0); this.tsOutput.Name = "tsOutput"; this.tsOutput.Padding = new Padding(0, 0, 1, 2); this.tsOutput.RenderMode = ToolStripRenderMode.System; this.tsOutput.Size = new Size(0x2cb, 0x1a); this.tsOutput.TabIndex = 0; this.tsOutput.Text = "toolStrip1"; this.tsOutput.MouseEnter += new EventHandler(this.tsOutput_MouseEnter); this.btnArrange.DisplayStyle = ToolStripItemDisplayStyle.Image; this.btnArrange.DropDownItems.AddRange(new ToolStripItem[] { this.miHideResults, this.miUndock, this.miArrangeVertical, this.toolStripMenuItem3, this.miScrollStart, this.miScrollEnd, this.miAutoScroll, this.toolStripMenuItem4, this.miKeyboardShortcuts }); this.btnArrange.Image = Resources.DropArrow; this.btnArrange.ImageScaling = ToolStripItemImageScaling.None; this.btnArrange.Margin = new Padding(0, 1, 3, 2); this.btnArrange.Name = "btnArrange"; this.btnArrange.Padding = new Padding(0, 3, 0, 2); this.btnArrange.ShowDropDownArrow = false; this.btnArrange.Size = new Size(0x12, 0x15); this.btnArrange.DropDownOpening += new EventHandler(this.btnArrange_DropDownOpening); this.miHideResults.Name = "miHideResults"; this.miHideResults.ShortcutKeyDisplayString = "Ctrl+R"; this.miHideResults.Size = new Size(0x142, 0x18); this.miHideResults.Text = "Hide Results Panel"; this.miHideResults.Click += new EventHandler(this.miHideResults_Click); this.miUndock.Name = "miUndock"; this.miUndock.ShortcutKeyDisplayString = "F8"; this.miUndock.Size = new Size(0x142, 0x18); this.miUndock.Text = "Undock Panel into Second Monitor"; this.miUndock.Click += new EventHandler(this.miUndock_Click); this.miArrangeVertical.Name = "miArrangeVertical"; this.miArrangeVertical.ShortcutKeyDisplayString = "Ctrl+F8"; this.miArrangeVertical.Size = new Size(0x142, 0x18); this.miArrangeVertical.Text = "Arrange Panel Vertically"; this.miArrangeVertical.Click += new EventHandler(this.miArrangeVertical_Click); this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new Size(0x13f, 6); this.miScrollStart.Name = "miScrollStart"; this.miScrollStart.ShortcutKeyDisplayString = "Alt+Home"; this.miScrollStart.Size = new Size(0x142, 0x18); this.miScrollStart.Text = "Scroll to Start"; this.miScrollStart.Click += new EventHandler(this.miScrollStart_Click); this.miScrollEnd.Name = "miScrollEnd"; this.miScrollEnd.ShortcutKeyDisplayString = "Alt+End"; this.miScrollEnd.Size = new Size(0x142, 0x18); this.miScrollEnd.Text = "Scroll to End"; this.miScrollEnd.Click += new EventHandler(this.miScrollEnd_Click); this.miAutoScroll.Name = "miAutoScroll"; this.miAutoScroll.ShortcutKeyDisplayString = "Ctrl+Shift+E"; this.miAutoScroll.Size = new Size(0x142, 0x18); this.miAutoScroll.Text = "Auto-Scroll Results to End"; this.miAutoScroll.Click += new EventHandler(this.miAutoScroll_Click); this.toolStripMenuItem4.Name = "toolStripMenuItem4"; this.toolStripMenuItem4.Size = new Size(0x13f, 6); this.miKeyboardShortcuts.Name = "miKeyboardShortcuts"; this.miKeyboardShortcuts.Size = new Size(0x142, 0x18); this.miKeyboardShortcuts.Text = "See more keyboard shortcuts..."; this.miKeyboardShortcuts.Click += new EventHandler(this.miKeyboardShortcuts_Click); this.btnResults.Checked = true; this.btnResults.CheckState = CheckState.Checked; this.btnResults.DisplayStyle = ToolStripItemDisplayStyle.Text; this.btnResults.Image = (Image) manager.GetObject("btnResults.Image"); this.btnResults.ImageTransparentColor = Color.Magenta; this.btnResults.Margin = new Padding(0, 0, 0, 1); this.btnResults.Name = "btnResults"; this.btnResults.Size = new Size(0x38, 0x17); this.btnResults.Text = "&Results"; this.btnResults.Click += new EventHandler(this.btnResults_Click); this.btnLambda.DisplayStyle = ToolStripItemDisplayStyle.Text; this.btnLambda.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, 0); this.btnLambda.Image = (Image) manager.GetObject("btnLambda.Image"); this.btnLambda.ImageTransparentColor = Color.Magenta; this.btnLambda.Margin = new Padding(0, 0, 0, 1); this.btnLambda.Name = "btnLambda"; this.btnLambda.Size = new Size(0x1b, 0x17); this.btnLambda.Text = " λ "; this.btnLambda.Click += new EventHandler(this.btnLambda_Click); this.btnSql.DisplayStyle = ToolStripItemDisplayStyle.Text; this.btnSql.Image = (Image) manager.GetObject("btnSql.Image"); this.btnSql.ImageTransparentColor = Color.Magenta; this.btnSql.Margin = new Padding(0, 0, 0, 1); this.btnSql.Name = "btnSql"; this.btnSql.Size = new Size(0x26, 0x17); this.btnSql.Text = "&SQL"; this.btnSql.Click += new EventHandler(this.btnSql_Click); this.btnIL.DisplayStyle = ToolStripItemDisplayStyle.Text; this.btnIL.Image = (Image) manager.GetObject("btnIL.Image"); this.btnIL.ImageTransparentColor = Color.Magenta; this.btnIL.Margin = new Padding(0, 0, 0, 1); this.btnIL.Name = "btnIL"; this.btnIL.Size = new Size(0x20, 0x17); this.btnIL.Text = " &IL "; this.btnIL.Click += new EventHandler(this.btnIL_Click); this.btnActivateAutocompletion.Alignment = ToolStripItemAlignment.Right; this.btnActivateAutocompletion.DisplayStyle = ToolStripItemDisplayStyle.Text; this.btnActivateAutocompletion.ForeColor = Color.Blue; this.btnActivateAutocompletion.Image = (Image) manager.GetObject("btnActivateAutocompletion.Image"); this.btnActivateAutocompletion.ImageTransparentColor = Color.Magenta; this.btnActivateAutocompletion.Margin = new Padding(5, 0, 0, 0); this.btnActivateAutocompletion.Name = "btnActivateAutocompletion"; this.btnActivateAutocompletion.Size = new Size(0xa4, 0x18); this.btnActivateAutocompletion.Text = "Activate Autocompletion"; this.btnActivateAutocompletion.Click += new EventHandler(this.btnActivateAutocompletion_Click); this.btnAnalyze.Alignment = ToolStripItemAlignment.Right; this.btnAnalyze.DisplayStyle = ToolStripItemDisplayStyle.Text; this.btnAnalyze.DropDownItems.AddRange(new ToolStripItem[] { this.miOpenSQLQueryNewTab, this.miOpenInSSMS }); this.btnAnalyze.Image = (Image) manager.GetObject("btnAnalyze.Image"); this.btnAnalyze.ImageTransparentColor = Color.Magenta; this.btnAnalyze.Margin = new Padding(2, 0, 0, 0); this.btnAnalyze.Name = "btnAnalyze"; this.btnAnalyze.Size = new Size(0x62, 0x18); this.btnAnalyze.Text = "A&nalyze SQL"; this.miOpenSQLQueryNewTab.Image = Resources.New; this.miOpenSQLQueryNewTab.Name = "miOpenSQLQueryNewTab"; this.miOpenSQLQueryNewTab.Size = new Size(0x11d, 0x18); this.miOpenSQLQueryNewTab.Text = "Open as SQL Query in New Tab"; this.miOpenSQLQueryNewTab.Click += new EventHandler(this.miOpenSQLQueryNewTab_Click); this.miOpenInSSMS.Image = Resources.SSMS; this.miOpenInSSMS.Name = "miOpenInSSMS"; this.miOpenInSSMS.Size = new Size(0x11d, 0x18); this.miOpenInSSMS.Text = "Open in SQL Management Studio"; this.miOpenInSSMS.Click += new EventHandler(this.miOpenInSSMS_Click); this.btnExport.Alignment = ToolStripItemAlignment.Right; this.btnExport.DisplayStyle = ToolStripItemDisplayStyle.Text; this.btnExport.DropDownItems.AddRange(new ToolStripItem[] { this.btnExportExcelNoFormat, this.btnExportExcel, this.toolStripSeparator1, this.btnExportWordNoFormat, this.btnExportWord, this.toolStripMenuItem1, this.btnExportHtml }); this.btnExport.ImageTransparentColor = Color.Magenta; this.btnExport.Margin = new Padding(2, 0, 0, 0); this.btnExport.Name = "btnExport"; this.btnExport.Size = new Size(0x3d, 0x18); this.btnExport.Text = "Ex&port"; this.btnExportExcelNoFormat.Image = Resources.Excel; this.btnExportExcelNoFormat.Name = "btnExportExcelNoFormat"; this.btnExportExcelNoFormat.Size = new Size(0x115, 0x18); this.btnExportExcelNoFormat.Text = "Export to Excel"; this.btnExportExcelNoFormat.Click += new EventHandler(this.btnExportExcelNoFormat_Click); this.btnExportExcel.Image = Resources.Excel; this.btnExportExcel.Name = "btnExportExcel"; this.btnExportExcel.Size = new Size(0x115, 0x18); this.btnExportExcel.Text = "Export to Excel With Formatting"; this.btnExportExcel.Click += new EventHandler(this.btnExportExcel_Click); this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new Size(0x112, 6); this.btnExportWordNoFormat.Image = Resources.Word; this.btnExportWordNoFormat.Name = "btnExportWordNoFormat"; this.btnExportWordNoFormat.Size = new Size(0x115, 0x18); this.btnExportWordNoFormat.Text = "Export to Word"; this.btnExportWordNoFormat.Click += new EventHandler(this.btnExportWordNoFormat_Click); this.btnExportWord.Image = Resources.Word; this.btnExportWord.Name = "btnExportWord"; this.btnExportWord.Size = new Size(0x115, 0x18); this.btnExportWord.Text = "Export to Word With Formatting"; this.btnExportWord.Click += new EventHandler(this.btnExportWord_Click); this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new Size(0x112, 6); this.btnExportHtml.Name = "btnExportHtml"; this.btnExportHtml.Size = new Size(0x115, 0x18); this.btnExportHtml.Text = "Export to HTML"; this.btnExportHtml.Click += new EventHandler(this.btnExportHtml_Click); this.btnFormat.Alignment = ToolStripItemAlignment.Right; this.btnFormat.DisplayStyle = ToolStripItemDisplayStyle.Text; this.btnFormat.DropDownItems.AddRange(new ToolStripItem[] { this.btn1NestingLevel, this.btn2NestingLevels, this.btn3NestingLevels, this.btnAllNestingLevels, this.toolStripMenuItem2, this.btnResultFormattingPreferences }); this.btnFormat.ImageTransparentColor = Color.Magenta; this.btnFormat.Margin = new Padding(2, 0, 0, 0); this.btnFormat.Name = "btnFormat"; this.btnFormat.Size = new Size(0x42, 0x18); this.btnFormat.Text = "Format"; this.btn1NestingLevel.Name = "btn1NestingLevel"; this.btn1NestingLevel.ShortcutKeyDisplayString = "Alt+1"; this.btn1NestingLevel.Size = new Size(0x126, 0x18); this.btn1NestingLevel.Text = "Collapse to 1 Nesting Level"; this.btn1NestingLevel.Click += new EventHandler(this.btn1NestingLevel_Click); this.btn2NestingLevels.Name = "btn2NestingLevels"; this.btn2NestingLevels.ShortcutKeyDisplayString = "Alt+2"; this.btn2NestingLevels.Size = new Size(0x126, 0x18); this.btn2NestingLevels.Text = "Collapse to 2 Nesting Levels"; this.btn2NestingLevels.Click += new EventHandler(this.btn2NestingLevels_Click); this.btn3NestingLevels.Name = "btn3NestingLevels"; this.btn3NestingLevels.ShortcutKeyDisplayString = "Alt+3"; this.btn3NestingLevels.Size = new Size(0x126, 0x18); this.btn3NestingLevels.Text = "Collapse to 3 Nesting Levels"; this.btn3NestingLevels.Click += new EventHandler(this.btn3NestingLevels_Click); this.btnAllNestingLevels.Name = "btnAllNestingLevels"; this.btnAllNestingLevels.ShortcutKeyDisplayString = "Alt+0"; this.btnAllNestingLevels.Size = new Size(0x126, 0x18); this.btnAllNestingLevels.Text = "Show All Nesting Levels"; this.btnAllNestingLevels.Click += new EventHandler(this.btnAllNestingLevels_Click); this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new Size(0x123, 6); this.btnResultFormattingPreferences.Name = "btnResultFormattingPreferences"; this.btnResultFormattingPreferences.Size = new Size(0x126, 0x18); this.btnResultFormattingPreferences.Text = "Result Formatting Preferences..."; this.btnResultFormattingPreferences.Click += new EventHandler(this.btnResultFormattingPreferences_Click); this.lblDb.Anchor = AnchorStyles.Left; this.lblDb.AutoSize = true; this.lblDb.Location = new Point(0x151, 6); this.lblDb.Margin = new Padding(0); this.lblDb.Name = "lblDb"; this.lblDb.Size = new Size(60, 15); this.lblDb.TabIndex = 4; this.lblDb.Text = "&Database"; this.lblDb.TextAlign = ContentAlignment.MiddleLeft; this.cboLanguage.Anchor = AnchorStyles.Left; this.cboLanguage.DropDownStyle = ComboBoxStyle.DropDownList; this.cboLanguage.FormattingEnabled = true; this.cboLanguage.Items.AddRange(new object[] { "C# Expression", "C# Statement(s)", "C# Program", "VB Expression", "VB Statement(s)", "VB Program", "SQL", "ESQL", "F# Expression", "F# Program" }); this.cboLanguage.Location = new Point(0xc6, 3); this.cboLanguage.Margin = new Padding(2, 2, 12, 2); this.cboLanguage.Name = "cboLanguage"; this.cboLanguage.Size = new Size(0x69, 0x15); this.cboLanguage.TabIndex = 3; this.cboLanguage.TabStop = false; this.cboLanguage.SelectionChangeCommitted += new EventHandler(this.cboLanguage_SelectionChangeCommitted); this.cboLanguage.Leave += new EventHandler(this.cboType_SelectedIndexChanged); this.cboLanguage.Enter += new EventHandler(this.cboType_Enter); this.cboLanguage.DropDownClosed += new EventHandler(this.cboType_DropDownClosed); this.cboDb.Anchor = AnchorStyles.Right | AnchorStyles.Left; this.cboDb.DropDownStyle = ComboBoxStyle.DropDownList; this.cboDb.FormattingEnabled = true; this.cboDb.Location = new Point(0x18f, 3); this.cboDb.Margin = new Padding(2); this.cboDb.Name = "cboDb"; this.cboDb.Size = new Size(0xbb, 0x15); this.cboDb.TabIndex = 5; this.cboDb.TabStop = false; this.cboDb.Leave += new EventHandler(this.cboDb_SelectedIndexChanged); this.cboDb.Enter += new EventHandler(this.cboDb_Enter); this.cboDb.DropDownClosed += new EventHandler(this.cboDb_DropDownClosed); this.cboDb.DropDown += new EventHandler(this.cboDb_DropDown); this.lblType.Anchor = AnchorStyles.Left; this.lblType.AutoSize = true; this.lblType.Location = new Point(0x7f, 6); this.lblType.Margin = new Padding(2, 0, 0, 0); this.lblType.Name = "lblType"; this.lblType.Padding = new Padding(6, 0, 0, 0); this.lblType.Size = new Size(0x45, 15); this.lblType.TabIndex = 2; this.lblType.Text = "&Language"; this.lblType.TextAlign = ContentAlignment.MiddleLeft; this.panTopControls.AutoSize = true; this.panTopControls.AutoSizeMode = AutoSizeMode.GrowAndShrink; this.panTopControls.ColumnCount = 10; this.panTopControls.ColumnStyles.Add(new ColumnStyle()); this.panTopControls.ColumnStyles.Add(new ColumnStyle()); this.panTopControls.ColumnStyles.Add(new ColumnStyle()); this.panTopControls.ColumnStyles.Add(new ColumnStyle()); this.panTopControls.ColumnStyles.Add(new ColumnStyle()); this.panTopControls.ColumnStyles.Add(new ColumnStyle()); this.panTopControls.ColumnStyles.Add(new ColumnStyle()); this.panTopControls.ColumnStyles.Add(new ColumnStyle()); this.panTopControls.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this.panTopControls.ColumnStyles.Add(new ColumnStyle()); this.panTopControls.Controls.Add(this.btnExecute, 0, 0); this.panTopControls.Controls.Add(this.btnCancel, 1, 0); this.panTopControls.Controls.Add(this.lblDb, 7, 0); this.panTopControls.Controls.Add(this.lblType, 4, 0); this.panTopControls.Controls.Add(this.cboLanguage, 5, 0); this.panTopControls.Controls.Add(this.llDbUseCurrent, 9, 0); this.panTopControls.Controls.Add(this.cboDb, 8, 0); this.panTopControls.Controls.Add(this.lblSyncDb, 6, 0); this.panTopControls.Controls.Add(this.btnText, 2, 0); this.panTopControls.Controls.Add(this.btnGrids, 3, 0); this.panTopControls.Dock = DockStyle.Top; this.panTopControls.Location = new Point(0, 0); this.panTopControls.Margin = new Padding(2); this.panTopControls.Name = "panTopControls"; this.panTopControls.Padding = new Padding(0, 0, 15, 1); this.panTopControls.RowCount = 1; this.panTopControls.RowStyles.Add(new RowStyle()); this.panTopControls.Size = new Size(0x2a3, 0x1d); this.panTopControls.TabIndex = 8; this.btnExecute.Image = Resources.Execute; this.btnExecute.Location = new Point(0, 2); this.btnExecute.Margin = new Padding(0, 2, 1, 2); this.btnExecute.Name = "btnExecute"; this.btnExecute.Size = new Size(30, 0x17); this.btnExecute.TabIndex = 0; this.btnExecute.TabStop = false; this.toolTip.SetToolTip(this.btnExecute, "Execute (F5)"); this.btnExecute.UseVisualStyleBackColor = true; this.btnExecute.Click += new EventHandler(this.btnExecute_Click); this.btnCancel.Enabled = false; this.btnCancel.Image = Resources.Cancel; this.btnCancel.Location = new Point(0x21, 2); this.btnCancel.Margin = new Padding(2); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new Size(30, 0x17); this.btnCancel.TabIndex = 1; this.btnCancel.TabStop = false; this.toolTip.SetToolTip(this.btnCancel, "Cancel (Shift+F5)"); this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new EventHandler(this.btnCancel_Click); this.llDbUseCurrent.Anchor = AnchorStyles.Left; this.llDbUseCurrent.AutoSize = true; this.llDbUseCurrent.Cursor = Cursors.Hand; this.llDbUseCurrent.ForeColor = Color.Blue; this.llDbUseCurrent.Location = new Point(590, 6); this.llDbUseCurrent.Margin = new Padding(2, 0, 0, 0); this.llDbUseCurrent.Name = "llDbUseCurrent"; this.llDbUseCurrent.Size = new Size(70, 15); this.llDbUseCurrent.TabIndex = 6; this.llDbUseCurrent.TabStop = true; this.llDbUseCurrent.Text = "Use current"; this.llDbUseCurrent.TextAlign = ContentAlignment.MiddleLeft; this.llDbUseCurrent.LinkClicked += new EventHandler(this.llDbUseCurrent_LinkClicked); this.lblSyncDb.Anchor = AnchorStyles.Left; this.lblSyncDb.AutoSize = true; this.lblSyncDb.Cursor = Cursors.Hand; this.lblSyncDb.Font = new Font("Wingdings", 10.2f, FontStyle.Regular, GraphicsUnit.Point, 2); this.lblSyncDb.Location = new Point(0x13b, 6); this.lblSyncDb.Margin = new Padding(0, 2, 0, 0); this.lblSyncDb.Name = "lblSyncDb"; this.lblSyncDb.Size = new Size(0x16, 0x11); this.lblSyncDb.TabIndex = 7; this.lblSyncDb.Text = "\x00ef"; this.lblSyncDb.Click += new EventHandler(this.lblSyncDb_Click); this.btnText.Checked = true; this.btnText.Image = Resources.TextResults; this.btnText.Location = new Point(0x4d, 3); this.btnText.Margin = new Padding(12, 3, 0, 2); this.btnText.Name = "btnText"; this.btnText.NoImageScale = false; this.btnText.Size = new Size(0x17, 0x17); this.btnText.TabIndex = 8; this.btnText.TabStop = false; this.toolTip.SetToolTip(this.btnText, "Results to Rich Text (Ctrl+Shift+T)"); this.btnText.ToolTipText = ""; this.btnText.Click += new EventHandler(this.btnText_Click); this.btnGrids.Checked = false; this.btnGrids.Image = Resources.GridResults; this.btnGrids.Location = new Point(100, 3); this.btnGrids.Margin = new Padding(0, 3, 2, 2); this.btnGrids.Name = "btnGrids"; this.btnGrids.NoImageScale = false; this.btnGrids.Size = new Size(0x17, 0x17); this.btnGrids.TabIndex = 9; this.btnGrids.TabStop = false; this.toolTip.SetToolTip(this.btnGrids, "Results to Data Grids (Ctrl+Shift+G)"); this.btnGrids.ToolTipText = ""; this.btnGrids.Click += new EventHandler(this.btnGrids_Click); this.panTop.AutoSize = true; this.panTop.Controls.Add(this.panTopControls); this.panTop.Controls.Add(this.panCloseButton); this.panTop.Dock = DockStyle.Top; this.panTop.Location = new Point(0, 0); this.panTop.Name = "panTop"; this.panTop.Size = new Size(0x2cf, 0x1d); this.panTop.TabIndex = 4; this.panCloseButton.Controls.Add(this.btnPin); this.panCloseButton.Controls.Add(this.btnClose); this.panCloseButton.Dock = DockStyle.Right; this.panCloseButton.Location = new Point(0x2a3, 0); this.panCloseButton.Margin = new Padding(2); this.panCloseButton.Name = "panCloseButton"; this.panCloseButton.Padding = new Padding(0, 3, 2, 4); this.panCloseButton.Size = new Size(0x2c, 0x1d); this.panCloseButton.TabIndex = 9; this.btnPin.Checked = false; this.btnPin.Dock = DockStyle.Left; this.btnPin.Glyph = ButtonGlyph.Pin; this.btnPin.Location = new Point(0, 3); this.btnPin.Margin = new Padding(2); this.btnPin.Name = "btnPin"; this.btnPin.NoImageScale = false; this.btnPin.Size = new Size(20, 0x16); this.btnPin.TabIndex = 1; this.toolTip.SetToolTip(this.btnPin, "Keep query open"); this.btnPin.ToolTipText = ""; this.btnPin.Click += new EventHandler(this.btnPin_Click); this.btnClose.Checked = false; this.btnClose.Dock = DockStyle.Right; this.btnClose.Location = new Point(0x16, 3); this.btnClose.Margin = new Padding(2); this.btnClose.Name = "btnClose"; this.btnClose.NoImageScale = false; this.btnClose.Size = new Size(20, 0x16); this.btnClose.TabIndex = 0; this.toolTip.SetToolTip(this.btnClose, "Close query (Ctrl+F4)"); this.btnClose.ToolTipText = ""; this.btnClose.Click += new EventHandler(this.btnClose_Click); this.panMain.Controls.Add(this.splitContainer); this.panMain.Dock = DockStyle.Fill; this.panMain.Location = new Point(0, 0x1d); this.panMain.Name = "panMain"; this.panMain.Size = new Size(0x2cf, 0x192); this.panMain.TabIndex = 3; base.AutoScaleDimensions = new SizeF(6f, 13f); base.AutoScaleMode = AutoScaleMode.Font; this.BackColor = Color.Transparent; base.Controls.Add(this.panMain); base.Controls.Add(this.panTop); base.Name = "QueryControl"; base.Size = new Size(0x2cf, 0x1af); this.splitContainer.Panel1.ResumeLayout(false); this.splitContainer.Panel2.ResumeLayout(false); this.splitContainer.ResumeLayout(false); this.panEditor.ResumeLayout(false); this.panError.ResumeLayout(false); this.panError.PerformLayout(); this.panBottom.ResumeLayout(false); this.panBottom.PerformLayout(); this.panOutput.ResumeLayout(false); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.tsOutput.ResumeLayout(false); this.tsOutput.PerformLayout(); this.panTopControls.ResumeLayout(false); this.panTopControls.PerformLayout(); this.panTop.ResumeLayout(false); this.panTop.PerformLayout(); this.panCloseButton.ResumeLayout(false); this.panMain.ResumeLayout(false); base.ResumeLayout(false); base.PerformLayout(); }