コード例 #1
0
ファイル: PickCatalogDialog.cs プロジェクト: radtek/BootFX
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.button1      = new BootFX.Common.UI.Desktop.DialogBar();
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.listCatalogs = new System.Windows.Forms.ListBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.button1.Location = new System.Drawing.Point(0, 286);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(328, 32);
     this.button1.TabIndex = 0;
     //
     // groupBox1
     //
     this.groupBox1.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.groupBox1.Controls.Add(this.listCatalogs);
     this.groupBox1.Location = new System.Drawing.Point(8, 8);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(314, 274);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "&Databases:";
     //
     // listCatalogs
     //
     this.listCatalogs.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.listCatalogs.IntegralHeight = false;
     this.listCatalogs.Location       = new System.Drawing.Point(12, 20);
     this.listCatalogs.Name           = "listCatalogs";
     this.listCatalogs.Size           = new System.Drawing.Size(294, 246);
     this.listCatalogs.Sorted         = true;
     this.listCatalogs.TabIndex       = 0;
     this.listCatalogs.DoubleClick   += new System.EventHandler(this.listCatalogs_DoubleClick);
     //
     // PickCatalogDialog
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(328, 318);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.button1);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "PickCatalogDialog";
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Browse for Database";
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #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.buttonClose = new BootFX.Common.UI.Desktop.DialogBar();
     this.search      = new BootFX.Common.UI.Desktop.EntitySearchControl();
     this.SuspendLayout();
     //
     // buttonClose
     //
     this.buttonClose.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.buttonClose.Location = new System.Drawing.Point(0, 386);
     this.buttonClose.Name     = "buttonClose";
     this.buttonClose.Size     = new System.Drawing.Size(404, 32);
     this.buttonClose.TabIndex = 2;
     //
     // search
     //
     this.search.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.search.EntityType         = null;
     this.search.Location           = new System.Drawing.Point(4, 8);
     this.search.Name               = "search";
     this.search.Size               = new System.Drawing.Size(396, 372);
     this.search.TabIndex           = 3;
     this.search.SearchCompleted   += new System.EventHandler(this.search_SearchCompleted);
     this.search.EntityDoubleClick += new BootFX.Common.Entities.EntityEventHandler(this.search_EntityDoubleClick);
     //
     // EntitySearchDialog
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(404, 418);
     this.Controls.Add(this.search);
     this.Controls.Add(this.buttonClose);
     this.Name = "EntitySearchDialog";
     this.Text = "Find Items";
     this.ResumeLayout(false);
 }
コード例 #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1                  = new BootFX.Common.UI.Desktop.DialogBar();
     this.groupBox1               = new System.Windows.Forms.GroupBox();
     this.buttonBrowse            = new System.Windows.Forms.Button();
     this.buttonTest              = new System.Windows.Forms.Button();
     this.textPassword            = new System.Windows.Forms.TextBox();
     this.labelPassword           = new System.Windows.Forms.Label();
     this.textUsername            = new System.Windows.Forms.TextBox();
     this.labelUsername           = new System.Windows.Forms.Label();
     this.checkIntegratedSecurity = new System.Windows.Forms.CheckBox();
     this.textDatabaseName        = new System.Windows.Forms.TextBox();
     this.labelDatabaseName       = new System.Windows.Forms.Label();
     this.textServerName          = new System.Windows.Forms.TextBox();
     this.label1                  = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location = new System.Drawing.Point(0, 184);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(348, 32);
     this.panel1.TabIndex = 0;
     //
     // groupBox1
     //
     this.groupBox1.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.groupBox1.Controls.Add(this.buttonBrowse);
     this.groupBox1.Controls.Add(this.buttonTest);
     this.groupBox1.Controls.Add(this.textPassword);
     this.groupBox1.Controls.Add(this.labelPassword);
     this.groupBox1.Controls.Add(this.textUsername);
     this.groupBox1.Controls.Add(this.labelUsername);
     this.groupBox1.Controls.Add(this.checkIntegratedSecurity);
     this.groupBox1.Controls.Add(this.textDatabaseName);
     this.groupBox1.Controls.Add(this.labelDatabaseName);
     this.groupBox1.Controls.Add(this.textServerName);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(8, 8);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(332, 170);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Settings:";
     //
     // buttonBrowse
     //
     this.buttonBrowse.Location = new System.Drawing.Point(300, 112);
     this.buttonBrowse.Name     = "buttonBrowse";
     this.buttonBrowse.Size     = new System.Drawing.Size(24, 20);
     this.buttonBrowse.TabIndex = 10;
     this.buttonBrowse.Text     = "&...";
     this.buttonBrowse.Click   += new System.EventHandler(this.buttonBrowse_Click);
     //
     // buttonTest
     //
     this.buttonTest.Location = new System.Drawing.Point(248, 140);
     this.buttonTest.Name     = "buttonTest";
     this.buttonTest.Size     = new System.Drawing.Size(76, 23);
     this.buttonTest.TabIndex = 9;
     this.buttonTest.Text     = "&Test";
     this.buttonTest.Click   += new System.EventHandler(this.buttonTest_Click);
     //
     // textPassword
     //
     this.textPassword.Enabled      = false;
     this.textPassword.Location     = new System.Drawing.Point(104, 88);
     this.textPassword.Name         = "textPassword";
     this.textPassword.PasswordChar = '*';
     this.textPassword.Size         = new System.Drawing.Size(220, 20);
     this.textPassword.TabIndex     = 8;
     this.textPassword.Text         = "";
     //
     // labelPassword
     //
     this.labelPassword.Enabled   = false;
     this.labelPassword.Location  = new System.Drawing.Point(12, 88);
     this.labelPassword.Name      = "labelPassword";
     this.labelPassword.Size      = new System.Drawing.Size(96, 20);
     this.labelPassword.TabIndex  = 7;
     this.labelPassword.Text      = "&Password:"******"textUsername";
     this.textUsername.Size     = new System.Drawing.Size(220, 20);
     this.textUsername.TabIndex = 6;
     this.textUsername.Text     = "";
     //
     // labelUsername
     //
     this.labelUsername.Enabled   = false;
     this.labelUsername.Location  = new System.Drawing.Point(12, 64);
     this.labelUsername.Name      = "labelUsername";
     this.labelUsername.Size      = new System.Drawing.Size(96, 20);
     this.labelUsername.TabIndex  = 5;
     this.labelUsername.Text      = "U&sername:";
     this.labelUsername.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // checkIntegratedSecurity
     //
     this.checkIntegratedSecurity.Checked         = true;
     this.checkIntegratedSecurity.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkIntegratedSecurity.Location        = new System.Drawing.Point(12, 44);
     this.checkIntegratedSecurity.Name            = "checkIntegratedSecurity";
     this.checkIntegratedSecurity.Size            = new System.Drawing.Size(220, 20);
     this.checkIntegratedSecurity.TabIndex        = 4;
     this.checkIntegratedSecurity.Text            = "&Use integrated security";
     this.checkIntegratedSecurity.CheckedChanged += new System.EventHandler(this.checkIntegratedSecurity_CheckedChanged);
     //
     // textDatabaseName
     //
     this.textDatabaseName.Location = new System.Drawing.Point(104, 112);
     this.textDatabaseName.Name     = "textDatabaseName";
     this.textDatabaseName.Size     = new System.Drawing.Size(192, 20);
     this.textDatabaseName.TabIndex = 3;
     this.textDatabaseName.Text     = "";
     //
     // labelDatabaseName
     //
     this.labelDatabaseName.Location  = new System.Drawing.Point(12, 112);
     this.labelDatabaseName.Name      = "labelDatabaseName";
     this.labelDatabaseName.Size      = new System.Drawing.Size(96, 20);
     this.labelDatabaseName.TabIndex  = 2;
     this.labelDatabaseName.Text      = "&Database name:";
     this.labelDatabaseName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textServerName
     //
     this.textServerName.Location = new System.Drawing.Point(104, 20);
     this.textServerName.Name     = "textServerName";
     this.textServerName.Size     = new System.Drawing.Size(220, 20);
     this.textServerName.TabIndex = 1;
     this.textServerName.Text     = "";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(12, 20);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(96, 20);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "&Server name:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ConnectionStringDialog
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(348, 216);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ConnectionStringDialog";
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Build Connection String";
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }