窗体设计20260615

This commit is contained in:
biss committed 2026-06-15 08:44:59 +08:00
1 parent 72312a054b
commit ae55eaad44
6 files changed
+17 -6

No files matched your search

+1
View File
@@ -59,6 +59,7 @@
ClientSize = new Size(288, 218);
Controls.Add(button2);
Controls.Add(DataFromFiles);
FormBorderStyle = FormBorderStyle.Fixed3D;
MaximizeBox = false;
Name = "DataInputForm";
Text = "数据输入";
+1 -1
View File
@@ -64,7 +64,6 @@
//
// btnSubmitData
//
btnSubmitData.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
btnSubmitData.Location = new Point(641, 38);
btnSubmitData.Name = "btnSubmitData";
btnSubmitData.Size = new Size(106, 83);
@@ -170,6 +169,7 @@
Controls.Add(btnSubmitData);
Controls.Add(KonwnSFile);
Controls.Add(KnownPointFile);
FormBorderStyle = FormBorderStyle.Fixed3D;
MaximizeBox = false;
Name = "FileInputForm";
Text = "文件读取";
+2 -5
View File
@@ -80,7 +80,7 @@ namespace kcsj.Forms
}
}
// 按空格、Tab、英文逗号、中文逗号分割每一行
// 按空格、Tab、英文逗号、中文逗号分割
private string[] SplitLine(string line)
{
return line.Split(new char[] { ' ', '\t', ',', ',' },
@@ -150,9 +150,6 @@ namespace kcsj.Forms
if (string.IsNullOrWhiteSpace(line))
continue;
if (line.StartsWith("#") || line.StartsWith("//"))
continue;
string[] parts = SplitLine(line);
if (parts.Length != 4)
@@ -194,7 +191,7 @@ namespace kcsj.Forms
return result;
}
// 设置表格中文表头
// 设置表格表头
private void SetGridHeader()
{
if (dgvKnownPoints.Columns.Count > 0)
Loaded 3 of 6 files, more files were not shown because too many files have changed in this diff. Show more