This commit is contained in:
GukSang.Jin
2026-01-05 14:53:47 +08:00
parent 118f2c80ea
commit 247a744969
2 changed files with 10 additions and 10 deletions

View File

@@ -137,7 +137,7 @@ namespace WindowsFormsApp6
this.panelInfo.Padding = new System.Windows.Forms.Padding(20, 10, 20, 10); this.panelInfo.Padding = new System.Windows.Forms.Padding(20, 10, 20, 10);
this.panelInfo.Size = new System.Drawing.Size(1188, 72); this.panelInfo.Size = new System.Drawing.Size(1188, 72);
this.panelInfo.TabIndex = 1; this.panelInfo.TabIndex = 1;
this.panelInfo.Resize += new System.EventHandler(this.panelInfo_Resize); this.panelInfo.Resize += new System.EventHandler(this.PanelInfo_Resize);
// //
// textBox8 // textBox8
// //
@@ -363,7 +363,7 @@ namespace WindowsFormsApp6
this.buttonToggleLayout.Text = "🔄 横向布局"; this.buttonToggleLayout.Text = "🔄 横向布局";
this.buttonToggleLayout.UseVisualStyleBackColor = false; this.buttonToggleLayout.UseVisualStyleBackColor = false;
this.buttonToggleLayout.Visible = false; this.buttonToggleLayout.Visible = false;
this.buttonToggleLayout.Click += new System.EventHandler(this.buttonToggleLayout_Click); this.buttonToggleLayout.Click += new System.EventHandler(this.ButtonToggleLayout_Click);
// //
// button5 // button5
// //
@@ -379,7 +379,7 @@ namespace WindowsFormsApp6
this.button5.TabIndex = 3; this.button5.TabIndex = 3;
this.button5.Text = "🎲 模拟数据"; this.button5.Text = "🎲 模拟数据";
this.button5.UseVisualStyleBackColor = false; this.button5.UseVisualStyleBackColor = false;
this.button5.Click += new System.EventHandler(this.button5_Click); this.button5.Click += new System.EventHandler(this.Button5_Click);
// //
// buttonExport // buttonExport
// //
@@ -395,7 +395,7 @@ namespace WindowsFormsApp6
this.buttonExport.TabIndex = 1; this.buttonExport.TabIndex = 1;
this.buttonExport.Text = "📤 导出"; this.buttonExport.Text = "📤 导出";
this.buttonExport.UseVisualStyleBackColor = false; this.buttonExport.UseVisualStyleBackColor = false;
this.buttonExport.Click += new System.EventHandler(this.buttonExport_Click); this.buttonExport.Click += new System.EventHandler(this.ButtonExport_Click);
// //
// buttonPrint // buttonPrint
// //
@@ -411,7 +411,7 @@ namespace WindowsFormsApp6
this.buttonPrint.TabIndex = 0; this.buttonPrint.TabIndex = 0;
this.buttonPrint.Text = "🖨️ 打印"; this.buttonPrint.Text = "🖨️ 打印";
this.buttonPrint.UseVisualStyleBackColor = false; this.buttonPrint.UseVisualStyleBackColor = false;
this.buttonPrint.Click += new System.EventHandler(this.buttonPrint_Click); this.buttonPrint.Click += new System.EventHandler(this.ButtonPrint_Click);
// //
// MainForm // MainForm
// //

View File

@@ -1387,7 +1387,7 @@ namespace WindowsFormsApp6
form3Instance.Show(); form3Instance.Show();
} }
private void panelInfo_Resize(object sender, EventArgs e) private void PanelInfo_Resize(object sender, EventArgs e)
{ {
CenterInfoControls(); CenterInfoControls();
} }
@@ -1458,12 +1458,12 @@ namespace WindowsFormsApp6
textBox8.Location = new Point(col4X + col4LabelWidth, y2); textBox8.Location = new Point(col4X + col4LabelWidth, y2);
} }
private void buttonPrint_Click(object sender, EventArgs e) private void ButtonPrint_Click(object sender, EventArgs e)
{ {
MessageBox.Show("打印功能开发中", "提示"); MessageBox.Show("打印功能开发中", "提示");
} }
private void buttonExport_Click(object sender, EventArgs e) private void ButtonExport_Click(object sender, EventArgs e)
{ {
SaveFileDialog saveFileDialog = new SaveFileDialog SaveFileDialog saveFileDialog = new SaveFileDialog
{ {
@@ -1478,7 +1478,7 @@ namespace WindowsFormsApp6
} }
} }
private void button5_Click(object sender, EventArgs e) private void Button5_Click(object sender, EventArgs e)
{ {
switch (tabControl1.SelectedIndex) switch (tabControl1.SelectedIndex)
{ {
@@ -1494,7 +1494,7 @@ namespace WindowsFormsApp6
} }
} }
private void buttonToggleLayout_Click(object sender, EventArgs e) private void ButtonToggleLayout_Click(object sender, EventArgs e)
{ {
if (form3Instance != null) if (form3Instance != null)
{ {