⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addressbook.cs

📁 this is a good book for the visual c#
💻 CS
📖 第 1 页 / 共 4 页
字号:
          this.firstLabel.Size = new System.Drawing.Size(152, 16);
          this.firstLabel.TabIndex = 6;
          this.firstLabel.Text = "First name:";
          this.firstLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
          // 
          // lastLabel
          // 
          this.lastLabel.Location = new System.Drawing.Point(16, 104);
          this.lastLabel.Name = "lastLabel";
          this.lastLabel.Size = new System.Drawing.Size(152, 16);
          this.lastLabel.TabIndex = 6;
          this.lastLabel.Text = "Last Name:";
          this.lastLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
          // 
          // firstTextBox
          // 
          this.firstTextBox.Location = new System.Drawing.Point(184, 72);
          this.firstTextBox.Name = "firstTextBox";
          this.firstTextBox.Size = new System.Drawing.Size(176, 20);
          this.firstTextBox.TabIndex = 5;
          // 
          // stateTextBox
          // 
          this.stateTextBox.Location = new System.Drawing.Point(184, 200);
          this.stateTextBox.Name = "stateTextBox";
          this.stateTextBox.Size = new System.Drawing.Size(176, 20);
          this.stateTextBox.TabIndex = 5;
          // 
          // clearButton
          // 
          this.clearButton.Location = new System.Drawing.Point(224, 0);
          this.clearButton.Name = "clearButton";
          this.clearButton.Size = new System.Drawing.Size(80, 24);
          this.clearButton.TabIndex = 3;
          this.clearButton.Text = "Clear";
          this.clearButton.Click += new System.EventHandler(this.clearButton_Click);
          // 
          // helpButton
          // 
          this.helpButton.Location = new System.Drawing.Point(304, 0);
          this.helpButton.Name = "helpButton";
          this.helpButton.Size = new System.Drawing.Size(80, 24);
          this.helpButton.TabIndex = 4;
          this.helpButton.Text = "Help";
          this.helpButton.Click += new System.EventHandler(this.helpButton_Click);
          // 
          // idTextBox
          // 
          this.idTextBox.Location = new System.Drawing.Point(184, 40);
          this.idTextBox.Name = "idTextBox";
          this.idTextBox.ReadOnly = true;
          this.idTextBox.Size = new System.Drawing.Size(176, 20);
          this.idTextBox.TabIndex = 5;
          // 
          // lastTextBox
          // 
          this.lastTextBox.Location = new System.Drawing.Point(184, 104);
          this.lastTextBox.Name = "lastTextBox";
          this.lastTextBox.Size = new System.Drawing.Size(176, 20);
          this.lastTextBox.TabIndex = 5;
          // 
          // findButton
          // 
          this.findButton.Location = new System.Drawing.Point(0, 0);
          this.findButton.Name = "findButton";
          this.findButton.Size = new System.Drawing.Size(72, 24);
          this.findButton.TabIndex = 0;
          this.findButton.Text = "Find";
          this.findButton.Click += new System.EventHandler(this.findButton_Click);
          // 
          // addButton
          // 
          this.addButton.Location = new System.Drawing.Point(72, 0);
          this.addButton.Name = "addButton";
          this.addButton.Size = new System.Drawing.Size(80, 24);
          this.addButton.TabIndex = 1;
          this.addButton.Text = "Add";
          this.addButton.Click += new System.EventHandler(this.addButton_Click);
          // 
          // updateButton
          // 
          this.updateButton.Location = new System.Drawing.Point(152, 0);
          this.updateButton.Name = "updateButton";
          this.updateButton.Size = new System.Drawing.Size(72, 24);
          this.updateButton.TabIndex = 2;
          this.updateButton.Text = "Update";
          this.updateButton.Click += new System.EventHandler(this.updateButton_Click);
          // 
          // postalTextBox
          // 
          this.postalTextBox.Location = new System.Drawing.Point(184, 232);
          this.postalTextBox.Name = "postalTextBox";
          this.postalTextBox.Size = new System.Drawing.Size(176, 20);
          this.postalTextBox.TabIndex = 5;
          // 
          // addressTextBox
          // 
          this.addressTextBox.Location = new System.Drawing.Point(184, 136);
          this.addressTextBox.Name = "addressTextBox";
          this.addressTextBox.Size = new System.Drawing.Size(176, 20);
          this.addressTextBox.TabIndex = 5;
          // 
          // cityTextBox
          // 
          this.cityTextBox.Location = new System.Drawing.Point(184, 168);
          this.cityTextBox.Name = "cityTextBox";
          this.cityTextBox.Size = new System.Drawing.Size(176, 20);
          this.cityTextBox.TabIndex = 5;
          // 
          // postalLabel
          // 
          this.postalLabel.Location = new System.Drawing.Point(16, 232);
          this.postalLabel.Name = "postalLabel";
          this.postalLabel.Size = new System.Drawing.Size(152, 16);
          this.postalLabel.TabIndex = 6;
          this.postalLabel.Text = "Postal Code:";
          this.postalLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
          // 
          // countryTextBox
          // 
          this.countryTextBox.Location = new System.Drawing.Point(184, 264);
          this.countryTextBox.Name = "countryTextBox";
          this.countryTextBox.Size = new System.Drawing.Size(176, 20);
          this.countryTextBox.TabIndex = 5;
          // 
          // emailTextBox
          // 
          this.emailTextBox.Location = new System.Drawing.Point(184, 296);
          this.emailTextBox.Name = "emailTextBox";
          this.emailTextBox.Size = new System.Drawing.Size(176, 20);
          this.emailTextBox.TabIndex = 5;
          // 
          // faxLabel
          // 
          this.faxLabel.Location = new System.Drawing.Point(16, 360);
          this.faxLabel.Name = "faxLabel";
          this.faxLabel.Size = new System.Drawing.Size(152, 16);
          this.faxLabel.TabIndex = 6;
          this.faxLabel.Text = "Fax Number:";
          this.faxLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
          // 
          // homeLabel
          // 
          this.homeLabel.Location = new System.Drawing.Point(16, 328);
          this.homeLabel.Name = "homeLabel";
          this.homeLabel.Size = new System.Drawing.Size(152, 16);
          this.homeLabel.TabIndex = 6;
          this.homeLabel.Text = "Home Phone:";
          this.homeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
          // 
          // statusTextBox
          // 
          this.statusTextBox.Location = new System.Drawing.Point(16, 400);
          this.statusTextBox.Multiline = true;
          this.statusTextBox.Name = "statusTextBox";
          this.statusTextBox.ReadOnly = true;
          this.statusTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
          this.statusTextBox.Size = new System.Drawing.Size(344, 120);
          this.statusTextBox.TabIndex = 7;
          // 
          // dataSet1
          // 
          this.dataSet1.DataSetName = "NewDataSet";
          this.dataSet1.Locale = new System.Globalization.CultureInfo("en-US");
          // 
          // oleDbDataAdapter1
          // 
          this.oleDbDataAdapter1.DeleteCommand = this.oleDbDeleteCommand2;
          this.oleDbDataAdapter1.InsertCommand = this.oleDbInsertCommand2;
          this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand2;
          this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
            new System.Data.Common.DataTableMapping("Table", "addresses", new System.Data.Common.DataColumnMapping[] {
                        new System.Data.Common.DataColumnMapping("address", "address"),
                        new System.Data.Common.DataColumnMapping("city", "city"),
                        new System.Data.Common.DataColumnMapping("country", "country"),
                        new System.Data.Common.DataColumnMapping("emailaddress", "emailaddress"),
                        new System.Data.Common.DataColumnMapping("faxnumber", "faxnumber"),
                        new System.Data.Common.DataColumnMapping("firstname", "firstname"),
                        new System.Data.Common.DataColumnMapping("homephone", "homephone"),
                        new System.Data.Common.DataColumnMapping("id", "id"),
                        new System.Data.Common.DataColumnMapping("lastname", "lastname"),
                        new System.Data.Common.DataColumnMapping("postalcode", "postalcode"),
                        new System.Data.Common.DataColumnMapping("stateorprovince", "stateorprovince")})});
          this.oleDbDataAdapter1.UpdateCommand = this.oleDbUpdateCommand2;
          // 
          // oleDbDeleteCommand2
          // 
          this.oleDbDeleteCommand2.CommandText = resources.GetString("oleDbDeleteCommand2.CommandText");
          this.oleDbDeleteCommand2.Connection = this.oleDbConnection1;
          this.oleDbDeleteCommand2.Parameters.AddRange(new System.Data.OleDb.OleDbParameter[] {
            new System.Data.OleDb.OleDbParameter("Original_id", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((byte)(10)), ((byte)(0)), "id", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_address", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "address", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_address1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "address", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_city", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "city", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_city1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "city", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_country", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "country", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_country1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "country", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_emailaddress", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "emailaddress", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_emailaddress1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "emailaddress", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_faxnumber", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "faxnumber", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_faxnumber1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "faxnumber", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_firstname", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "firstname", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_firstname1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "firstname", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_homephone", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "homephone", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_homephone1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "homephone", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_lastname", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "lastname", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_lastname1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "lastname", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_postalcode", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "postalcode", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_postalcode1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "postalcode", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_stateorprovince", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "stateorprovince", System.Data.DataRowVersion.Original, null),
            new System.Data.OleDb.OleDbParameter("Original_stateorprovince1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "stateorprovince", System.Data.DataRowVersion.Original, null)});

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -