public ToolStripContainer() { SetStyle(ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor, true); SuspendLayout(); try { // undone - smart demand creation topPanel = new ToolStripPanel(this); bottomPanel = new ToolStripPanel(this); leftPanel = new ToolStripPanel(this); rightPanel = new ToolStripPanel(this); contentPanel = new ToolStripContentPanel(); contentPanel.Dock = DockStyle.Fill; topPanel.Dock = DockStyle.Top; bottomPanel.Dock = DockStyle.Bottom; rightPanel.Dock = DockStyle.Right; leftPanel.Dock = DockStyle.Left; ToolStripContainerTypedControlCollection controlCollection = this.Controls as ToolStripContainerTypedControlCollection; if (controlCollection != null) { controlCollection.AddInternal(contentPanel); controlCollection.AddInternal(leftPanel); controlCollection.AddInternal(rightPanel); controlCollection.AddInternal(topPanel); controlCollection.AddInternal(bottomPanel); } // else consider throw new exception } finally { ResumeLayout(true); } }
public ToolStripContainer () : base () { SetStyle (ControlStyles.SupportsTransparentBackColor, true); SetStyle (ControlStyles.ResizeRedraw, true); content_panel = new ToolStripContentPanel (); content_panel.Dock = DockStyle.Fill; this.Controls.Add (content_panel); this.top_panel = new ToolStripPanel (); this.top_panel.Dock = DockStyle.Top; this.top_panel.Height = 0; this.Controls.Add (top_panel); this.bottom_panel = new ToolStripPanel (); this.bottom_panel.Dock = DockStyle.Bottom; this.bottom_panel.Height = 0; this.Controls.Add (bottom_panel); this.left_panel = new ToolStripPanel (); this.left_panel.Dock = DockStyle.Left; this.left_panel.Width = 0; this.Controls.Add (left_panel); this.right_panel = new ToolStripPanel (); this.right_panel.Dock = DockStyle.Right; this.right_panel.Width = 0; this.Controls.Add (right_panel); }
public void Constructor () { ToolStripContentPanel tsp = new ToolStripContentPanel (); Assert.AreEqual (SystemColors.Control, tsp.BackColor, "A1"); Assert.AreEqual ("System.Windows.Forms.ToolStripSystemRenderer", tsp.Renderer.ToString (), "A2"); Assert.AreEqual (ToolStripRenderMode.System, tsp.RenderMode, "A3"); }
public void PropertyBackColor () { ToolStripContentPanel tsp = new ToolStripContentPanel (); EventWatcher ew = new EventWatcher (tsp); tsp.BackColor = Color.Green; Assert.AreEqual (Color.Green, tsp.BackColor, "B1"); Assert.AreEqual (string.Empty, ew.ToString (), "B2"); ew.Clear (); tsp.BackColor = Color.Green; Assert.AreEqual (string.Empty, ew.ToString (), "B3"); }
public void PropertyRenderer () { ToolStripContentPanel tsp = new ToolStripContentPanel (); EventWatcher ew = new EventWatcher (tsp); ToolStripProfessionalRenderer pr = new ToolStripProfessionalRenderer (); tsp.Renderer = pr; Assert.AreSame (pr, tsp.Renderer, "B1"); Assert.AreEqual (ToolStripRenderMode.Custom, tsp.RenderMode, "B1-2"); // I refuse to call the event twice like .Net does. //Assert.AreEqual ("RendererChanged;RendererChanged", ew.ToString (), "B2"); ew.Clear (); tsp.Renderer = pr; //Assert.AreEqual (string.Empty, ew.ToString (), "B3"); }
public __ToolStripContainer() { // Uncaught Error: HTML element has not been set for this control. this.TopToolStripPanel = new ToolStripPanel { // size to content? Height = 25, Dock = DockStyle.Top, //BackColor = global::System.Drawing.Color.Red }; this.TopToolStripPanel.ControlAdded += (sender, args) => { // we do not yet support autosize nor dragging! args.Control.Dock = DockStyle.Top; }; this.ContentPanel = new ToolStripContentPanel { Left = 0, // css position absolute Top = 25 }; this.Controls.Add(this.TopToolStripPanel); this.Controls.Add(this.ContentPanel); //this.TopToolStripPanel.GetHTMLTarget().AttachTo(this.InternalElement); //this.ContentPanel.GetHTMLTarget().AttachTo(this.InternalElement); }
/// <summary> /// This class represents all the information to render the toolStrip /// </summary> public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { Graphics = g; ToolStripContentPanel = contentPanel; }
public void PropertyRenderMode () { ToolStripContentPanel tsp = new ToolStripContentPanel (); EventWatcher ew = new EventWatcher (tsp); tsp.RenderMode = ToolStripRenderMode.ManagerRenderMode; Assert.AreEqual (ToolStripRenderMode.ManagerRenderMode, tsp.RenderMode, "B1"); // I refuse to call the event twice like .Net does. //Assert.AreEqual ("RendererChanged;RendererChanged", ew.ToString (), "B2"); ew.Clear (); tsp.RenderMode = ToolStripRenderMode.ManagerRenderMode; Assert.AreEqual (string.Empty, ew.ToString (), "B3"); }
/// <include file='doc\ToolStripRenderer.uex' path='docs/doc[@for="ToolStripRenderer.Initialize"]/*' /> protected internal virtual void InitializeContentPanel(ToolStripContentPanel contentPanel) { }
public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { throw null; }
public void TestBindingToToolStripContentPanel() { ToolStripContentPanel control = new ToolStripContentPanel(); IBusinessObject obj = new BusinessObject(); using(BindingScope scope = new BindingScope()) { IBusinessObject bindableSource = scope.CreateSource(obj); if(control is Control) ((Control)control).CreateControl(); control.BindingContext = new BindingContext(); ToolStripContentPanel bindableTarget = scope.CreateTarget(control); int dataBindingsBeforeName = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.Name); Assert.AreEqual(dataBindingsBeforeName + 1, control.DataBindings.Count); Assert.AreEqual(control.Name, obj.Name); obj.ChangeName(); Assert.AreEqual(control.Name, obj.Name); int dataBindingsBeforeTabIndex = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.TabIndex); Assert.AreEqual(dataBindingsBeforeTabIndex + 1, control.DataBindings.Count); Assert.AreEqual(control.TabIndex, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.TabIndex, obj.IntValue); int dataBindingsBeforeText = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.Text); Assert.AreEqual(dataBindingsBeforeText + 1, control.DataBindings.Count); Assert.AreEqual(control.Text, obj.Name); obj.ChangeName(); Assert.AreEqual(control.Text, obj.Name); int dataBindingsBeforeAccessibleDefaultActionDescription = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleDefaultActionDescription); Assert.AreEqual(dataBindingsBeforeAccessibleDefaultActionDescription + 1, control.DataBindings.Count); Assert.AreEqual(control.AccessibleDefaultActionDescription, obj.Name); obj.ChangeName(); Assert.AreEqual(control.AccessibleDefaultActionDescription, obj.Name); int dataBindingsBeforeAccessibleDescription = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleDescription); Assert.AreEqual(dataBindingsBeforeAccessibleDescription + 1, control.DataBindings.Count); Assert.AreEqual(control.AccessibleDescription, obj.Name); obj.ChangeName(); Assert.AreEqual(control.AccessibleDescription, obj.Name); int dataBindingsBeforeAccessibleName = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleName); Assert.AreEqual(dataBindingsBeforeAccessibleName + 1, control.DataBindings.Count); Assert.AreEqual(control.AccessibleName, obj.Name); obj.ChangeName(); Assert.AreEqual(control.AccessibleName, obj.Name); int dataBindingsBeforeHeight = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Height); Assert.AreEqual(dataBindingsBeforeHeight + 1, control.DataBindings.Count); Assert.AreEqual(control.Height, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Height, obj.IntValue); int dataBindingsBeforeLeft = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Left); Assert.AreEqual(dataBindingsBeforeLeft + 1, control.DataBindings.Count); Assert.AreEqual(control.Left, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Left, obj.IntValue); int dataBindingsBeforeTop = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Top); Assert.AreEqual(dataBindingsBeforeTop + 1, control.DataBindings.Count); Assert.AreEqual(control.Top, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Top, obj.IntValue); int dataBindingsBeforeWidth = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Width); Assert.AreEqual(dataBindingsBeforeWidth + 1, control.DataBindings.Count); Assert.AreEqual(control.Width, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Width, obj.IntValue); } }
public EventWatcher (ToolStripContentPanel tsp) { tsp.Load += new EventHandler (delegate (Object obj, EventArgs e) { events += ("Load;"); }); tsp.RendererChanged += new EventHandler (delegate (Object obj, EventArgs e) { events += ("RendererChanged;"); }); }
public void TestToolStripContentPanelRenderEventArgs() { Graphics g = Graphics.FromImage (new Bitmap (5, 5)); ToolStripContentPanel tscp = new ToolStripContentPanel(); ToolStripContentPanelRenderEventArgs e = new ToolStripContentPanelRenderEventArgs(g, tscp); Assert.AreEqual (g, e.Graphics, "BBB1"); Assert.AreEqual (false, e.Handled, "BBB2"); Assert.AreEqual (tscp, e.ToolStripContentPanel, "BBB3"); e.Handled = true; Assert.AreEqual (true, e.Handled, "BBB4"); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.ctxMenuLog = new System.Windows.Forms.ContextMenuStrip(this.components); this.ctxMenuItemCopy = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator(); this.insertMarkToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator21 = new System.Windows.Forms.ToolStripSeparator(); this.mnuTrainHide = new System.Windows.Forms.ToolStripMenuItem(); this.mnuTrainShow = new System.Windows.Forms.ToolStripMenuItem(); this.ctxMenuSelected = new System.Windows.Forms.ContextMenuStrip(this.components); this.copyToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.editFileToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.SelectionTimer = new System.Windows.Forms.Timer(this.components); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuItem12 = new System.Windows.Forms.ToolStripMenuItem(); this.BottomToolStripPanel = new System.Windows.Forms.ToolStripPanel(); this.TopToolStripPanel = new System.Windows.Forms.ToolStripPanel(); this.RightToolStripPanel = new System.Windows.Forms.ToolStripPanel(); this.LeftToolStripPanel = new System.Windows.Forms.ToolStripPanel(); this.ContentPanel = new System.Windows.Forms.ToolStripContentPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.btnClear = new System.Windows.Forms.Button(); this.btnFindPrevious = new System.Windows.Forms.Button(); this.lblLoop = new System.Windows.Forms.Label(); this.btnFind = new System.Windows.Forms.Button(); this.btnFindAll = new System.Windows.Forms.Button(); this.btnCloseFind = new System.Windows.Forms.Button(); this.lblError = new System.Windows.Forms.Label(); this.tbFind = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.tbFilterString = new System.Windows.Forms.TextBox(); this.cbFilterOn = new System.Windows.Forms.CheckBox(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.lblShowLastError = new System.Windows.Forms.Label(); this.lblShowErrors = new System.Windows.Forms.Label(); this.lblClear = new System.Windows.Forms.Label(); this.panel6 = new System.Windows.Forms.Panel(); this.btnApplyFilter = new System.Windows.Forms.Button(); this.lblPause = new System.Windows.Forms.Label(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPageLog = new System.Windows.Forms.TabPage(); this.splitContainerMain = new System.Windows.Forms.SplitContainer(); this.lbLog = new QuailControls.ColorListBox(); this.splitContainerBottom = new System.Windows.Forms.SplitContainer(); this.tbSelected = new System.Windows.Forms.TextBox(); this.lstResults = new System.Windows.Forms.ListBox(); this.tabPageQuery = new System.Windows.Forms.TabPage(); this.panel5 = new System.Windows.Forms.Panel(); this.tbQuery = new System.Windows.Forms.TextBox(); this.panel4 = new System.Windows.Forms.Panel(); this.btnSaveGrid = new System.Windows.Forms.Button(); this.btnSaveSQL = new System.Windows.Forms.Button(); this.btnOpenSQL = new System.Windows.Forms.Button(); this.lblNotes = new System.Windows.Forms.Label(); this.cbQueryType = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.btnExecuteQuery = new System.Windows.Forms.Button(); this.splitterQueryResults = new System.Windows.Forms.Splitter(); this.panelQueryResults = new System.Windows.Forms.Panel(); this.dgvResults = new System.Windows.Forms.DataGridView(); this.tabAdvancedOptions = new System.Windows.Forms.TabPage(); this.panelBayesianFilter = new System.Windows.Forms.Panel(); this.panel7 = new System.Windows.Forms.Panel(); this.cbTimeSlice = new System.Windows.Forms.CheckBox(); this.dtTimeSliceEnd = new System.Windows.Forms.DateTimePicker(); this.dtTimeSliceStart = new System.Windows.Forms.DateTimePicker(); this.cbShowSelected = new System.Windows.Forms.CheckBox(); this.lblBayesionScore = new System.Windows.Forms.Label(); this.cbBayesian = new System.Windows.Forms.CheckBox(); this.panelTransparency = new System.Windows.Forms.Panel(); this.label3 = new System.Windows.Forms.Label(); this.panelSlider = new System.Windows.Forms.Panel(); this.tbTransparency = new System.Windows.Forms.TrackBar(); this.tabPageHelp = new System.Windows.Forms.TabPage(); this.webBrowser1 = new System.Windows.Forms.WebBrowser(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openDefaultToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.mnuRecentFiles = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.markToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); this.editFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.findAllToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.viewLastErrorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.showAllErrorsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.pauseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.transparencyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.clearToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator20 = new System.Windows.Forms.ToolStripSeparator(); this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.windowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tileTop3rdToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tileBottom3rdToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.tileBottomHalfToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.fullscreenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.ctxMenuLog.SuspendLayout(); this.ctxMenuSelected.SuspendLayout(); this.contextMenuStrip1.SuspendLayout(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); this.panel6.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPageLog.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerMain)).BeginInit(); this.splitContainerMain.Panel1.SuspendLayout(); this.splitContainerMain.Panel2.SuspendLayout(); this.splitContainerMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerBottom)).BeginInit(); this.splitContainerBottom.Panel1.SuspendLayout(); this.splitContainerBottom.Panel2.SuspendLayout(); this.splitContainerBottom.SuspendLayout(); this.tabPageQuery.SuspendLayout(); this.panel5.SuspendLayout(); this.panel4.SuspendLayout(); this.panelQueryResults.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvResults)).BeginInit(); this.tabAdvancedOptions.SuspendLayout(); this.panelBayesianFilter.SuspendLayout(); this.panel7.SuspendLayout(); this.panelTransparency.SuspendLayout(); this.panelSlider.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbTransparency)).BeginInit(); this.tabPageHelp.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.toolStripContainer1.ContentPanel.SuspendLayout(); this.toolStripContainer1.SuspendLayout(); this.SuspendLayout(); // // ctxMenuLog // this.ctxMenuLog.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ctxMenuItemCopy, this.toolStripMenuItem2, this.toolStripSeparator15, this.insertMarkToolStripMenuItem, this.toolStripSeparator9, this.toolStripMenuItem3, this.toolStripSeparator10, this.toolStripMenuItem4, this.toolStripSeparator11, this.toolStripMenuItem5, this.toolStripSeparator21, this.mnuTrainHide, this.mnuTrainShow}); this.ctxMenuLog.Name = "ctxMenuLog"; this.ctxMenuLog.Size = new System.Drawing.Size(304, 210); // // ctxMenuItemCopy // this.ctxMenuItemCopy.Name = "ctxMenuItemCopy"; this.ctxMenuItemCopy.Size = new System.Drawing.Size(303, 22); this.ctxMenuItemCopy.Text = "Copy"; this.ctxMenuItemCopy.Click += new System.EventHandler(this.toolStripMenuItem1_Click); // // toolStripMenuItem2 // this.toolStripMenuItem2.Name = "toolStripMenuItem2"; this.toolStripMenuItem2.Size = new System.Drawing.Size(303, 22); this.toolStripMenuItem2.Text = "Copy Without Blanks"; this.toolStripMenuItem2.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); // // toolStripSeparator15 // this.toolStripSeparator15.Name = "toolStripSeparator15"; this.toolStripSeparator15.Size = new System.Drawing.Size(300, 6); // // insertMarkToolStripMenuItem // this.insertMarkToolStripMenuItem.Name = "insertMarkToolStripMenuItem"; this.insertMarkToolStripMenuItem.Size = new System.Drawing.Size(303, 22); this.insertMarkToolStripMenuItem.Text = "Insert &Mark"; this.insertMarkToolStripMenuItem.Click += new System.EventHandler(this.insertMarkToolStripMenuItem_Click); // // toolStripSeparator9 // this.toolStripSeparator9.Name = "toolStripSeparator9"; this.toolStripSeparator9.Size = new System.Drawing.Size(300, 6); // // toolStripMenuItem3 // this.toolStripMenuItem3.Name = "toolStripMenuItem3"; this.toolStripMenuItem3.Size = new System.Drawing.Size(303, 22); this.toolStripMenuItem3.Text = "Clear"; this.toolStripMenuItem3.Click += new System.EventHandler(this.clearToolStripMenuItem_Click); // // toolStripSeparator10 // this.toolStripSeparator10.Name = "toolStripSeparator10"; this.toolStripSeparator10.Size = new System.Drawing.Size(300, 6); // // toolStripMenuItem4 // this.toolStripMenuItem4.Name = "toolStripMenuItem4"; this.toolStripMenuItem4.Size = new System.Drawing.Size(303, 22); this.toolStripMenuItem4.Text = "Toggle Pause"; this.toolStripMenuItem4.Click += new System.EventHandler(this.pauseToolStripMenuItem_Click); // // toolStripSeparator11 // this.toolStripSeparator11.Name = "toolStripSeparator11"; this.toolStripSeparator11.Size = new System.Drawing.Size(300, 6); // // toolStripMenuItem5 // this.toolStripMenuItem5.Name = "toolStripMenuItem5"; this.toolStripMenuItem5.Size = new System.Drawing.Size(303, 22); this.toolStripMenuItem5.Text = "View Last Error"; this.toolStripMenuItem5.Click += new System.EventHandler(this.viewLastErrorToolStripMenuItem_Click); // // toolStripSeparator21 // this.toolStripSeparator21.Name = "toolStripSeparator21"; this.toolStripSeparator21.Size = new System.Drawing.Size(300, 6); // // mnuTrainHide // this.mnuTrainHide.Name = "mnuTrainHide"; this.mnuTrainHide.Size = new System.Drawing.Size(303, 22); this.mnuTrainHide.Text = "Train to Hide Selected Text (Bayesian Filter)"; this.mnuTrainHide.Click += new System.EventHandler(this.mnuTrainHide_Click); // // mnuTrainShow // this.mnuTrainShow.Name = "mnuTrainShow"; this.mnuTrainShow.Size = new System.Drawing.Size(303, 22); this.mnuTrainShow.Text = "Train to Show Selected Text (Bayesian Filter)"; this.mnuTrainShow.Click += new System.EventHandler(this.mnuTrainShow_Click); // // ctxMenuSelected // this.ctxMenuSelected.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.copyToolStripMenuItem1, this.toolStripSeparator8, this.editFileToolStripMenuItem1}); this.ctxMenuSelected.Name = "ctxMenuSelected"; this.ctxMenuSelected.Size = new System.Drawing.Size(116, 54); // // copyToolStripMenuItem1 // this.copyToolStripMenuItem1.Name = "copyToolStripMenuItem1"; this.copyToolStripMenuItem1.Size = new System.Drawing.Size(115, 22); this.copyToolStripMenuItem1.Text = "Copy"; this.copyToolStripMenuItem1.Click += new System.EventHandler(this.copyToolStripMenuItem1_Click); // // toolStripSeparator8 // this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(112, 6); // // editFileToolStripMenuItem1 // this.editFileToolStripMenuItem1.Name = "editFileToolStripMenuItem1"; this.editFileToolStripMenuItem1.Size = new System.Drawing.Size(115, 22); this.editFileToolStripMenuItem1.Text = "Edit File"; this.editFileToolStripMenuItem1.Click += new System.EventHandler(this.editFileToolStripMenuItem1_Click); // // SelectionTimer // this.SelectionTimer.Interval = 500; this.SelectionTimer.Tick += new System.EventHandler(this.SelectionTimer_Tick); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem6, this.toolStripSeparator16, this.toolStripMenuItem12}); this.contextMenuStrip1.Name = "ctxMenuSelected"; this.contextMenuStrip1.Size = new System.Drawing.Size(116, 54); // // toolStripMenuItem6 // this.toolStripMenuItem6.Name = "toolStripMenuItem6"; this.toolStripMenuItem6.Size = new System.Drawing.Size(115, 22); this.toolStripMenuItem6.Text = "Copy"; // // toolStripSeparator16 // this.toolStripSeparator16.Name = "toolStripSeparator16"; this.toolStripSeparator16.Size = new System.Drawing.Size(112, 6); // // toolStripMenuItem12 // this.toolStripMenuItem12.Name = "toolStripMenuItem12"; this.toolStripMenuItem12.Size = new System.Drawing.Size(115, 22); this.toolStripMenuItem12.Text = "Edit File"; // // BottomToolStripPanel // this.BottomToolStripPanel.Location = new System.Drawing.Point(0, 0); this.BottomToolStripPanel.Name = "BottomToolStripPanel"; this.BottomToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal; this.BottomToolStripPanel.RowMargin = new System.Windows.Forms.Padding(3, 0, 0, 0); this.BottomToolStripPanel.Size = new System.Drawing.Size(0, 0); // // TopToolStripPanel // this.TopToolStripPanel.BackColor = System.Drawing.Color.Red; this.TopToolStripPanel.Location = new System.Drawing.Point(0, 0); this.TopToolStripPanel.Name = "TopToolStripPanel"; this.TopToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal; this.TopToolStripPanel.RowMargin = new System.Windows.Forms.Padding(3, 0, 0, 0); this.TopToolStripPanel.Size = new System.Drawing.Size(0, 0); // // RightToolStripPanel // this.RightToolStripPanel.Location = new System.Drawing.Point(0, 0); this.RightToolStripPanel.Name = "RightToolStripPanel"; this.RightToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal; this.RightToolStripPanel.RowMargin = new System.Windows.Forms.Padding(3, 0, 0, 0); this.RightToolStripPanel.Size = new System.Drawing.Size(0, 0); // // LeftToolStripPanel // this.LeftToolStripPanel.Location = new System.Drawing.Point(0, 0); this.LeftToolStripPanel.Name = "LeftToolStripPanel"; this.LeftToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal; this.LeftToolStripPanel.RowMargin = new System.Windows.Forms.Padding(3, 0, 0, 0); this.LeftToolStripPanel.Size = new System.Drawing.Size(0, 0); // // ContentPanel // this.ContentPanel.AutoScroll = true; this.ContentPanel.Size = new System.Drawing.Size(727, 428); // // panel1 // this.panel1.Controls.Add(this.btnClear); this.panel1.Controls.Add(this.btnFindPrevious); this.panel1.Controls.Add(this.lblLoop); this.panel1.Controls.Add(this.btnFind); this.panel1.Controls.Add(this.btnFindAll); this.panel1.Controls.Add(this.btnCloseFind); this.panel1.Controls.Add(this.lblError); this.panel1.Controls.Add(this.tbFind); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 379); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(1026, 28); this.panel1.TabIndex = 1; this.panel1.Visible = false; // // btnClear // this.btnClear.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClear.Location = new System.Drawing.Point(358, 3); this.btnClear.Name = "btnClear"; this.btnClear.Size = new System.Drawing.Size(41, 23); this.btnClear.TabIndex = 8; this.btnClear.Text = "Clear"; this.btnClear.UseVisualStyleBackColor = true; this.btnClear.Click += new System.EventHandler(this.btnClear_Click); // // btnFindPrevious // this.btnFindPrevious.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnFindPrevious.Location = new System.Drawing.Point(214, 3); this.btnFindPrevious.Name = "btnFindPrevious"; this.btnFindPrevious.Size = new System.Drawing.Size(57, 23); this.btnFindPrevious.TabIndex = 7; this.btnFindPrevious.Text = "Previous"; this.btnFindPrevious.Click += new System.EventHandler(this.btnFindPrevious_Click); // // lblLoop // this.lblLoop.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblLoop.ForeColor = System.Drawing.Color.Navy; this.lblLoop.Location = new System.Drawing.Point(595, 8); this.lblLoop.Name = "lblLoop"; this.lblLoop.Size = new System.Drawing.Size(184, 23); this.lblLoop.TabIndex = 6; this.lblLoop.Text = "Loop"; this.lblLoop.Visible = false; // // btnFind // this.btnFind.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnFind.Location = new System.Drawing.Point(170, 3); this.btnFind.Name = "btnFind"; this.btnFind.Size = new System.Drawing.Size(38, 23); this.btnFind.TabIndex = 5; this.btnFind.Text = "Next"; this.btnFind.Click += new System.EventHandler(this.btnFind_Click); // // btnFindAll // this.btnFindAll.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnFindAll.Location = new System.Drawing.Point(277, 3); this.btnFindAll.Name = "btnFindAll"; this.btnFindAll.Size = new System.Drawing.Size(75, 23); this.btnFindAll.TabIndex = 4; this.btnFindAll.Text = "Highlight All"; this.btnFindAll.Click += new System.EventHandler(this.btnFindAll_Click); this.btnFindAll.KeyDown += new System.Windows.Forms.KeyEventHandler(this.btnFindAll_KeyDown); // // btnCloseFind // this.btnCloseFind.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCloseFind.ForeColor = System.Drawing.Color.Red; this.btnCloseFind.Location = new System.Drawing.Point(3, 5); this.btnCloseFind.Name = "btnCloseFind"; this.btnCloseFind.Size = new System.Drawing.Size(21, 20); this.btnCloseFind.TabIndex = 3; this.btnCloseFind.Text = "X"; this.btnCloseFind.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCloseFind.Click += new System.EventHandler(this.btnCloseFind_Click); // // lblError // this.lblError.AutoSize = true; this.lblError.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblError.ForeColor = System.Drawing.Color.Red; this.lblError.Location = new System.Drawing.Point(571, 8); this.lblError.Name = "lblError"; this.lblError.Size = new System.Drawing.Size(67, 13); this.lblError.TabIndex = 2; this.lblError.Text = "Search Error"; this.lblError.Visible = false; // // tbFind // this.tbFind.Location = new System.Drawing.Point(64, 5); this.tbFind.Name = "tbFind"; this.tbFind.Size = new System.Drawing.Size(100, 20); this.tbFind.TabIndex = 1; this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(35, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(31, 13); this.label1.TabIndex = 0; this.label1.Text = "Find:"; // // tbFilterString // this.tbFilterString.Location = new System.Drawing.Point(62, 32); this.tbFilterString.Name = "tbFilterString"; this.tbFilterString.Size = new System.Drawing.Size(100, 20); this.tbFilterString.TabIndex = 10; this.toolTip1.SetToolTip(this.tbFilterString, "Regex can be used in filter..."); this.tbFilterString.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFilterString_KeyDown); // // cbFilterOn // this.cbFilterOn.AutoSize = true; this.cbFilterOn.Location = new System.Drawing.Point(12, 32); this.cbFilterOn.Name = "cbFilterOn"; this.cbFilterOn.Size = new System.Drawing.Size(51, 17); this.cbFilterOn.TabIndex = 9; this.cbFilterOn.Text = "Filter:"; this.cbFilterOn.UseVisualStyleBackColor = true; this.cbFilterOn.CheckedChanged += new System.EventHandler(this.cbFilterOn_CheckedChanged); // // panel2 // this.panel2.Controls.Add(this.panel3); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1026, 379); this.panel2.TabIndex = 2; // // panel3 // this.panel3.Controls.Add(this.lblShowLastError); this.panel3.Controls.Add(this.lblShowErrors); this.panel3.Controls.Add(this.lblClear); this.panel3.Controls.Add(this.panel6); this.panel3.Controls.Add(this.lblPause); this.panel3.Controls.Add(this.tabControl1); this.panel3.Controls.Add(this.menuStrip1); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1026, 379); this.panel3.TabIndex = 2; // // lblShowLastError // this.lblShowLastError.AutoSize = true; this.lblShowLastError.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.lblShowLastError.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblShowLastError.Cursor = System.Windows.Forms.Cursors.Hand; this.lblShowLastError.Dock = System.Windows.Forms.DockStyle.Right; this.lblShowLastError.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblShowLastError.Location = new System.Drawing.Point(740, 24); this.lblShowLastError.MinimumSize = new System.Drawing.Size(60, 15); this.lblShowLastError.Name = "lblShowLastError"; this.lblShowLastError.Size = new System.Drawing.Size(85, 15); this.lblShowLastError.TabIndex = 11; this.lblShowLastError.Text = "Show Last Error"; this.lblShowLastError.Click += new System.EventHandler(this.lblShowLastError_Click); // // lblShowErrors // this.lblShowErrors.AutoSize = true; this.lblShowErrors.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.lblShowErrors.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblShowErrors.Cursor = System.Windows.Forms.Cursors.Hand; this.lblShowErrors.Dock = System.Windows.Forms.DockStyle.Right; this.lblShowErrors.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblShowErrors.Location = new System.Drawing.Point(825, 24); this.lblShowErrors.MinimumSize = new System.Drawing.Size(60, 15); this.lblShowErrors.Name = "lblShowErrors"; this.lblShowErrors.Size = new System.Drawing.Size(81, 15); this.lblShowErrors.TabIndex = 10; this.lblShowErrors.Text = "Show All Errors"; this.lblShowErrors.Click += new System.EventHandler(this.lblShowErrors_Click); // // lblClear // this.lblClear.AutoSize = true; this.lblClear.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.lblClear.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblClear.Cursor = System.Windows.Forms.Cursors.Hand; this.lblClear.Dock = System.Windows.Forms.DockStyle.Right; this.lblClear.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblClear.Location = new System.Drawing.Point(906, 24); this.lblClear.MinimumSize = new System.Drawing.Size(60, 15); this.lblClear.Name = "lblClear"; this.lblClear.Size = new System.Drawing.Size(60, 15); this.lblClear.TabIndex = 9; this.lblClear.Text = "Clear Log"; this.lblClear.Click += new System.EventHandler(this.lblClear_Click); // // panel6 // this.panel6.Controls.Add(this.btnApplyFilter); this.panel6.Controls.Add(this.tbFilterString); this.panel6.Controls.Add(this.cbFilterOn); this.panel6.Location = new System.Drawing.Point(251, -8); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(483, 54); this.panel6.TabIndex = 8; // // btnApplyFilter // this.btnApplyFilter.Location = new System.Drawing.Point(166, 31); this.btnApplyFilter.Name = "btnApplyFilter"; this.btnApplyFilter.Size = new System.Drawing.Size(29, 23); this.btnApplyFilter.TabIndex = 11; this.btnApplyFilter.Text = "Go"; this.btnApplyFilter.UseVisualStyleBackColor = true; this.btnApplyFilter.Click += new System.EventHandler(this.btnApplyFilter_Click); // // lblPause // this.lblPause.AutoSize = true; this.lblPause.BackColor = System.Drawing.SystemColors.ButtonHighlight; this.lblPause.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblPause.Cursor = System.Windows.Forms.Cursors.Hand; this.lblPause.Dock = System.Windows.Forms.DockStyle.Right; this.lblPause.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPause.Location = new System.Drawing.Point(966, 24); this.lblPause.MinimumSize = new System.Drawing.Size(60, 15); this.lblPause.Name = "lblPause"; this.lblPause.Size = new System.Drawing.Size(60, 15); this.lblPause.TabIndex = 3; this.lblPause.Text = "Running..."; this.lblPause.Click += new System.EventHandler(this.lblPause_Click); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPageLog); this.tabControl1.Controls.Add(this.tabPageQuery); this.tabControl1.Controls.Add(this.tabAdvancedOptions); this.tabControl1.Controls.Add(this.tabPageHelp); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tabControl1.Location = new System.Drawing.Point(0, 24); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(1026, 355); this.tabControl1.TabIndex = 1; this.tabControl1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tabControl1_KeyDown); // // tabPageLog // this.tabPageLog.Controls.Add(this.splitContainerMain); this.tabPageLog.Location = new System.Drawing.Point(4, 22); this.tabPageLog.Name = "tabPageLog"; this.tabPageLog.Size = new System.Drawing.Size(1018, 329); this.tabPageLog.TabIndex = 0; this.tabPageLog.Text = "Log View"; this.tabPageLog.UseVisualStyleBackColor = true; // // splitContainerMain // this.splitContainerMain.Location = new System.Drawing.Point(8, 31); this.splitContainerMain.Name = "splitContainerMain"; this.splitContainerMain.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainerMain.Panel1 // this.splitContainerMain.Panel1.BackColor = System.Drawing.SystemColors.Control; this.splitContainerMain.Panel1.Controls.Add(this.lbLog); // // splitContainerMain.Panel2 // this.splitContainerMain.Panel2.Controls.Add(this.splitContainerBottom); this.splitContainerMain.Size = new System.Drawing.Size(248, 226); this.splitContainerMain.SplitterDistance = 142; this.splitContainerMain.TabIndex = 2; // // lbLog // this.lbLog.AllowDrop = true; this.lbLog.ContextMenuStrip = this.ctxMenuLog; this.lbLog.Count = 1; this.lbLog.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.lbLog.Font = new System.Drawing.Font("Courier New", 10F); this.lbLog.IsHighlighted = false; this.lbLog.ItemHeight = 16; this.lbLog.Location = new System.Drawing.Point(31, 26); this.lbLog.Name = "lbLog"; this.lbLog.ScrollAlwaysVisible = true; this.lbLog.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.lbLog.Size = new System.Drawing.Size(165, 52); this.lbLog.TabIndex = 0; this.lbLog.TextColor = System.Drawing.Color.Black; this.lbLog.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.lbLog_DrawItem); this.lbLog.SelectedIndexChanged += new System.EventHandler(this.lbLog_SelectedIndexChanged); this.lbLog.DragDrop += new System.Windows.Forms.DragEventHandler(this.lbLog_DragDrop); this.lbLog.DragEnter += new System.Windows.Forms.DragEventHandler(this.lbLog_DragEnter); this.lbLog.KeyDown += new System.Windows.Forms.KeyEventHandler(this.lbLog_KeyDown); this.lbLog.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.lbLog_KeyPress); // // splitContainerBottom // this.splitContainerBottom.Location = new System.Drawing.Point(26, 14); this.splitContainerBottom.Name = "splitContainerBottom"; // // splitContainerBottom.Panel1 // this.splitContainerBottom.Panel1.Controls.Add(this.tbSelected); this.splitContainerBottom.Panel1MinSize = 50; // // splitContainerBottom.Panel2 // this.splitContainerBottom.Panel2.Controls.Add(this.lstResults); this.splitContainerBottom.Panel2MinSize = 50; this.splitContainerBottom.Size = new System.Drawing.Size(208, 55); this.splitContainerBottom.SplitterDistance = 128; this.splitContainerBottom.TabIndex = 0; // // tbSelected // this.tbSelected.BackColor = System.Drawing.SystemColors.Control; this.tbSelected.ContextMenuStrip = this.ctxMenuSelected; this.tbSelected.ForeColor = System.Drawing.SystemColors.ControlText; this.tbSelected.Location = new System.Drawing.Point(16, 13); this.tbSelected.Multiline = true; this.tbSelected.Name = "tbSelected"; this.tbSelected.ReadOnly = true; this.tbSelected.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.tbSelected.Size = new System.Drawing.Size(107, 28); this.tbSelected.TabIndex = 1; this.tbSelected.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbSelected_KeyDown); this.tbSelected.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tbSelected_KeyUp); // // lstResults // this.lstResults.FormattingEnabled = true; this.lstResults.Location = new System.Drawing.Point(25, 13); this.lstResults.Name = "lstResults"; this.lstResults.Size = new System.Drawing.Size(36, 30); this.lstResults.TabIndex = 0; // // tabPageQuery // this.tabPageQuery.Controls.Add(this.panel5); this.tabPageQuery.Controls.Add(this.panel4); this.tabPageQuery.Controls.Add(this.splitterQueryResults); this.tabPageQuery.Controls.Add(this.panelQueryResults); this.tabPageQuery.Location = new System.Drawing.Point(4, 22); this.tabPageQuery.Name = "tabPageQuery"; this.tabPageQuery.Size = new System.Drawing.Size(1018, 329); this.tabPageQuery.TabIndex = 1; this.tabPageQuery.Text = "Query"; this.tabPageQuery.UseVisualStyleBackColor = true; // // panel5 // this.panel5.Controls.Add(this.tbQuery); this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; this.panel5.Location = new System.Drawing.Point(0, 0); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(882, 206); this.panel5.TabIndex = 4; // // tbQuery // this.tbQuery.BackColor = System.Drawing.Color.Black; this.tbQuery.Dock = System.Windows.Forms.DockStyle.Fill; this.tbQuery.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tbQuery.ForeColor = System.Drawing.Color.White; this.tbQuery.Location = new System.Drawing.Point(0, 0); this.tbQuery.Multiline = true; this.tbQuery.Name = "tbQuery"; this.tbQuery.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.tbQuery.Size = new System.Drawing.Size(882, 206); this.tbQuery.TabIndex = 0; this.tbQuery.WordWrap = false; this.tbQuery.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbQuery_KeyDown); // // panel4 // this.panel4.Controls.Add(this.btnSaveGrid); this.panel4.Controls.Add(this.btnSaveSQL); this.panel4.Controls.Add(this.btnOpenSQL); this.panel4.Controls.Add(this.lblNotes); this.panel4.Controls.Add(this.cbQueryType); this.panel4.Controls.Add(this.label2); this.panel4.Controls.Add(this.btnExecuteQuery); this.panel4.Dock = System.Windows.Forms.DockStyle.Right; this.panel4.Location = new System.Drawing.Point(882, 0); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(136, 206); this.panel4.TabIndex = 3; // // btnSaveGrid // this.btnSaveGrid.Location = new System.Drawing.Point(8, 109); this.btnSaveGrid.Name = "btnSaveGrid"; this.btnSaveGrid.Size = new System.Drawing.Size(120, 23); this.btnSaveGrid.TabIndex = 7; this.btnSaveGrid.Text = "Save Results"; this.btnSaveGrid.UseVisualStyleBackColor = true; this.btnSaveGrid.Click += new System.EventHandler(this.btnSaveGrid_Click); // // btnSaveSQL // this.btnSaveSQL.Location = new System.Drawing.Point(80, 8); this.btnSaveSQL.Name = "btnSaveSQL"; this.btnSaveSQL.Size = new System.Drawing.Size(48, 23); this.btnSaveSQL.TabIndex = 6; this.btnSaveSQL.Text = "Save"; this.btnSaveSQL.Click += new System.EventHandler(this.btnSaveSQL_Click); // // btnOpenSQL // this.btnOpenSQL.Location = new System.Drawing.Point(8, 8); this.btnOpenSQL.Name = "btnOpenSQL"; this.btnOpenSQL.Size = new System.Drawing.Size(48, 23); this.btnOpenSQL.TabIndex = 5; this.btnOpenSQL.Text = "Open"; this.btnOpenSQL.Click += new System.EventHandler(this.btnOpenSQL_Click); // // lblNotes // this.lblNotes.ForeColor = System.Drawing.Color.Navy; this.lblNotes.Location = new System.Drawing.Point(9, 135); this.lblNotes.Name = "lblNotes"; this.lblNotes.Size = new System.Drawing.Size(120, 106); this.lblNotes.TabIndex = 4; // // cbQueryType // this.cbQueryType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbQueryType.Items.AddRange(new object[] { "IIS Log", "W3C Log", "Event Log", "Registry", "File System", "Text File", "CSV File"}); this.cbQueryType.Location = new System.Drawing.Point(8, 56); this.cbQueryType.Name = "cbQueryType"; this.cbQueryType.Size = new System.Drawing.Size(121, 21); this.cbQueryType.TabIndex = 3; this.cbQueryType.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cbQueryType_KeyDown); // // label2 // this.label2.Location = new System.Drawing.Point(8, 40); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(104, 16); this.label2.TabIndex = 2; this.label2.Text = "Select Query Type:"; // // btnExecuteQuery // this.btnExecuteQuery.Location = new System.Drawing.Point(8, 80); this.btnExecuteQuery.Name = "btnExecuteQuery"; this.btnExecuteQuery.Size = new System.Drawing.Size(120, 23); this.btnExecuteQuery.TabIndex = 0; this.btnExecuteQuery.Text = "Execute Query (F5)"; this.btnExecuteQuery.Click += new System.EventHandler(this.btnExecuteQuery_Click); this.btnExecuteQuery.KeyDown += new System.Windows.Forms.KeyEventHandler(this.btnExecuteQuery_KeyDown); // // splitterQueryResults // this.splitterQueryResults.BackColor = System.Drawing.SystemColors.ControlDarkDark; this.splitterQueryResults.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitterQueryResults.Location = new System.Drawing.Point(0, 206); this.splitterQueryResults.Name = "splitterQueryResults"; this.splitterQueryResults.Size = new System.Drawing.Size(1018, 3); this.splitterQueryResults.TabIndex = 2; this.splitterQueryResults.TabStop = false; // // panelQueryResults // this.panelQueryResults.Controls.Add(this.dgvResults); this.panelQueryResults.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelQueryResults.Location = new System.Drawing.Point(0, 209); this.panelQueryResults.Name = "panelQueryResults"; this.panelQueryResults.Size = new System.Drawing.Size(1018, 120); this.panelQueryResults.TabIndex = 1; // // dgvResults // this.dgvResults.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dgvResults.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvResults.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvResults.Location = new System.Drawing.Point(0, 0); this.dgvResults.Name = "dgvResults"; this.dgvResults.Size = new System.Drawing.Size(1018, 120); this.dgvResults.TabIndex = 1; // // tabAdvancedOptions // this.tabAdvancedOptions.Controls.Add(this.panelBayesianFilter); this.tabAdvancedOptions.Location = new System.Drawing.Point(4, 22); this.tabAdvancedOptions.Name = "tabAdvancedOptions"; this.tabAdvancedOptions.Size = new System.Drawing.Size(1018, 329); this.tabAdvancedOptions.TabIndex = 3; this.tabAdvancedOptions.Text = "Advanced Options"; this.tabAdvancedOptions.UseVisualStyleBackColor = true; // // panelBayesianFilter // this.panelBayesianFilter.Controls.Add(this.panel7); this.panelBayesianFilter.Controls.Add(this.cbShowSelected); this.panelBayesianFilter.Controls.Add(this.lblBayesionScore); this.panelBayesianFilter.Controls.Add(this.cbBayesian); this.panelBayesianFilter.Controls.Add(this.panelTransparency); this.panelBayesianFilter.Location = new System.Drawing.Point(21, 25); this.panelBayesianFilter.Name = "panelBayesianFilter"; this.panelBayesianFilter.Size = new System.Drawing.Size(988, 302); this.panelBayesianFilter.TabIndex = 3; // // panel7 // this.panel7.Controls.Add(this.cbTimeSlice); this.panel7.Controls.Add(this.dtTimeSliceEnd); this.panel7.Controls.Add(this.dtTimeSliceStart); this.panel7.Location = new System.Drawing.Point(-7, 31); this.panel7.Name = "panel7"; this.panel7.Size = new System.Drawing.Size(501, 22); this.panel7.TabIndex = 4; // // cbTimeSlice // this.cbTimeSlice.AutoSize = true; this.cbTimeSlice.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbTimeSlice.Location = new System.Drawing.Point(10, 2); this.cbTimeSlice.Name = "cbTimeSlice"; this.cbTimeSlice.Size = new System.Drawing.Size(89, 17); this.cbTimeSlice.TabIndex = 6; this.cbTimeSlice.Text = "Time Slice:"; this.cbTimeSlice.UseVisualStyleBackColor = true; this.cbTimeSlice.CheckedChanged += new System.EventHandler(this.cbTimeSlice_CheckedChanged); // // dtTimeSliceEnd // this.dtTimeSliceEnd.CustomFormat = "MM/dd/yyyy HH:mm:ss"; this.dtTimeSliceEnd.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtTimeSliceEnd.Location = new System.Drawing.Point(240, 0); this.dtTimeSliceEnd.Name = "dtTimeSliceEnd"; this.dtTimeSliceEnd.Size = new System.Drawing.Size(137, 21); this.dtTimeSliceEnd.TabIndex = 5; this.dtTimeSliceEnd.ValueChanged += new System.EventHandler(this.dtTimeSliceEnd_ValueChanged); // // dtTimeSliceStart // this.dtTimeSliceStart.CustomFormat = "MM/dd/yyyy HH:mm:ss"; this.dtTimeSliceStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom; this.dtTimeSliceStart.Location = new System.Drawing.Point(97, 0); this.dtTimeSliceStart.Name = "dtTimeSliceStart"; this.dtTimeSliceStart.Size = new System.Drawing.Size(137, 21); this.dtTimeSliceStart.TabIndex = 4; this.dtTimeSliceStart.ValueChanged += new System.EventHandler(this.dtTimeSliceStart_ValueChanged); // // cbShowSelected // this.cbShowSelected.AutoSize = true; this.cbShowSelected.Location = new System.Drawing.Point(133, 4); this.cbShowSelected.Name = "cbShowSelected"; this.cbShowSelected.Size = new System.Drawing.Size(15, 14); this.cbShowSelected.TabIndex = 8; this.cbShowSelected.UseVisualStyleBackColor = true; this.cbShowSelected.CheckedChanged += new System.EventHandler(this.cbShowSelected_CheckedChanged); // // lblBayesionScore // this.lblBayesionScore.AutoSize = true; this.lblBayesionScore.Location = new System.Drawing.Point(146, 4); this.lblBayesionScore.Name = "lblBayesionScore"; this.lblBayesionScore.Size = new System.Drawing.Size(96, 13); this.lblBayesionScore.TabIndex = 7; this.lblBayesionScore.Text = "Selected Score: --"; // // cbBayesian // this.cbBayesian.AutoSize = true; this.cbBayesian.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cbBayesian.Location = new System.Drawing.Point(3, 3); this.cbBayesian.Name = "cbBayesian"; this.cbBayesian.Size = new System.Drawing.Size(109, 17); this.cbBayesian.TabIndex = 0; this.cbBayesian.Text = "Bayesian Filter"; this.cbBayesian.UseVisualStyleBackColor = true; this.cbBayesian.CheckedChanged += new System.EventHandler(this.cbBayesian_CheckedChanged); // // panelTransparency // this.panelTransparency.Controls.Add(this.label3); this.panelTransparency.Controls.Add(this.panelSlider); this.panelTransparency.Location = new System.Drawing.Point(3, 71); this.panelTransparency.Name = "panelTransparency"; this.panelTransparency.Size = new System.Drawing.Size(227, 20); this.panelTransparency.TabIndex = 7; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(3, 3); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(88, 13); this.label3.TabIndex = 5; this.label3.Text = "Transparency:"; // // panelSlider // this.panelSlider.Controls.Add(this.tbTransparency); this.panelSlider.Location = new System.Drawing.Point(90, 3); this.panelSlider.Name = "panelSlider"; this.panelSlider.Size = new System.Drawing.Size(133, 19); this.panelSlider.TabIndex = 3; // // tbTransparency // this.tbTransparency.Dock = System.Windows.Forms.DockStyle.Fill; this.tbTransparency.Location = new System.Drawing.Point(0, 0); this.tbTransparency.Maximum = 100; this.tbTransparency.Minimum = 15; this.tbTransparency.Name = "tbTransparency"; this.tbTransparency.Size = new System.Drawing.Size(133, 19); this.tbTransparency.TabIndex = 0; this.tbTransparency.TickFrequency = 10; this.tbTransparency.Value = 100; this.tbTransparency.Scroll += new System.EventHandler(this.tbTransparency_Scroll); // // tabPageHelp // this.tabPageHelp.Controls.Add(this.webBrowser1); this.tabPageHelp.Location = new System.Drawing.Point(4, 22); this.tabPageHelp.Name = "tabPageHelp"; this.tabPageHelp.Size = new System.Drawing.Size(1018, 329); this.tabPageHelp.TabIndex = 2; this.tabPageHelp.Text = "Help"; this.tabPageHelp.UseVisualStyleBackColor = true; // // webBrowser1 // this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; this.webBrowser1.Location = new System.Drawing.Point(0, 0); this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); this.webBrowser1.Name = "webBrowser1"; this.webBrowser1.Size = new System.Drawing.Size(1018, 329); this.webBrowser1.TabIndex = 0; // // menuStrip1 // this.menuStrip1.BackColor = System.Drawing.SystemColors.Control; this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem, this.toolsToolStripMenuItem, this.windowToolStripMenuItem}); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(1026, 24); this.menuStrip1.TabIndex = 2; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openToolStripMenuItem, this.openDefaultToolStripMenuItem, this.toolStripSeparator2, this.mnuRecentFiles, this.toolStripSeparator13, this.exitToolStripMenuItem}); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.fileToolStripMenuItem.Text = "&File"; // // openToolStripMenuItem // this.openToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); this.openToolStripMenuItem.Size = new System.Drawing.Size(184, 22); this.openToolStripMenuItem.Text = "&Open"; this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); // // openDefaultToolStripMenuItem // this.openDefaultToolStripMenuItem.Name = "openDefaultToolStripMenuItem"; this.openDefaultToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.L))); this.openDefaultToolStripMenuItem.Size = new System.Drawing.Size(184, 22); this.openDefaultToolStripMenuItem.Text = "Open &Default"; this.openDefaultToolStripMenuItem.Click += new System.EventHandler(this.openDefaultToolStripMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(181, 6); // // mnuRecentFiles // this.mnuRecentFiles.Name = "mnuRecentFiles"; this.mnuRecentFiles.Size = new System.Drawing.Size(184, 22); this.mnuRecentFiles.Text = "Recent Files"; // // toolStripSeparator13 // this.toolStripSeparator13.Name = "toolStripSeparator13"; this.toolStripSeparator13.Size = new System.Drawing.Size(181, 6); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(184, 22); this.exitToolStripMenuItem.Text = "E&xit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripMenuItem1, this.copyToolStripMenuItem, this.toolStripSeparator4, this.markToolStripMenuItem, this.toolStripSeparator14, this.editFileToolStripMenuItem, this.toolStripSeparator6, this.findAllToolStripMenuItem}); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); this.editToolStripMenuItem.Text = "&Edit"; // // toolStripMenuItem1 // this.toolStripMenuItem1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.toolStripMenuItem1.Size = new System.Drawing.Size(228, 22); this.toolStripMenuItem1.Text = "&Copy"; this.toolStripMenuItem1.Click += new System.EventHandler(this.toolStripMenuItem1_Click); // // copyToolStripMenuItem // this.copyToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta; this.copyToolStripMenuItem.Name = "copyToolStripMenuItem"; this.copyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q))); this.copyToolStripMenuItem.Size = new System.Drawing.Size(228, 22); this.copyToolStripMenuItem.Text = "Copy Without &Blanks"; this.copyToolStripMenuItem.Click += new System.EventHandler(this.copyToolStripMenuItem_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(225, 6); // // markToolStripMenuItem // this.markToolStripMenuItem.Name = "markToolStripMenuItem"; this.markToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.M))); this.markToolStripMenuItem.Size = new System.Drawing.Size(228, 22); this.markToolStripMenuItem.Text = "Insert &Mark"; this.markToolStripMenuItem.Click += new System.EventHandler(this.markToolStripMenuItem_Click); // // toolStripSeparator14 // this.toolStripSeparator14.Name = "toolStripSeparator14"; this.toolStripSeparator14.Size = new System.Drawing.Size(225, 6); // // editFileToolStripMenuItem // this.editFileToolStripMenuItem.Name = "editFileToolStripMenuItem"; this.editFileToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F9; this.editFileToolStripMenuItem.Size = new System.Drawing.Size(228, 22); this.editFileToolStripMenuItem.Text = "&Edit Log"; this.editFileToolStripMenuItem.Click += new System.EventHandler(this.editFileToolStripMenuItem_Click); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(225, 6); // // findAllToolStripMenuItem // this.findAllToolStripMenuItem.Name = "findAllToolStripMenuItem"; this.findAllToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); this.findAllToolStripMenuItem.Size = new System.Drawing.Size(228, 22); this.findAllToolStripMenuItem.Text = "&Find"; this.findAllToolStripMenuItem.Click += new System.EventHandler(this.findAllToolStripMenuItem_Click); // // toolsToolStripMenuItem // this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.viewLastErrorToolStripMenuItem, this.showAllErrorsToolStripMenuItem, this.toolStripSeparator5, this.pauseToolStripMenuItem, this.toolStripSeparator7, this.transparencyToolStripMenuItem, this.toolStripSeparator1, this.clearToolStripMenuItem, this.toolStripSeparator20, this.optionsToolStripMenuItem}); this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; this.toolsToolStripMenuItem.Size = new System.Drawing.Size(47, 20); this.toolsToolStripMenuItem.Text = "&Tools"; // // viewLastErrorToolStripMenuItem // this.viewLastErrorToolStripMenuItem.Name = "viewLastErrorToolStripMenuItem"; this.viewLastErrorToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F4; this.viewLastErrorToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.viewLastErrorToolStripMenuItem.Text = "View Last &Error"; this.viewLastErrorToolStripMenuItem.Click += new System.EventHandler(this.viewLastErrorToolStripMenuItem_Click); // // showAllErrorsToolStripMenuItem // this.showAllErrorsToolStripMenuItem.Name = "showAllErrorsToolStripMenuItem"; this.showAllErrorsToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F5; this.showAllErrorsToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.showAllErrorsToolStripMenuItem.Text = "Show All Errors"; this.showAllErrorsToolStripMenuItem.Click += new System.EventHandler(this.showAllErrorsToolStripMenuItem_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(221, 6); // // pauseToolStripMenuItem // this.pauseToolStripMenuItem.Name = "pauseToolStripMenuItem"; this.pauseToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.pauseToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.pauseToolStripMenuItem.Text = "Toggle &Pause"; this.pauseToolStripMenuItem.Click += new System.EventHandler(this.pauseToolStripMenuItem_Click); // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(221, 6); // // transparencyToolStripMenuItem // this.transparencyToolStripMenuItem.Name = "transparencyToolStripMenuItem"; this.transparencyToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T))); this.transparencyToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.transparencyToolStripMenuItem.Text = "&Toggle Transparency"; this.transparencyToolStripMenuItem.Click += new System.EventHandler(this.transparencyToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(221, 6); // // clearToolStripMenuItem // this.clearToolStripMenuItem.Name = "clearToolStripMenuItem"; this.clearToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F6; this.clearToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.clearToolStripMenuItem.Text = "&Clear (screen only)"; this.clearToolStripMenuItem.Click += new System.EventHandler(this.clearToolStripMenuItem_Click); // // toolStripSeparator20 // this.toolStripSeparator20.Name = "toolStripSeparator20"; this.toolStripSeparator20.Size = new System.Drawing.Size(221, 6); // // optionsToolStripMenuItem // this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem"; this.optionsToolStripMenuItem.Size = new System.Drawing.Size(224, 22); this.optionsToolStripMenuItem.Text = "&Options..."; this.optionsToolStripMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem_Click); // // windowToolStripMenuItem // this.windowToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tileTop3rdToolStripMenuItem, this.tileToolStripMenuItem, this.tileBottom3rdToolStripMenuItem, this.tileBottomHalfToolStripMenuItem, this.fullscreenToolStripMenuItem}); this.windowToolStripMenuItem.Name = "windowToolStripMenuItem"; this.windowToolStripMenuItem.Size = new System.Drawing.Size(63, 20); this.windowToolStripMenuItem.Text = "&Window"; // // tileTop3rdToolStripMenuItem // this.tileTop3rdToolStripMenuItem.Name = "tileTop3rdToolStripMenuItem"; this.tileTop3rdToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D1))); this.tileTop3rdToolStripMenuItem.Size = new System.Drawing.Size(201, 22); this.tileTop3rdToolStripMenuItem.Text = "Tile Top 3rd"; this.tileTop3rdToolStripMenuItem.Click += new System.EventHandler(this.tileTop3rdToolStripMenuItem_Click); // // tileToolStripMenuItem // this.tileToolStripMenuItem.Name = "tileToolStripMenuItem"; this.tileToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D2))); this.tileToolStripMenuItem.Size = new System.Drawing.Size(201, 22); this.tileToolStripMenuItem.Text = "Tile Top Half"; this.tileToolStripMenuItem.Click += new System.EventHandler(this.tileToolStripMenuItem_Click); // // tileBottom3rdToolStripMenuItem // this.tileBottom3rdToolStripMenuItem.Name = "tileBottom3rdToolStripMenuItem"; this.tileBottom3rdToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D3))); this.tileBottom3rdToolStripMenuItem.Size = new System.Drawing.Size(201, 22); this.tileBottom3rdToolStripMenuItem.Text = "Tile Bottom 3rd"; this.tileBottom3rdToolStripMenuItem.Click += new System.EventHandler(this.tileBottom3rdToolStripMenuItem_Click); // // tileBottomHalfToolStripMenuItem // this.tileBottomHalfToolStripMenuItem.Name = "tileBottomHalfToolStripMenuItem"; this.tileBottomHalfToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.D4))); this.tileBottomHalfToolStripMenuItem.Size = new System.Drawing.Size(201, 22); this.tileBottomHalfToolStripMenuItem.Text = "Tile Bottom Half"; this.tileBottomHalfToolStripMenuItem.Click += new System.EventHandler(this.tileBottomHalfToolStripMenuItem_Click); // // fullscreenToolStripMenuItem // this.fullscreenToolStripMenuItem.Name = "fullscreenToolStripMenuItem"; this.fullscreenToolStripMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F11; this.fullscreenToolStripMenuItem.Size = new System.Drawing.Size(201, 22); this.fullscreenToolStripMenuItem.Text = "&Fullscreen"; this.fullscreenToolStripMenuItem.Click += new System.EventHandler(this.fullscreenToolStripMenuItem_Click); // // toolStripContainer1 // this.toolStripContainer1.BottomToolStripPanelVisible = false; // // toolStripContainer1.ContentPanel // this.toolStripContainer1.ContentPanel.AutoScroll = true; this.toolStripContainer1.ContentPanel.Controls.Add(this.panel2); this.toolStripContainer1.ContentPanel.Controls.Add(this.panel1); this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(1026, 407); this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStripContainer1.LeftToolStripPanelVisible = false; this.toolStripContainer1.Location = new System.Drawing.Point(0, 0); this.toolStripContainer1.Name = "toolStripContainer1"; this.toolStripContainer1.RightToolStripPanelVisible = false; this.toolStripContainer1.Size = new System.Drawing.Size(1026, 407); this.toolStripContainer1.TabIndex = 3; this.toolStripContainer1.Text = "toolStripContainer1"; this.toolStripContainer1.TopToolStripPanelVisible = false; // // toolTip1 // this.toolTip1.ToolTipTitle = "Tip:"; // // Form1 // this.AllowDrop = true; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1026, 407); this.Controls.Add(this.toolStripContainer1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip1; this.Name = "Form1"; this.Text = "Quail"; this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing); this.Load += new System.EventHandler(this.Form1_Load); this.DragDrop += new System.Windows.Forms.DragEventHandler(this.Form1_DragDrop); this.DragEnter += new System.Windows.Forms.DragEventHandler(this.Form1_DragEnter); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown); this.ctxMenuLog.ResumeLayout(false); this.ctxMenuSelected.ResumeLayout(false); this.contextMenuStrip1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.panel6.ResumeLayout(false); this.panel6.PerformLayout(); this.tabControl1.ResumeLayout(false); this.tabPageLog.ResumeLayout(false); this.splitContainerMain.Panel1.ResumeLayout(false); this.splitContainerMain.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerMain)).EndInit(); this.splitContainerMain.ResumeLayout(false); this.splitContainerBottom.Panel1.ResumeLayout(false); this.splitContainerBottom.Panel1.PerformLayout(); this.splitContainerBottom.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerBottom)).EndInit(); this.splitContainerBottom.ResumeLayout(false); this.tabPageQuery.ResumeLayout(false); this.panel5.ResumeLayout(false); this.panel5.PerformLayout(); this.panel4.ResumeLayout(false); this.panelQueryResults.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvResults)).EndInit(); this.tabAdvancedOptions.ResumeLayout(false); this.panelBayesianFilter.ResumeLayout(false); this.panelBayesianFilter.PerformLayout(); this.panel7.ResumeLayout(false); this.panel7.PerformLayout(); this.panelTransparency.ResumeLayout(false); this.panelTransparency.PerformLayout(); this.panelSlider.ResumeLayout(false); this.panelSlider.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbTransparency)).EndInit(); this.tabPageHelp.ResumeLayout(false); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.toolStripContainer1.ContentPanel.ResumeLayout(false); this.toolStripContainer1.ResumeLayout(false); this.toolStripContainer1.PerformLayout(); this.ResumeLayout(false); }
/// <include file='doc\ToolStripRenderer.uex' path='docs/doc[@for="ToolStripRenderer.Initialize"]/*' /> protected internal virtual void InitializeContentPanel(ToolStripContentPanel contentPanel){ }
/// <summary> /// This class represents all the information to render the toolStrip /// </summary> public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { Graphics = g.OrThrowIfNull(); ToolStripContentPanel = contentPanel.OrThrowIfNull(); }
private PanelDesigner GetDesigner(ToolStripContentPanel panel) { return (this.designerHost.GetDesigner(panel) as PanelDesigner); }
public ToolStripContainer() { base.SetStyle(ControlStyles.SupportsTransparentBackColor | ControlStyles.ResizeRedraw, true); base.SuspendLayout(); try { this.topPanel = new ToolStripPanel(this); this.bottomPanel = new ToolStripPanel(this); this.leftPanel = new ToolStripPanel(this); this.rightPanel = new ToolStripPanel(this); this.contentPanel = new ToolStripContentPanel(); this.contentPanel.Dock = DockStyle.Fill; this.topPanel.Dock = DockStyle.Top; this.bottomPanel.Dock = DockStyle.Bottom; this.rightPanel.Dock = DockStyle.Right; this.leftPanel.Dock = DockStyle.Left; ToolStripContainerTypedControlCollection controls = this.Controls as ToolStripContainerTypedControlCollection; if (controls != null) { controls.AddInternal(this.contentPanel); controls.AddInternal(this.leftPanel); controls.AddInternal(this.rightPanel); controls.AddInternal(this.topPanel); controls.AddInternal(this.bottomPanel); } } finally { base.ResumeLayout(true); } }
protected override void InitializeContentPanel(ToolStripContentPanel contentPanel) { contentPanel.BackColor = ColorTable.ContentPanelBackground; }
protected override void InitializeContentPanel(ToolStripContentPanel contentPanel) { base.InitializeContentPanel(contentPanel); }
public ToolStripContentPanelRenderEventArgs (Graphics g, ToolStripContentPanel contentPanel) : base () { this.graphics = g; this.tool_strip_content_panel = contentPanel; this.handled = false; }
public override void Initialize(IComponent component) { this.toolStripContainer = (ToolStripContainer) component; base.Initialize(component); base.AutoResizeHandles = true; this.topToolStripPanel = this.toolStripContainer.TopToolStripPanel; this.bottomToolStripPanel = this.toolStripContainer.BottomToolStripPanel; this.leftToolStripPanel = this.toolStripContainer.LeftToolStripPanel; this.rightToolStripPanel = this.toolStripContainer.RightToolStripPanel; this.contentToolStripPanel = this.toolStripContainer.ContentPanel; this.panels = new Control[] { this.contentToolStripPanel, this.leftToolStripPanel, this.rightToolStripPanel, this.topToolStripPanel, this.bottomToolStripPanel }; ToolboxBitmapAttribute attribute = new ToolboxBitmapAttribute(typeof(ToolStripPanel), "ToolStripContainer_BottomToolStripPanel.bmp"); ToolboxBitmapAttribute attribute2 = new ToolboxBitmapAttribute(typeof(ToolStripPanel), "ToolStripContainer_RightToolStripPanel.bmp"); ToolboxBitmapAttribute attribute3 = new ToolboxBitmapAttribute(typeof(ToolStripPanel), "ToolStripContainer_TopToolStripPanel.bmp"); ToolboxBitmapAttribute attribute4 = new ToolboxBitmapAttribute(typeof(ToolStripPanel), "ToolStripContainer_LeftToolStripPanel.bmp"); TypeDescriptor.AddAttributes(this.bottomToolStripPanel, new Attribute[] { attribute, new DescriptionAttribute("bottom") }); TypeDescriptor.AddAttributes(this.rightToolStripPanel, new Attribute[] { attribute2, new DescriptionAttribute("right") }); TypeDescriptor.AddAttributes(this.leftToolStripPanel, new Attribute[] { attribute4, new DescriptionAttribute("left") }); TypeDescriptor.AddAttributes(this.topToolStripPanel, new Attribute[] { attribute3, new DescriptionAttribute("top") }); base.EnableDesignMode(this.topToolStripPanel, "TopToolStripPanel"); base.EnableDesignMode(this.bottomToolStripPanel, "BottomToolStripPanel"); base.EnableDesignMode(this.leftToolStripPanel, "LeftToolStripPanel"); base.EnableDesignMode(this.rightToolStripPanel, "RightToolStripPanel"); base.EnableDesignMode(this.contentToolStripPanel, "ContentPanel"); this.designerHost = (IDesignerHost) this.GetService(typeof(IDesignerHost)); if (this.selectionSvc == null) { this.selectionSvc = (ISelectionService) this.GetService(typeof(ISelectionService)); } if (this.topToolStripPanel != null) { (this.designerHost.GetDesigner(this.topToolStripPanel) as ToolStripPanelDesigner).ExpandTopPanel(); } this.TopToolStripPanelVisible = this.toolStripContainer.TopToolStripPanelVisible; this.LeftToolStripPanelVisible = this.toolStripContainer.LeftToolStripPanelVisible; this.RightToolStripPanelVisible = this.toolStripContainer.RightToolStripPanelVisible; this.BottomToolStripPanelVisible = this.toolStripContainer.BottomToolStripPanelVisible; }
public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) : base() { this.graphics = g; this.tool_strip_content_panel = contentPanel; this.handled = false; }
/// <devdoc> /// This class represents all the information to render the toolStrip /// </devdoc> public ToolStripContentPanelRenderEventArgs(Graphics g, ToolStripContentPanel contentPanel) { this.contentPanel = contentPanel; this.graphics = g; }
/// <summary> /// Returns an observable sequence wrapping the TabStopChanged event on the ToolStripContentPanel instance. /// </summary> /// <param name="instance">The ToolStripContentPanel instance to observe.</param> /// <returns>An observable sequence wrapping the TabStopChanged event on the ToolStripContentPanel instance.</returns> public static IObservable <EventPattern <EventArgs> > TabStopChangedObservable(this ToolStripContentPanel instance) { return(Observable.FromEventPattern <EventHandler, EventArgs>( handler => instance.TabStopChanged += handler, handler => instance.TabStopChanged -= handler)); }