/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     crudwork.Models.DataAccess.DataConnectionInfo dataConnectionInfo1 = new crudwork.Models.DataAccess.DataConnectionInfo();
     this.connectionStringForm1 = new crudwork.Controls.FormControls.ConnectionStringForm();
     this.button1 = new System.Windows.Forms.Button();
     this.button2 = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // connectionStringForm1
     //
     this.connectionStringForm1.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)));
     dataConnectionInfo1.ConnectionString          = "";
     dataConnectionInfo1.Filename                  = null;
     dataConnectionInfo1.InputSource               = crudwork.Models.DataAccess.InputSource.Database;
     dataConnectionInfo1.Options                   = null;
     dataConnectionInfo1.Provider                  = crudwork.Models.DataAccess.DatabaseProvider.SqlClient;
     this.connectionStringForm1.DataConnectionInfo = dataConnectionInfo1;
     this.connectionStringForm1.Fieldname          = "Connection String:";
     this.connectionStringForm1.Location           = new System.Drawing.Point(12, 12);
     this.connectionStringForm1.Name               = "connectionStringForm1";
     this.connectionStringForm1.Size               = new System.Drawing.Size(368, 220);
     this.connectionStringForm1.TabIndex           = 0;
     //
     // button1
     //
     this.button1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button1.Location = new System.Drawing.Point(224, 238);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 1;
     this.button1.Text     = "OK";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button2.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.button2.Location                = new System.Drawing.Point(305, 238);
     this.button2.Name                    = "button2";
     this.button2.Size                    = new System.Drawing.Size(75, 23);
     this.button2.TabIndex                = 2;
     this.button2.Text                    = "Cancel";
     this.button2.UseVisualStyleBackColor = true;
     //
     // DataConnectionInfoBuilderDialogBox
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(392, 273);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.connectionStringForm1);
     this.MinimumSize = new System.Drawing.Size(400, 300);
     this.Name        = "DataConnectionInfoBuilderDialogBox";
     this.Text        = "Data Connection Info Builder";
     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()
 {
     crudwork.Models.DataAccess.DataConnectionInfo databaseConnection1 = new crudwork.Models.DataAccess.DataConnectionInfo();
     this.lblDescription        = new System.Windows.Forms.Label();
     this.connectionStringForm1 = new crudwork.Controls.FormControls.ConnectionStringForm();
     this.SuspendLayout();
     //
     // lblDescription
     //
     this.lblDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.lblDescription.Location = new System.Drawing.Point(3, 0);
     this.lblDescription.Name     = "lblDescription";
     this.lblDescription.Padding  = new System.Windows.Forms.Padding(10);
     this.lblDescription.Size     = new System.Drawing.Size(594, 69);
     this.lblDescription.TabIndex = 2;
     this.lblDescription.Text     = "[Description Goes Here...]";
     //
     // connectionStringForm1
     //
     this.connectionStringForm1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
     databaseConnection1.ConnectionString          = "";
     databaseConnection1.Filename                  = null;
     databaseConnection1.Options                   = null;
     databaseConnection1.Provider                  = crudwork.Models.DataAccess.DatabaseProvider.SqlClient;
     databaseConnection1.InputSource               = crudwork.Models.DataAccess.InputSource.Database;
     this.connectionStringForm1.DataConnectionInfo = databaseConnection1;
     this.connectionStringForm1.Fieldname          = "Connection String:";
     this.connectionStringForm1.Location           = new System.Drawing.Point(3, 72);
     this.connectionStringForm1.Name               = "connectionStringForm1";
     this.connectionStringForm1.Size               = new System.Drawing.Size(594, 218);
     this.connectionStringForm1.TabIndex           = 3;
     //
     // ChooseSource
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.connectionStringForm1);
     this.Controls.Add(this.lblDescription);
     this.Name  = "ChooseSource";
     this.Size  = new System.Drawing.Size(600, 400);
     this.Load += new System.EventHandler(this.ChooseSource_Load);
     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()
 {
     crudwork.Models.DataAccess.DataConnectionInfo dataConnectionInfo2 = new crudwork.Models.DataAccess.DataConnectionInfo();
     this.groupBox1             = new System.Windows.Forms.GroupBox();
     this.btnImport             = new System.Windows.Forms.Button();
     this.statusStrip1          = new System.Windows.Forms.StatusStrip();
     this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
     this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar();
     this.csfSaveAs             = new crudwork.Controls.FormControls.ConnectionStringForm();
     this.txtFilename           = new crudwork.Controls.FormControls.TextBoxForm();
     this.groupBox1.SuspendLayout();
     this.statusStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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.csfSaveAs);
     this.groupBox1.Location = new System.Drawing.Point(13, 67);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(567, 252);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Save As...";
     //
     // btnImport
     //
     this.btnImport.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnImport.Location = new System.Drawing.Point(505, 325);
     this.btnImport.Name     = "btnImport";
     this.btnImport.Size     = new System.Drawing.Size(75, 23);
     this.btnImport.TabIndex = 3;
     this.btnImport.Text     = "Import";
     this.btnImport.UseVisualStyleBackColor = true;
     this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
     //
     // statusStrip1
     //
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.toolStripStatusLabel1,
         this.toolStripProgressBar1
     });
     this.statusStrip1.Location = new System.Drawing.Point(0, 351);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Size     = new System.Drawing.Size(592, 22);
     this.statusStrip1.TabIndex = 4;
     this.statusStrip1.Text     = "statusStrip1";
     //
     // toolStripStatusLabel1
     //
     this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
     this.toolStripStatusLabel1.Size = new System.Drawing.Size(109, 17);
     this.toolStripStatusLabel1.Text = "toolStripStatusLabel1";
     //
     // toolStripProgressBar1
     //
     this.toolStripProgressBar1.Name = "toolStripProgressBar1";
     this.toolStripProgressBar1.Size = new System.Drawing.Size(100, 16);
     //
     // csfSaveAs
     //
     dataConnectionInfo2.ConnectionString = "";
     dataConnectionInfo2.Filename         = null;
     dataConnectionInfo2.InputSource      = crudwork.Models.DataAccess.InputSource.Database;
     dataConnectionInfo2.Options          = null;
     dataConnectionInfo2.Provider         = crudwork.Models.DataAccess.DatabaseProvider.SqlClient;
     this.csfSaveAs.DataConnectionInfo    = dataConnectionInfo2;
     this.csfSaveAs.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.csfSaveAs.Fieldname = "Connection String:";
     this.csfSaveAs.Location  = new System.Drawing.Point(3, 16);
     this.csfSaveAs.Name      = "csfSaveAs";
     this.csfSaveAs.Size      = new System.Drawing.Size(561, 233);
     this.csfSaveAs.TabIndex  = 1;
     //
     // txtFilename
     //
     this.txtFilename.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtFilename.Label    = "Filename:";
     this.txtFilename.Location = new System.Drawing.Point(12, 12);
     this.txtFilename.Name     = "txtFilename";
     this.txtFilename.Size     = new System.Drawing.Size(568, 48);
     this.txtFilename.TabIndex = 0;
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(592, 373);
     this.Controls.Add(this.btnImport);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.txtFilename);
     this.Controls.Add(this.statusStrip1);
     this.MinimumSize = new System.Drawing.Size(600, 400);
     this.Name        = "Form1";
     this.Text        = "Delimiter File Importer";
     this.groupBox1.ResumeLayout(false);
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #4
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(ChooseExportTable));
     crudwork.Models.DataAccess.DataConnectionInfo  dataConnectionInfo1 = new crudwork.Models.DataAccess.DataConnectionInfo();
     this.label1                = new System.Windows.Forms.Label();
     this.btnCancel             = new System.Windows.Forms.Button();
     this.btnExport             = new System.Windows.Forms.Button();
     this.chooseListBox1        = new crudwork.Controls.ChooseListBox();
     this.connectionStringForm1 = new crudwork.Controls.FormControls.ConnectionStringForm();
     this.label2                = new System.Windows.Forms.Label();
     this.txtTableStem          = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.Location = new System.Drawing.Point(12, 9);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(368, 27);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Select the table(s) to export, and specify a destination connection string.";
     //
     // btnCancel
     //
     this.btnCancel.Anchor                  = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult            = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location                = new System.Drawing.Point(305, 442);
     this.btnCancel.Name                    = "btnCancel";
     this.btnCancel.Size                    = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex                = 6;
     this.btnCancel.Text                    = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     //
     // btnExport
     //
     this.btnExport.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnExport.Location = new System.Drawing.Point(224, 442);
     this.btnExport.Name     = "btnExport";
     this.btnExport.Size     = new System.Drawing.Size(75, 23);
     this.btnExport.TabIndex = 5;
     this.btnExport.Text     = "Export";
     this.btnExport.UseVisualStyleBackColor = true;
     this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
     //
     // chooseListBox1
     //
     this.chooseListBox1.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.chooseListBox1.Location = new System.Drawing.Point(12, 39);
     this.chooseListBox1.Name     = "chooseListBox1";
     this.chooseListBox1.Options  = ((System.Collections.Generic.Dictionary <string, bool>)(resources.GetObject("chooseListBox1.Options")));
     this.chooseListBox1.Size     = new System.Drawing.Size(368, 200);
     this.chooseListBox1.TabIndex = 1;
     //
     // connectionStringForm1
     //
     this.connectionStringForm1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
     dataConnectionInfo1.ConnectionString          = "";
     dataConnectionInfo1.Filename                  = null;
     dataConnectionInfo1.InputSource               = crudwork.Models.DataAccess.InputSource.Database;
     dataConnectionInfo1.Options                   = null;
     dataConnectionInfo1.Provider                  = crudwork.Models.DataAccess.DatabaseProvider.SqlClient;
     this.connectionStringForm1.DataConnectionInfo = dataConnectionInfo1;
     this.connectionStringForm1.Fieldname          = "Destination Connection String:";
     this.connectionStringForm1.Location           = new System.Drawing.Point(12, 245);
     this.connectionStringForm1.Name               = "connectionStringForm1";
     this.connectionStringForm1.Size               = new System.Drawing.Size(368, 165);
     this.connectionStringForm1.TabIndex           = 2;
     //
     // label2
     //
     this.label2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(12, 419);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(64, 13);
     this.label2.TabIndex = 3;
     this.label2.Text     = "Table Stem:";
     //
     // txtTableStem
     //
     this.txtTableStem.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.txtTableStem.Location = new System.Drawing.Point(82, 416);
     this.txtTableStem.Name     = "txtTableStem";
     this.txtTableStem.Size     = new System.Drawing.Size(298, 20);
     this.txtTableStem.TabIndex = 4;
     //
     // ChooseExportTable
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(392, 473);
     this.Controls.Add(this.txtTableStem);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.chooseListBox1);
     this.Controls.Add(this.btnExport);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.connectionStringForm1);
     this.MinimumSize = new System.Drawing.Size(400, 500);
     this.Name        = "ChooseExportTable";
     this.Text        = "Choose Data Tables to Export ...";
     this.Load       += new System.EventHandler(this.SaveDataSetAs_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }