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

📄 form1.designer.cs

📁 这是关于数据库中绑定到datagridwiew中的数据库技术
💻 CS
字号:
namespace 传感器数据库部分
{
    partial class Form1
    {
        /// <summary>
        /// 必需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// 清理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows 窗体设计器生成的代码

        /// <summary>
        /// 设计器支持所需的方法 - 不要
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
            this.传感器数据库DataSet = new 传感器数据库部分.传感器数据库DataSet();
            this.传感器数据总表BindingSource = new System.Windows.Forms.BindingSource(this.components);
            this.传感器数据总表TableAdapter = new 传感器数据库部分.传感器数据库DataSetTableAdapters.传感器数据总表TableAdapter();
            this.button1 = new System.Windows.Forms.Button();
            this.dataGridView1 = new System.Windows.Forms.DataGridView();
            this.编号IDDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.时间DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.线位移静态mmDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.线位移动态mmDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.角位移静态DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.角位移动态DataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
            this.button2 = new System.Windows.Forms.Button();
            this.label1 = new System.Windows.Forms.Label();
            this.label2 = new System.Windows.Forms.Label();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.button3 = new System.Windows.Forms.Button();
            this.comboBox1 = new System.Windows.Forms.ComboBox();
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.传感器数据库DataSet)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.传感器数据总表BindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
            this.SuspendLayout();
            // 
            // bindingSource1
            // 
            this.bindingSource1.DataSource = this.传感器数据库DataSet;
            this.bindingSource1.Position = 0;
            // 
            // 传感器数据库DataSet
            // 
            this.传感器数据库DataSet.DataSetName = "传感器数据库DataSet";
            this.传感器数据库DataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            // 
            // 传感器数据总表BindingSource
            // 
            this.传感器数据总表BindingSource.DataMember = "传感器数据总表";
            this.传感器数据总表BindingSource.DataSource = this.bindingSource1;
            // 
            // 传感器数据总表TableAdapter
            // 
            this.传感器数据总表TableAdapter.ClearBeforeFill = true;
            // 
            // button1
            // 
            this.button1.Location = new System.Drawing.Point(190, 319);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(91, 31);
            this.button1.TabIndex = 1;
            this.button1.Text = "显示数据报表";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click);
            // 
            // dataGridView1
            // 
            this.dataGridView1.AutoGenerateColumns = false;
            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
            this.编号IDDataGridViewTextBoxColumn,
            this.时间DataGridViewTextBoxColumn,
            this.线位移静态mmDataGridViewTextBoxColumn,
            this.线位移动态mmDataGridViewTextBoxColumn,
            this.角位移静态DataGridViewTextBoxColumn,
            this.角位移动态DataGridViewTextBoxColumn});
            this.dataGridView1.DataSource = this.传感器数据总表BindingSource;
            this.dataGridView1.Location = new System.Drawing.Point(12, 85);
            this.dataGridView1.Name = "dataGridView1";
            this.dataGridView1.RowTemplate.Height = 23;
            this.dataGridView1.Size = new System.Drawing.Size(663, 228);
            this.dataGridView1.TabIndex = 0;
            // 
            // 编号IDDataGridViewTextBoxColumn
            // 
            this.编号IDDataGridViewTextBoxColumn.DataPropertyName = "编号ID";
            this.编号IDDataGridViewTextBoxColumn.HeaderText = "编号ID";
            this.编号IDDataGridViewTextBoxColumn.Name = "编号IDDataGridViewTextBoxColumn";
            this.编号IDDataGridViewTextBoxColumn.Width = 90;
            // 
            // 时间DataGridViewTextBoxColumn
            // 
            this.时间DataGridViewTextBoxColumn.DataPropertyName = "时间";
            this.时间DataGridViewTextBoxColumn.HeaderText = "时间";
            this.时间DataGridViewTextBoxColumn.Name = "时间DataGridViewTextBoxColumn";
            this.时间DataGridViewTextBoxColumn.Width = 120;
            // 
            // 线位移静态mmDataGridViewTextBoxColumn
            // 
            this.线位移静态mmDataGridViewTextBoxColumn.DataPropertyName = "线位移(静态/mm)";
            this.线位移静态mmDataGridViewTextBoxColumn.HeaderText = "线位移(静态/mm)";
            this.线位移静态mmDataGridViewTextBoxColumn.Name = "线位移静态mmDataGridViewTextBoxColumn";
            this.线位移静态mmDataGridViewTextBoxColumn.Width = 120;
            // 
            // 线位移动态mmDataGridViewTextBoxColumn
            // 
            this.线位移动态mmDataGridViewTextBoxColumn.DataPropertyName = "线位移(动态/mm)";
            this.线位移动态mmDataGridViewTextBoxColumn.HeaderText = "线位移(动态/mm)";
            this.线位移动态mmDataGridViewTextBoxColumn.Name = "线位移动态mmDataGridViewTextBoxColumn";
            this.线位移动态mmDataGridViewTextBoxColumn.Width = 120;
            // 
            // 角位移静态DataGridViewTextBoxColumn
            // 
            this.角位移静态DataGridViewTextBoxColumn.DataPropertyName = "角位移(静态/°)";
            this.角位移静态DataGridViewTextBoxColumn.HeaderText = "角位移(静态/°)";
            this.角位移静态DataGridViewTextBoxColumn.Name = "角位移静态DataGridViewTextBoxColumn";
            this.角位移静态DataGridViewTextBoxColumn.Width = 120;
            // 
            // 角位移动态DataGridViewTextBoxColumn
            // 
            this.角位移动态DataGridViewTextBoxColumn.DataPropertyName = "角位移(动态/°)";
            this.角位移动态DataGridViewTextBoxColumn.HeaderText = "角位移(动态/°)";
            this.角位移动态DataGridViewTextBoxColumn.Name = "角位移动态DataGridViewTextBoxColumn";
            this.角位移动态DataGridViewTextBoxColumn.Width = 120;
            // 
            // button2
            // 
            this.button2.Location = new System.Drawing.Point(425, 319);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(91, 31);
            this.button2.TabIndex = 2;
            this.button2.Text = "关闭";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.Location = new System.Drawing.Point(38, 33);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(120, 16);
            this.label1.TabIndex = 3;
            this.label1.Text = "选择查询条件:";
            // 
            // label2
            // 
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.Location = new System.Drawing.Point(312, 33);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(104, 16);
            this.label2.TabIndex = 5;
            this.label2.Text = "设置查询值:";
            // 
            // textBox1
            // 
            this.textBox1.Location = new System.Drawing.Point(414, 28);
            this.textBox1.Name = "textBox1";
            this.textBox1.Size = new System.Drawing.Size(120, 21);
            this.textBox1.TabIndex = 6;
            // 
            // button3
            // 
            this.button3.Location = new System.Drawing.Point(580, 26);
            this.button3.Name = "button3";
            this.button3.Size = new System.Drawing.Size(75, 23);
            this.button3.TabIndex = 7;
            this.button3.Text = "开始查询";
            this.button3.UseVisualStyleBackColor = true;
            this.button3.Click += new System.EventHandler(this.button3_Click);
            // 
            // comboBox1
            // 
            this.comboBox1.FormattingEnabled = true;
            this.comboBox1.Items.AddRange(new object[] {
            "编号ID",
            "时间",
            "线位移(静态/mm)",
            "线位移(动态/mm)",
            "角位移(静态/°)",
            "角位移(动态/°)",
            "所有记录"});
            this.comboBox1.Location = new System.Drawing.Point(155, 29);
            this.comboBox1.Name = "comboBox1";
            this.comboBox1.Size = new System.Drawing.Size(121, 20);
            this.comboBox1.TabIndex = 8;
            // 
            // Form1
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(707, 372);
            this.Controls.Add(this.comboBox1);
            this.Controls.Add(this.button3);
            this.Controls.Add(this.textBox1);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.dataGridView1);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "Form1";
            this.Text = "显示数据库数据";
            this.Load += new System.EventHandler(this.Form1_Load);
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.传感器数据库DataSet)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.传感器数据总表BindingSource)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.BindingSource bindingSource1;
        private 传感器数据库DataSet 传感器数据库DataSet;
        private System.Windows.Forms.BindingSource 传感器数据总表BindingSource;
        private 传感器数据库部分.传感器数据库DataSetTableAdapters.传感器数据总表TableAdapter 传感器数据总表TableAdapter;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.DataGridView dataGridView1;
        private System.Windows.Forms.Button button2;
        private System.Windows.Forms.DataGridViewTextBoxColumn 编号IDDataGridViewTextBoxColumn;
        private System.Windows.Forms.DataGridViewTextBoxColumn 时间DataGridViewTextBoxColumn;
        private System.Windows.Forms.DataGridViewTextBoxColumn 线位移静态mmDataGridViewTextBoxColumn;
        private System.Windows.Forms.DataGridViewTextBoxColumn 线位移动态mmDataGridViewTextBoxColumn;
        private System.Windows.Forms.DataGridViewTextBoxColumn 角位移静态DataGridViewTextBoxColumn;
        private System.Windows.Forms.DataGridViewTextBoxColumn 角位移动态DataGridViewTextBoxColumn;

        private System.Data.OleDb.OleDbConnection oleDbConnection1;
        private System.Data.OleDb.OleDbCommand oleDbSelectCommand1;
        private System.Data.OleDb.OleDbCommand oleDbInsertCommand1;
        private System.Data.OleDb.OleDbCommand oleDbUpdataCommand1;
        private System.Data.OleDb.OleDbCommand oleDbDeleteCommand1;
        private System.Data.OleDb.OleDbDataAdapter oleDbDataAdapter1;
        private System.Data.DataSet dataSet1;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox textBox1;
        private System.Windows.Forms.Button button3;
        private System.Windows.Forms.ComboBox comboBox1;
    }
}

⌨️ 快捷键说明

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