Esempio n. 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmEditor));
     this.rtfBox = new SqlBuilder.Controls.RichTextBoxParser();
     this.lblStatus = new SqlBuilder.Controls.StatusInfo();
     this.btnHelp = new System.Windows.Forms.Button();
     this.btn_Execute_SQL = new System.Windows.Forms.Button();
     this.menuStrip1 = new System.Windows.Forms.MenuStrip();
     this.tsmi_File = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmi_File_Save = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmi_File_Save_As = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmi_File_New = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmi_File_Open = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmi_Params_Insert = new System.Windows.Forms.ToolStripMenuItem();
     this.tsmi_Params_ComboBox = new System.Windows.Forms.ToolStripComboBox();
     this.tsmi_Params_Insert_PRINT_parameters_command_at_the_top_of_the_text = new System.Windows.Forms.ToolStripMenuItem();
     this.btn_Cancel = new System.Windows.Forms.Button();
     this.chkBoxbPreviewSQLBeforeExecution = new System.Windows.Forms.CheckBox();
     this.btn_OK = new System.Windows.Forms.Button();
     this.menuStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // rtfBox
     //
     this.rtfBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.rtfBox.BackColor = System.Drawing.Color.White;
     this.rtfBox.DetectUrls = false;
     this.rtfBox.FirstVisibleLine = 1;
     this.rtfBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.rtfBox.HideSelection = false;
     this.rtfBox.Location = new System.Drawing.Point(10, 27);
     this.rtfBox.Name = "rtfBox";
     this.rtfBox.Size = new System.Drawing.Size(854, 491);
     this.rtfBox.StatusBar = null;
     this.rtfBox.TabIndex = 0;
     this.rtfBox.Text = "";
     this.rtfBox.TextModified = false;
     this.rtfBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.OnRtfBoxKeyDown);
     //
     // lblStatus
     //
     this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.lblStatus.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblStatus.ForeColor = System.Drawing.Color.Blue;
     this.lblStatus.Location = new System.Drawing.Point(12, 529);
     this.lblStatus.Name = "lblStatus";
     this.lblStatus.Size = new System.Drawing.Size(853, 17);
     this.lblStatus.TabIndex = 2;
     this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnHelp
     //
     this.btnHelp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnHelp.Location = new System.Drawing.Point(821, 560);
     this.btnHelp.Name = "btnHelp";
     this.btnHelp.Size = new System.Drawing.Size(44, 22);
     this.btnHelp.TabIndex = 3;
     this.btnHelp.Text = "Help";
     this.btnHelp.Click += new System.EventHandler(this.OnButtonHelp);
     //
     // btn_Execute_SQL
     //
     this.btn_Execute_SQL.Location = new System.Drawing.Point(272, 481);
     this.btn_Execute_SQL.Name = "btn_Execute_SQL";
     this.btn_Execute_SQL.Size = new System.Drawing.Size(139, 22);
     this.btn_Execute_SQL.TabIndex = 4;
     this.btn_Execute_SQL.Text = "Execute SQL Command";
     this.btn_Execute_SQL.UseVisualStyleBackColor = true;
     this.btn_Execute_SQL.Visible = false;
     this.btn_Execute_SQL.Click += new System.EventHandler(this.btn_Execute_SQL_Click);
     //
     // menuStrip1
     //
     this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.tsmi_File,
     this.tsmi_Params_Insert});
     this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     this.menuStrip1.Name = "menuStrip1";
     this.menuStrip1.Size = new System.Drawing.Size(881, 24);
     this.menuStrip1.TabIndex = 5;
     this.menuStrip1.Text = "menuStrip1";
     //
     // tsmi_File
     //
     this.tsmi_File.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.tsmi_File_Save,
     this.tsmi_File_Save_As,
     this.tsmi_File_New,
     this.tsmi_File_Open});
     this.tsmi_File.Name = "tsmi_File";
     this.tsmi_File.Size = new System.Drawing.Size(37, 20);
     this.tsmi_File.Text = "File";
     //
     // tsmi_File_Save
     //
     this.tsmi_File_Save.Name = "tsmi_File_Save";
     this.tsmi_File_Save.Size = new System.Drawing.Size(114, 22);
     this.tsmi_File_Save.Text = "Save";
     this.tsmi_File_Save.Click += new System.EventHandler(this.tsmi_File_Save_Click);
     //
     // tsmi_File_Save_As
     //
     this.tsmi_File_Save_As.Name = "tsmi_File_Save_As";
     this.tsmi_File_Save_As.Size = new System.Drawing.Size(114, 22);
     this.tsmi_File_Save_As.Text = "Save As";
     this.tsmi_File_Save_As.Click += new System.EventHandler(this.tsmi_File_Save_As_Click);
     //
     // tsmi_File_New
     //
     this.tsmi_File_New.Name = "tsmi_File_New";
     this.tsmi_File_New.Size = new System.Drawing.Size(114, 22);
     this.tsmi_File_New.Text = "New";
     //
     // tsmi_File_Open
     //
     this.tsmi_File_Open.Name = "tsmi_File_Open";
     this.tsmi_File_Open.Size = new System.Drawing.Size(114, 22);
     this.tsmi_File_Open.Text = "Open";
     //
     // tsmi_Params_Insert
     //
     this.tsmi_Params_Insert.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.tsmi_Params_ComboBox,
     this.tsmi_Params_Insert_PRINT_parameters_command_at_the_top_of_the_text});
     this.tsmi_Params_Insert.Name = "tsmi_Params_Insert";
     this.tsmi_Params_Insert.Size = new System.Drawing.Size(58, 20);
     this.tsmi_Params_Insert.Text = "Params";
     //
     // tsmi_Params_ComboBox
     //
     this.tsmi_Params_ComboBox.AutoSize = false;
     this.tsmi_Params_ComboBox.Name = "tsmi_Params_ComboBox";
     this.tsmi_Params_ComboBox.Size = new System.Drawing.Size(700, 23);
     //
     // tsmi_Params_Insert_PRINT_parameters_command_at_the_top_of_the_text
     //
     this.tsmi_Params_Insert_PRINT_parameters_command_at_the_top_of_the_text.Name = "tsmi_Params_Insert_PRINT_parameters_command_at_the_top_of_the_text";
     this.tsmi_Params_Insert_PRINT_parameters_command_at_the_top_of_the_text.Size = new System.Drawing.Size(760, 22);
     this.tsmi_Params_Insert_PRINT_parameters_command_at_the_top_of_the_text.Text = "Insert PRINT parameters command_at_the_top_of_the_text";
     this.tsmi_Params_Insert_PRINT_parameters_command_at_the_top_of_the_text.Click += new System.EventHandler(this.tsmi_Params_Insert_PRINT_parameters_command_at_the_top_of_the_text_Click);
     //
     // btn_Cancel
     //
     this.btn_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_Cancel.Location = new System.Drawing.Point(708, 560);
     this.btn_Cancel.Name = "btn_Cancel";
     this.btn_Cancel.Size = new System.Drawing.Size(94, 22);
     this.btn_Cancel.TabIndex = 6;
     this.btn_Cancel.Text = "Cancel";
     this.btn_Cancel.UseVisualStyleBackColor = true;
     this.btn_Cancel.Click += new System.EventHandler(this.btn_Cancel_Click);
     //
     // chkBoxbPreviewSQLBeforeExecution
     //
     this.chkBoxbPreviewSQLBeforeExecution.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.chkBoxbPreviewSQLBeforeExecution.AutoSize = true;
     this.chkBoxbPreviewSQLBeforeExecution.Location = new System.Drawing.Point(12, 566);
     this.chkBoxbPreviewSQLBeforeExecution.Name = "chkBoxbPreviewSQLBeforeExecution";
     this.chkBoxbPreviewSQLBeforeExecution.Size = new System.Drawing.Size(156, 17);
     this.chkBoxbPreviewSQLBeforeExecution.TabIndex = 7;
     this.chkBoxbPreviewSQLBeforeExecution.Text = "Stop Before SQL Execution";
     this.chkBoxbPreviewSQLBeforeExecution.UseVisualStyleBackColor = true;
     //
     // btn_OK
     //
     this.btn_OK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_OK.Location = new System.Drawing.Point(608, 560);
     this.btn_OK.Name = "btn_OK";
     this.btn_OK.Size = new System.Drawing.Size(87, 22);
     this.btn_OK.TabIndex = 8;
     this.btn_OK.Text = "OK";
     this.btn_OK.UseVisualStyleBackColor = true;
     this.btn_OK.Click += new System.EventHandler(this.btn_OK_Click);
     //
     // frmEditor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(881, 595);
     this.Controls.Add(this.btn_OK);
     this.Controls.Add(this.chkBoxbPreviewSQLBeforeExecution);
     this.Controls.Add(this.btn_Cancel);
     this.Controls.Add(this.btn_Execute_SQL);
     this.Controls.Add(this.btnHelp);
     this.Controls.Add(this.lblStatus);
     this.Controls.Add(this.rtfBox);
     this.Controls.Add(this.menuStrip1);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip = this.menuStrip1;
     this.Name = "frmEditor";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = " SQL Editor";
     this.TopMost = true;
     this.Load += new System.EventHandler(this.frmEditor_Load);
     this.menuStrip1.ResumeLayout(false);
     this.menuStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFind));
     this.lblStatus = new SqlBuilder.Controls.StatusInfo();
     this.txtInput = new System.Windows.Forms.TextBox();
     this.lblHeading = new System.Windows.Forms.Label();
     this.btnExecute = new System.Windows.Forms.Button();
     this.txtReplace = new System.Windows.Forms.TextBox();
     this.btnReplace = new System.Windows.Forms.Button();
     this.lblReplace = new System.Windows.Forms.Label();
     this.checkWholeWord = new System.Windows.Forms.CheckBox();
     this.checkExtra1 = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // lblStatus
     //
     this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.lblStatus.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblStatus.ForeColor = System.Drawing.Color.Blue;
     this.lblStatus.Location = new System.Drawing.Point(8, 132);
     this.lblStatus.Name = "lblStatus";
     this.lblStatus.Size = new System.Drawing.Size(427, 17);
     this.lblStatus.TabIndex = 10;
     this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtInput
     //
     this.txtInput.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtInput.Location = new System.Drawing.Point(8, 20);
     this.txtInput.Name = "txtInput";
     this.txtInput.Size = new System.Drawing.Size(337, 20);
     this.txtInput.TabIndex = 1;
     this.txtInput.Enter += new System.EventHandler(this.OnTxtBoxEnter);
     this.txtInput.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OnTxtInputKeyUp);
     //
     // lblHeading
     //
     this.lblHeading.Location = new System.Drawing.Point(8, 4);
     this.lblHeading.Name = "lblHeading";
     this.lblHeading.Size = new System.Drawing.Size(178, 12);
     this.lblHeading.TabIndex = 0;
     this.lblHeading.Text = "Text";
     //
     // btnExecute
     //
     this.btnExecute.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnExecute.Location = new System.Drawing.Point(355, 20);
     this.btnExecute.Name = "btnExecute";
     this.btnExecute.Size = new System.Drawing.Size(80, 22);
     this.btnExecute.TabIndex = 3;
     this.btnExecute.Text = "Exec";
     this.btnExecute.Click += new System.EventHandler(this.OnButtonExecute);
     this.btnExecute.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OnButtonKeyUp);
     //
     // txtReplace
     //
     this.txtReplace.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtReplace.Location = new System.Drawing.Point(8, 64);
     this.txtReplace.Name = "txtReplace";
     this.txtReplace.Size = new System.Drawing.Size(337, 20);
     this.txtReplace.TabIndex = 2;
     this.txtReplace.Enter += new System.EventHandler(this.OnTxtBoxEnter);
     this.txtReplace.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OnTxtReplaceKeyUp);
     //
     // btnReplace
     //
     this.btnReplace.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnReplace.Location = new System.Drawing.Point(355, 62);
     this.btnReplace.Name = "btnReplace";
     this.btnReplace.Size = new System.Drawing.Size(80, 22);
     this.btnReplace.TabIndex = 4;
     this.btnReplace.Text = "Replace";
     this.btnReplace.Click += new System.EventHandler(this.OnButtonReplace);
     this.btnReplace.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OnButtonKeyUp);
     //
     // lblReplace
     //
     this.lblReplace.Location = new System.Drawing.Point(8, 48);
     this.lblReplace.Name = "lblReplace";
     this.lblReplace.Size = new System.Drawing.Size(178, 12);
     this.lblReplace.TabIndex = 0;
     this.lblReplace.Text = "Replace with";
     //
     // checkWholeWord
     //
     this.checkWholeWord.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.checkWholeWord.Checked = true;
     this.checkWholeWord.CheckState= System.Windows.Forms.CheckState.Checked;
     this.checkWholeWord.Location = new System.Drawing.Point(8, 90);
     this.checkWholeWord.Name = "checkWholeWord";
     this.checkWholeWord.Size = new System.Drawing.Size(418, 16);
     this.checkWholeWord.TabIndex = 5;
     this.checkWholeWord.Text = "Search only whole words";
     //
     // checkExtra1
     //
     this.checkExtra1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.checkExtra1.Location = new System.Drawing.Point(8, 110);
     this.checkExtra1.Name = "checkExtra1";
     this.checkExtra1.Size = new System.Drawing.Size(418, 16);
     this.checkExtra1.TabIndex = 6;
     this.checkExtra1.Text = "Checkbox Extra 1";
     //
     // frmFind
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(442, 158);
     this.Controls.Add(this.checkExtra1);
     this.Controls.Add(this.checkWholeWord);
     this.Controls.Add(this.txtReplace);
     this.Controls.Add(this.txtInput);
     this.Controls.Add(this.lblStatus);
     this.Controls.Add(this.lblReplace);
     this.Controls.Add(this.btnReplace);
     this.Controls.Add(this.btnExecute);
     this.Controls.Add(this.lblHeading);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "frmFind";
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = " SqlBuilder";
     this.ResumeLayout(false);
     this.PerformLayout();
 }