📄 typesetting.designer.cs
字号:
this.sqlDeleteCommand1.CommandText = "DELETE FROM [Readertype] WHERE (([Typename] = @Original_Typename) AND ([BookDays]" +
" = @Original_BookDays))";
this.sqlDeleteCommand1.Connection = this.sqlConnection1;
this.sqlDeleteCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
new System.Data.SqlClient.SqlParameter("@Original_Typename", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Typename", System.Data.DataRowVersion.Original, null),
new System.Data.SqlClient.SqlParameter("@Original_BookDays", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "BookDays", System.Data.DataRowVersion.Original, null)});
//
// sqlDataAdapter1
//
this.sqlDataAdapter1.DeleteCommand = this.sqlDeleteCommand1;
this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1;
this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
new System.Data.Common.DataTableMapping("Table", "Readertype", new System.Data.Common.DataColumnMapping[] {
new System.Data.Common.DataColumnMapping("Typename", "Typename"),
new System.Data.Common.DataColumnMapping("BookDays", "BookDays")})});
this.sqlDataAdapter1.UpdateCommand = this.sqlUpdateCommand1;
//
// dataGridView1
//
this.dataGridView1.AutoGenerateColumns = false;
this.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.typenameDataGridViewTextBoxColumn,
this.bookDaysDataGridViewTextBoxColumn});
this.dataGridView1.DataMember = "Readertype";
this.dataGridView1.DataSource = this.readertypeDataSet11;
this.dataGridView1.GridColor = System.Drawing.SystemColors.ControlText;
this.dataGridView1.Location = new System.Drawing.Point(329, 37);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(243, 238);
this.dataGridView1.TabIndex = 1;
//
// typenameDataGridViewTextBoxColumn
//
this.typenameDataGridViewTextBoxColumn.DataPropertyName = "Typename";
this.typenameDataGridViewTextBoxColumn.HeaderText = "Typename";
this.typenameDataGridViewTextBoxColumn.Name = "typenameDataGridViewTextBoxColumn";
//
// bookDaysDataGridViewTextBoxColumn
//
this.bookDaysDataGridViewTextBoxColumn.DataPropertyName = "BookDays";
this.bookDaysDataGridViewTextBoxColumn.HeaderText = "BookDays";
this.bookDaysDataGridViewTextBoxColumn.Name = "bookDaysDataGridViewTextBoxColumn";
//
// readertypeDataSet11
//
this.readertypeDataSet11.DataSetName = "ReadertypeDataSet1";
this.readertypeDataSet11.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(50, 62);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 2;
this.label1.Text = "基本信息";
//
// textBox1
//
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.readertypeDataSet11, "Readertype.Typename", true));
this.textBox1.Location = new System.Drawing.Point(105, 101);
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.Size = new System.Drawing.Size(129, 21);
this.textBox1.TabIndex = 3;
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
//
// textBox2
//
this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.readertypeDataSet11, "Readertype.BookDays", true));
this.textBox2.Location = new System.Drawing.Point(105, 178);
this.textBox2.Name = "textBox2";
this.textBox2.ReadOnly = true;
this.textBox2.Size = new System.Drawing.Size(127, 21);
this.textBox2.TabIndex = 4;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(31, 104);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 12);
this.label2.TabIndex = 5;
this.label2.Text = "读者类型";
this.label2.Click += new System.EventHandler(this.label2_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(31, 181);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(53, 12);
this.label3.TabIndex = 6;
this.label3.Text = "借阅天数";
//
// TypeSetting
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(584, 327);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label1);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.toolStrip1);
this.Name = "TypeSetting";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "用户类型设置";
this.Load += new System.EventHandler(this.TypeSetting_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.readertypeDataSet11)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
//--------------创建窗体时读入全部数据--------------
private void TypeSetting_Load(object sender, System.EventArgs e)
{
//sqlDataAdapter1.SelectCommand.Parameters[0].Value = "%%";
sqlDataAdapter1.Fill(readertypeDataSet11);
//为数据集添加数据项浏览控制
cmOrders = (CurrencyManager)BindingContext[readertypeDataSet11, "Readertype"];
}
private CurrencyManager cmOrders;//数据导航
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.ToolStripButton toolStripButton2;
private System.Windows.Forms.ToolStripButton toolStripButton3;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton toolStripButton5;
private System.Windows.Forms.ToolStripButton toolStripButton4;
private System.Data.SqlClient.SqlCommand sqlSelectCommand1;
private System.Data.SqlClient.SqlCommand sqlInsertCommand1;
private System.Data.SqlClient.SqlCommand sqlUpdateCommand1;
private System.Data.SqlClient.SqlCommand sqlDeleteCommand1;
private System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
private System.Windows.Forms.DataGridView dataGridView1;
private Label label1;
private TextBox textBox1;
private TextBox textBox2;
private Label label2;
private Label label3;
private System.Data.SqlClient.SqlConnection sqlConnection1;
private ReadertypeDataSet1 readertypeDataSet11;
private DataGridViewTextBoxColumn typenameDataGridViewTextBoxColumn;
private DataGridViewTextBoxColumn bookDaysDataGridViewTextBoxColumn;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -