📄 frmdc.designer.cs
字号:
this.label2.Location = new System.Drawing.Point(121, 18);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(65, 12);
this.label2.TabIndex = 2;
this.label2.Text = "菜品名称:";
//
// txtNum
//
this.txtNum.Enabled = false;
this.txtNum.Location = new System.Drawing.Point(70, 13);
this.txtNum.Name = "txtNum";
this.txtNum.Size = new System.Drawing.Size(44, 21);
this.txtNum.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(6, 17);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(65, 12);
this.label1.TabIndex = 0;
this.label1.Text = "菜单编号:";
//
// groupBox3
//
this.groupBox3.BackColor = System.Drawing.Color.Transparent;
this.groupBox3.Controls.Add(this.btnExit);
this.groupBox3.Controls.Add(this.btnDelete);
this.groupBox3.Controls.Add(this.btnSave);
this.groupBox3.Location = new System.Drawing.Point(175, 119);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(349, 43);
this.groupBox3.TabIndex = 2;
this.groupBox3.TabStop = false;
//
// btnExit
//
this.btnExit.Location = new System.Drawing.Point(175, 14);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(75, 23);
this.btnExit.TabIndex = 3;
this.btnExit.Text = "退出";
this.btnExit.UseVisualStyleBackColor = true;
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// btnDelete
//
this.btnDelete.Location = new System.Drawing.Point(94, 14);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(75, 23);
this.btnDelete.TabIndex = 1;
this.btnDelete.Text = "删除";
this.btnDelete.UseVisualStyleBackColor = true;
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
//
// btnSave
//
this.btnSave.Location = new System.Drawing.Point(10, 14);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 23);
this.btnSave.TabIndex = 0;
this.btnSave.Text = "保存";
this.btnSave.UseVisualStyleBackColor = true;
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// groupBox4
//
this.groupBox4.BackColor = System.Drawing.Color.Transparent;
this.groupBox4.Controls.Add(this.dgvFoods);
this.groupBox4.Location = new System.Drawing.Point(175, 169);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(349, 184);
this.groupBox4.TabIndex = 3;
this.groupBox4.TabStop = false;
//
// dgvFoods
//
this.dgvFoods.AllowUserToAddRows = false;
this.dgvFoods.BackgroundColor = System.Drawing.Color.White;
this.dgvFoods.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvFoods.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3,
this.Column4,
this.Column5,
this.Column6,
this.Column7});
this.dgvFoods.Location = new System.Drawing.Point(7, 10);
this.dgvFoods.Name = "dgvFoods";
this.dgvFoods.ReadOnly = true;
this.dgvFoods.RowHeadersVisible = false;
this.dgvFoods.RowTemplate.Height = 23;
this.dgvFoods.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvFoods.Size = new System.Drawing.Size(336, 150);
this.dgvFoods.TabIndex = 0;
//
// Column1
//
this.Column1.DataPropertyName = "foodname";
this.Column1.HeaderText = "菜名";
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
//
// Column2
//
this.Column2.DataPropertyName = "foodsum";
this.Column2.HeaderText = "数量";
this.Column2.Name = "Column2";
this.Column2.ReadOnly = true;
//
// Column3
//
this.Column3.DataPropertyName = "foodallprice";
this.Column3.HeaderText = "总价";
this.Column3.Name = "Column3";
this.Column3.ReadOnly = true;
//
// Column4
//
this.Column4.DataPropertyName = "waitername";
this.Column4.HeaderText = "服务员";
this.Column4.Name = "Column4";
this.Column4.ReadOnly = true;
//
// Column5
//
this.Column5.DataPropertyName = "zhuotai";
this.Column5.HeaderText = "桌台";
this.Column5.Name = "Column5";
this.Column5.ReadOnly = true;
//
// Column6
//
this.Column6.DataPropertyName = "beizhu";
this.Column6.HeaderText = "备注";
this.Column6.Name = "Column6";
this.Column6.ReadOnly = true;
//
// Column7
//
this.Column7.DataPropertyName = "datatime";
this.Column7.HeaderText = "日期";
this.Column7.Name = "Column7";
this.Column7.ReadOnly = true;
//
// frmDC
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage = global::MrCy.Properties.Resources.bg_03;
this.ClientSize = new System.Drawing.Size(536, 358);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmDC";
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.frmDC_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvFoods)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TreeView tvFood;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.TextBox txtprice;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtNum;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtbz;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.ComboBox cbWaiter;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox txtallprice;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox txtpnum;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.Button btnExit;
private System.Windows.Forms.Button btnDelete;
private System.Windows.Forms.Button btnSave;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.DataGridView dgvFoods;
private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
private System.Windows.Forms.DataGridViewTextBoxColumn Column5;
private System.Windows.Forms.DataGridViewTextBoxColumn Column6;
private System.Windows.Forms.DataGridViewTextBoxColumn Column7;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -