Ejemplo 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()
 {
     this.pnTop     = new System.Windows.Forms.Panel();
     this.btClear   = new System.Windows.Forms.Button();
     this.btExecute = new System.Windows.Forms.Button();
     this.tbSql     = new System.Windows.Forms.TextBox();
     this.splitter  = new System.Windows.Forms.Splitter();
     this.tbResult  = new System.Windows.Forms.TextBox();
     this.command   = new Devart.Data.PostgreSql.PgSqlCommand();
     this.pnTop.SuspendLayout();
     this.SuspendLayout();
     //
     // pnTop
     //
     this.pnTop.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btClear,
         this.btExecute
     });
     this.pnTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnTop.Name     = "pnTop";
     this.pnTop.Size     = new System.Drawing.Size(376, 24);
     this.pnTop.TabIndex = 2;
     //
     // btClear
     //
     this.btClear.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btClear.Location  = new System.Drawing.Point(76, 0);
     this.btClear.Name      = "btClear";
     this.btClear.TabIndex  = 1;
     this.btClear.Text      = "Clear";
     this.btClear.Click    += new System.EventHandler(this.btClear_Click);
     //
     // btExecute
     //
     this.btExecute.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btExecute.Name      = "btExecute";
     this.btExecute.TabIndex  = 0;
     this.btExecute.Text      = "Execute";
     this.btExecute.Click    += new System.EventHandler(this.btExecute_Click);
     //
     // tbSql
     //
     this.tbSql.Dock      = System.Windows.Forms.DockStyle.Top;
     this.tbSql.Location  = new System.Drawing.Point(0, 24);
     this.tbSql.Multiline = true;
     this.tbSql.Name      = "tbSql";
     this.tbSql.Size      = new System.Drawing.Size(376, 64);
     this.tbSql.TabIndex  = 3;
     this.tbSql.Text      = "";
     this.tbSql.Leave    += new System.EventHandler(this.tbSql_Leave);
     //
     // splitter
     //
     this.splitter.Dock     = System.Windows.Forms.DockStyle.Top;
     this.splitter.Location = new System.Drawing.Point(0, 88);
     this.splitter.MinExtra = 50;
     this.splitter.Name     = "splitter";
     this.splitter.Size     = new System.Drawing.Size(376, 3);
     this.splitter.TabIndex = 4;
     this.splitter.TabStop  = false;
     //
     // tbResult
     //
     this.tbResult.BackColor  = System.Drawing.SystemColors.Window;
     this.tbResult.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.tbResult.Font       = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbResult.Location   = new System.Drawing.Point(0, 91);
     this.tbResult.Multiline  = true;
     this.tbResult.Name       = "tbResult";
     this.tbResult.ReadOnly   = true;
     this.tbResult.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.tbResult.Size       = new System.Drawing.Size(376, 147);
     this.tbResult.TabIndex   = 5;
     this.tbResult.Text       = "";
     this.tbResult.WordWrap   = false;
     //
     // command
     //
     this.command.CommandText = "SELECT * FROM dept_container";
     this.command.Name        = "command";
     this.command.Owner       = this;
     //
     // RowDataReaderDemoControl
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tbResult,
         this.splitter,
         this.tbSql,
         this.pnTop
     });
     this.Name = "RowDataReaderDemoControl";
     this.Size = new System.Drawing.Size(376, 238);
     this.pnTop.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo 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()
 {
     this.pnTop        = new System.Windows.Forms.Panel();
     this.btClear      = new System.Windows.Forms.Button();
     this.btExecute    = new System.Windows.Forms.Button();
     this.tbResult     = new System.Windows.Forms.TextBox();
     this.pgSqlCommand = new Devart.Data.PostgreSql.PgSqlCommand();
     this.pnTop.SuspendLayout();
     this.SuspendLayout();
     //
     // pnTop
     //
     this.pnTop.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btClear,
         this.btExecute
     });
     this.pnTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnTop.Name     = "pnTop";
     this.pnTop.Size     = new System.Drawing.Size(376, 24);
     this.pnTop.TabIndex = 1;
     //
     // btClear
     //
     this.btClear.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btClear.Location  = new System.Drawing.Point(76, 0);
     this.btClear.Name      = "btClear";
     this.btClear.TabIndex  = 1;
     this.btClear.Text      = "Clear";
     this.btClear.Click    += new System.EventHandler(this.btClear_Click);
     //
     // btExecute
     //
     this.btExecute.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btExecute.Name      = "btExecute";
     this.btExecute.TabIndex  = 0;
     this.btExecute.Text      = "Execute";
     this.btExecute.Click    += new System.EventHandler(this.btExecute_Click);
     //
     // tbResult
     //
     this.tbResult.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.tbResult.Font       = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204)));
     this.tbResult.Location   = new System.Drawing.Point(0, 24);
     this.tbResult.Multiline  = true;
     this.tbResult.Name       = "tbResult";
     this.tbResult.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.tbResult.Size       = new System.Drawing.Size(376, 214);
     this.tbResult.TabIndex   = 7;
     this.tbResult.Text       = "";
     this.tbResult.WordWrap   = false;
     //
     // pgSqlCommand
     //
     this.pgSqlCommand.CommandText = "SELECT * FROM getdeptCursor(\'dept\')";
     this.pgSqlCommand.Name        = "pgSqlCommand";
     this.pgSqlCommand.Owner       = this;
     //
     // RefCursorDemoControl
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tbResult,
         this.pnTop
     });
     this.Name = "RefCursorDemoControl";
     this.Size = new System.Drawing.Size(376, 238);
     this.pnTop.ResumeLayout(false);
     this.ResumeLayout(false);
 }