📄 main.designer.cs
字号:
this.label11.Size = new System.Drawing.Size(97, 20);
this.label11.Text = "平均油資";
//
// label7
//
this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label7.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.label7.Location = new System.Drawing.Point(200, 122);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(33, 20);
this.label7.Text = "天";
//
// lbl_FillFreq
//
this.lbl_FillFreq.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_FillFreq.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.lbl_FillFreq.Location = new System.Drawing.Point(124, 122);
this.lbl_FillFreq.Name = "lbl_FillFreq";
this.lbl_FillFreq.Size = new System.Drawing.Size(70, 20);
this.lbl_FillFreq.Text = "0";
this.lbl_FillFreq.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// label9
//
this.label9.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.label9.Location = new System.Drawing.Point(7, 122);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(97, 20);
this.label9.Text = "加油週期";
//
// label3
//
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label3.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.label3.Location = new System.Drawing.Point(200, 62);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(33, 20);
this.label3.Text = "km/L";
//
// lbl_BestGasAvg
//
this.lbl_BestGasAvg.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_BestGasAvg.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.lbl_BestGasAvg.Location = new System.Drawing.Point(124, 62);
this.lbl_BestGasAvg.Name = "lbl_BestGasAvg";
this.lbl_BestGasAvg.Size = new System.Drawing.Size(70, 20);
this.lbl_BestGasAvg.Text = "0.00";
this.lbl_BestGasAvg.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// label6
//
this.label6.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.label6.Location = new System.Drawing.Point(7, 62);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(97, 20);
this.label6.Text = "最佳油耗";
//
// label4
//
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label4.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.label4.Location = new System.Drawing.Point(200, 42);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(33, 20);
this.label4.Text = "km/L";
//
// lbl_GasAvg
//
this.lbl_GasAvg.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbl_GasAvg.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.lbl_GasAvg.Location = new System.Drawing.Point(124, 42);
this.lbl_GasAvg.Name = "lbl_GasAvg";
this.lbl_GasAvg.Size = new System.Drawing.Size(70, 20);
this.lbl_GasAvg.Text = "0.00";
this.lbl_GasAvg.TextAlign = System.Drawing.ContentAlignment.TopRight;
//
// label2
//
this.label2.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.label2.Location = new System.Drawing.Point(7, 42);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(97, 20);
this.label2.Text = "平均油耗";
//
// cmb_CarName
//
this.cmb_CarName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.cmb_CarName.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.cmb_CarName.Location = new System.Drawing.Point(76, 4);
this.cmb_CarName.Name = "cmb_CarName";
this.cmb_CarName.Size = new System.Drawing.Size(157, 24);
this.cmb_CarName.TabIndex = 1;
//
// label1
//
this.label1.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Regular);
this.label1.Location = new System.Drawing.Point(7, 6);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(71, 20);
this.label1.Text = "車輛名稱";
//
// tabPage2
//
this.tabPage2.Controls.Add(this.btn_Delete);
this.tabPage2.Controls.Add(this.btn_Edit);
this.tabPage2.Controls.Add(this.btn_Add);
this.tabPage2.Controls.Add(this.grid_GasList);
this.tabPage2.Location = new System.Drawing.Point(0, 0);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Size = new System.Drawing.Size(232, 242);
this.tabPage2.Text = "油耗清單";
//
// btn_Delete
//
this.btn_Delete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btn_Delete.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
this.btn_Delete.Location = new System.Drawing.Point(159, 3);
this.btn_Delete.Name = "btn_Delete";
this.btn_Delete.Size = new System.Drawing.Size(69, 39);
this.btn_Delete.TabIndex = 3;
this.btn_Delete.Text = "刪除";
this.btn_Delete.Click += new System.EventHandler(this.btn_Delete_Click);
//
// btn_Edit
//
this.btn_Edit.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.btn_Edit.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
this.btn_Edit.Location = new System.Drawing.Point(81, 3);
this.btn_Edit.Name = "btn_Edit";
this.btn_Edit.Size = new System.Drawing.Size(69, 39);
this.btn_Edit.TabIndex = 2;
this.btn_Edit.Text = "修改";
this.btn_Edit.Click += new System.EventHandler(this.btn_Edit_Click);
//
// btn_Add
//
this.btn_Add.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold);
this.btn_Add.Location = new System.Drawing.Point(3, 3);
this.btn_Add.Name = "btn_Add";
this.btn_Add.Size = new System.Drawing.Size(69, 39);
this.btn_Add.TabIndex = 1;
this.btn_Add.Text = "新增";
this.btn_Add.Click += new System.EventHandler(this.btn_Add_Click);
//
// dataGrid1
//
this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.dataGrid1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(128)))));
this.dataGrid1.Location = new System.Drawing.Point(0, 45);
this.dataGrid1.Name = "dataGrid1";
this.dataGrid1.Size = new System.Drawing.Size(240, 200);
this.dataGrid1.TabIndex = 0;
//
// mainMenu1
//
this.mainMenu1.MenuItems.Add(this.menuItem1);
//
// menuItem1
//
this.menuItem1.MenuItems.Add(this.menuItem2);
this.menuItem1.MenuItems.Add(this.menuItem3);
this.menuItem1.Text = "選單";
//
// menuItem2
//
this.menuItem2.Text = "新增車輛";
this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
//
// menuItem3
//
this.menuItem3.Text = "刪除車輛";
this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
//
// Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.AutoScroll = true;
this.ClientSize = new System.Drawing.Size(240, 268);
this.Controls.Add(this.tabControl1);
this.Menu = this.mainMenu1;
this.MinimizeBox = false;
this.Name = "Main";
this.Text = "油耗記錄";
this.Load += new System.EventHandler(this.Main_Load);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ComboBox cmb_CarName;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label lbl_GasAvg;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Label lbl_PayAvg;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label lbl_FillFreq;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label lbl_BestGasAvg;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Button btn_Delete;
private System.Windows.Forms.Button btn_Edit;
private System.Windows.Forms.Button btn_Add;
private System.Windows.Forms.DataGrid dataGrid1;
private System.Windows.Forms.DataGridTableStyle dataGridTableStyle1;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn1;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn2;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn3;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn4;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn5;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn6;
private System.Windows.Forms.DataGrid grid_GasList;
private System.Windows.Forms.MainMenu mainMenu1;
private System.Windows.Forms.MenuItem menuItem1;
private System.Windows.Forms.MenuItem menuItem2;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn7;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label lbl_Paykm;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.DataGridTextBoxColumn dataGridTextBoxColumn8;
private System.Windows.Forms.MenuItem menuItem3;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -