Exemple #1
0
        // Note: Windows Generated Code
        // Removed – Due to space constraints

        private void InitializeComponent()
        {
            this.components               = new System.ComponentModel.Container();
            this.btnLoad                  = new System.Windows.Forms.Button();
            this.listBox1                 = new System.Windows.Forms.ListBox();
            this.lblErrorMsg              = new System.Windows.Forms.Label();
            this.label2                   = new System.Windows.Forms.Label();
            this.memberDataSet            = new DBExample.memberDataSet();
            this.memberTableBindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.memberTableTableAdapter  = new DBExample.memberDataSetTableAdapters.memberTableTableAdapter();
            ((System.ComponentModel.ISupportInitialize)(this.memberDataSet)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.memberTableBindingSource)).BeginInit();
            this.SuspendLayout();
            //
            // btnLoad
            //
            this.btnLoad.Font     = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.btnLoad.Location = new System.Drawing.Point(160, 184);
            this.btnLoad.Name     = "btnLoad";
            this.btnLoad.Size     = new System.Drawing.Size(120, 37);
            this.btnLoad.TabIndex = 0;
            this.btnLoad.Text     = "Load Data";
            this.btnLoad.Click   += new System.EventHandler(this.btnLoad_Click);
            //
            // listBox1
            //
            this.listBox1.DataSource = this.memberTableBindingSource;
            this.listBox1.ItemHeight = 20;
            this.listBox1.Location   = new System.Drawing.Point(38, 40);
            this.listBox1.Name       = "listBox1";
            this.listBox1.Size       = new System.Drawing.Size(216, 124);
            this.listBox1.TabIndex   = 1;
            //
            // lblErrorMsg
            //
            this.lblErrorMsg.Location = new System.Drawing.Point(16, 224);
            this.lblErrorMsg.Name     = "lblErrorMsg";
            this.lblErrorMsg.Size     = new System.Drawing.Size(264, 55);
            this.lblErrorMsg.TabIndex = 2;
            //
            // label2
            //
            this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.label2.Location = new System.Drawing.Point(94, 8);
            this.label2.Name     = "label2";
            this.label2.Size     = new System.Drawing.Size(106, 23);
            this.label2.TabIndex = 3;
            this.label2.Text     = "Members";
            //
            // memberDataSet
            //
            this.memberDataSet.DataSetName             = "memberDataSet";
            this.memberDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            //
            // memberTableBindingSource
            //
            this.memberTableBindingSource.DataMember = "memberTable";
            this.memberTableBindingSource.DataSource = this.memberDataSet;
            //
            // memberTableTableAdapter
            //
            this.memberTableTableAdapter.ClearBeforeFill = true;
            //
            // DbGUI
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
            this.BackColor         = System.Drawing.Color.Green;
            this.ClientSize        = new System.Drawing.Size(292, 273);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.lblErrorMsg);
            this.Controls.Add(this.listBox1);
            this.Controls.Add(this.btnLoad);
            this.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.ForeColor = System.Drawing.Color.Yellow;
            this.Name      = "DbGUI";
            this.Text      = "Accessing database records....";
            this.Load     += new System.EventHandler(this.DbGUI_Load);
            ((System.ComponentModel.ISupportInitialize)(this.memberDataSet)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.memberTableBindingSource)).EndInit();
            this.ResumeLayout(false);
        }
Exemple #2
0
 // Note: Windows Generated Code
 // Removed – Due to space constraints
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.btnLoad = new System.Windows.Forms.Button();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.lblErrorMsg = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.memberDataSet = new DBExample.memberDataSet();
     this.memberTableBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.memberTableTableAdapter = new DBExample.memberDataSetTableAdapters.memberTableTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.memberDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.memberTableBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // btnLoad
     //
     this.btnLoad.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnLoad.Location = new System.Drawing.Point(160, 184);
     this.btnLoad.Name = "btnLoad";
     this.btnLoad.Size = new System.Drawing.Size(120, 37);
     this.btnLoad.TabIndex = 0;
     this.btnLoad.Text = "Load Data";
     this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click);
     //
     // listBox1
     //
     this.listBox1.DataSource = this.memberTableBindingSource;
     this.listBox1.ItemHeight = 20;
     this.listBox1.Location = new System.Drawing.Point(38, 40);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(216, 124);
     this.listBox1.TabIndex = 1;
     //
     // lblErrorMsg
     //
     this.lblErrorMsg.Location = new System.Drawing.Point(16, 224);
     this.lblErrorMsg.Name = "lblErrorMsg";
     this.lblErrorMsg.Size = new System.Drawing.Size(264, 55);
     this.lblErrorMsg.TabIndex = 2;
     //
     // label2
     //
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(94, 8);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(106, 23);
     this.label2.TabIndex = 3;
     this.label2.Text = "Members";
     //
     // memberDataSet
     //
     this.memberDataSet.DataSetName = "memberDataSet";
     this.memberDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // memberTableBindingSource
     //
     this.memberTableBindingSource.DataMember = "memberTable";
     this.memberTableBindingSource.DataSource = this.memberDataSet;
     //
     // memberTableTableAdapter
     //
     this.memberTableTableAdapter.ClearBeforeFill = true;
     //
     // DbGUI
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 19);
     this.BackColor = System.Drawing.Color.Green;
     this.ClientSize = new System.Drawing.Size(292, 273);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.lblErrorMsg);
     this.Controls.Add(this.listBox1);
     this.Controls.Add(this.btnLoad);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ForeColor = System.Drawing.Color.Yellow;
     this.Name = "DbGUI";
     this.Text = "Accessing database records....";
     this.Load += new System.EventHandler(this.DbGUI_Load);
     ((System.ComponentModel.ISupportInitialize)(this.memberDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.memberTableBindingSource)).EndInit();
     this.ResumeLayout(false);
 }