合并
This commit is contained in:
Generated
+2
@@ -50,6 +50,7 @@
|
|||||||
button2.TabIndex = 1;
|
button2.TabIndex = 1;
|
||||||
button2.Text = "手动输入";
|
button2.Text = "手动输入";
|
||||||
button2.UseVisualStyleBackColor = true;
|
button2.UseVisualStyleBackColor = true;
|
||||||
|
button2.Click += button2_Click;
|
||||||
//
|
//
|
||||||
// DataInputForm
|
// DataInputForm
|
||||||
//
|
//
|
||||||
@@ -58,6 +59,7 @@
|
|||||||
ClientSize = new Size(288, 218);
|
ClientSize = new Size(288, 218);
|
||||||
Controls.Add(button2);
|
Controls.Add(button2);
|
||||||
Controls.Add(DataFromFiles);
|
Controls.Add(DataFromFiles);
|
||||||
|
MaximizeBox = false;
|
||||||
Name = "DataInputForm";
|
Name = "DataInputForm";
|
||||||
Text = "数据输入";
|
Text = "数据输入";
|
||||||
ResumeLayout(false);
|
ResumeLayout(false);
|
||||||
|
|||||||
@@ -23,5 +23,12 @@ namespace kcsj.Forms
|
|||||||
|
|
||||||
form.ShowDialog();
|
form.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void button2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ManualInputForm form = new ManualInputForm();
|
||||||
|
|
||||||
|
form.ShowDialog();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+13
-1
@@ -39,6 +39,7 @@
|
|||||||
dgvKnownPoints = new DataGridView();
|
dgvKnownPoints = new DataGridView();
|
||||||
dgvObservations = new DataGridView();
|
dgvObservations = new DataGridView();
|
||||||
txtKnownPoints = new Label();
|
txtKnownPoints = new Label();
|
||||||
|
txtGuance = new Label();
|
||||||
((System.ComponentModel.ISupportInitialize)dgvKnownPoints).BeginInit();
|
((System.ComponentModel.ISupportInitialize)dgvKnownPoints).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)dgvObservations).BeginInit();
|
((System.ComponentModel.ISupportInitialize)dgvObservations).BeginInit();
|
||||||
SuspendLayout();
|
SuspendLayout();
|
||||||
@@ -128,7 +129,7 @@
|
|||||||
// dgvObservations
|
// dgvObservations
|
||||||
//
|
//
|
||||||
dgvObservations.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
dgvObservations.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
dgvObservations.Location = new Point(31, 409);
|
dgvObservations.Location = new Point(31, 425);
|
||||||
dgvObservations.Name = "dgvObservations";
|
dgvObservations.Name = "dgvObservations";
|
||||||
dgvObservations.RowHeadersWidth = 62;
|
dgvObservations.RowHeadersWidth = 62;
|
||||||
dgvObservations.Size = new Size(710, 245);
|
dgvObservations.Size = new Size(710, 245);
|
||||||
@@ -143,11 +144,21 @@
|
|||||||
txtKnownPoints.TabIndex = 10;
|
txtKnownPoints.TabIndex = 10;
|
||||||
txtKnownPoints.Text = "已知点";
|
txtKnownPoints.Text = "已知点";
|
||||||
//
|
//
|
||||||
|
// txtGuance
|
||||||
|
//
|
||||||
|
txtGuance.AutoSize = true;
|
||||||
|
txtGuance.Location = new Point(350, 389);
|
||||||
|
txtGuance.Name = "txtGuance";
|
||||||
|
txtGuance.Size = new Size(64, 24);
|
||||||
|
txtGuance.TabIndex = 11;
|
||||||
|
txtGuance.Text = "观测值";
|
||||||
|
//
|
||||||
// FileInputForm
|
// FileInputForm
|
||||||
//
|
//
|
||||||
AutoScaleDimensions = new SizeF(11F, 24F);
|
AutoScaleDimensions = new SizeF(11F, 24F);
|
||||||
AutoScaleMode = AutoScaleMode.Font;
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
ClientSize = new Size(769, 714);
|
ClientSize = new Size(769, 714);
|
||||||
|
Controls.Add(txtGuance);
|
||||||
Controls.Add(txtKnownPoints);
|
Controls.Add(txtKnownPoints);
|
||||||
Controls.Add(dgvObservations);
|
Controls.Add(dgvObservations);
|
||||||
Controls.Add(dgvKnownPoints);
|
Controls.Add(dgvKnownPoints);
|
||||||
@@ -181,5 +192,6 @@
|
|||||||
private DataGridView dgvKnownPoints;
|
private DataGridView dgvKnownPoints;
|
||||||
private DataGridView dgvObservations;
|
private DataGridView dgvObservations;
|
||||||
private Label txtKnownPoints;
|
private Label txtKnownPoints;
|
||||||
|
private Label txtGuance;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generated
+13
-6
@@ -28,6 +28,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
||||||
MainTitle = new Label();
|
MainTitle = new Label();
|
||||||
btnDataInput = new Button();
|
btnDataInput = new Button();
|
||||||
btnDataInspect = new Button();
|
btnDataInspect = new Button();
|
||||||
@@ -56,7 +57,7 @@
|
|||||||
MainTitle.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
MainTitle.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
MainTitle.AutoSize = true;
|
MainTitle.AutoSize = true;
|
||||||
MainTitle.Font = new Font("微软雅黑", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
MainTitle.Font = new Font("微软雅黑", 12F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
||||||
MainTitle.Location = new Point(236, 55);
|
MainTitle.Location = new Point(231, 55);
|
||||||
MainTitle.Name = "MainTitle";
|
MainTitle.Name = "MainTitle";
|
||||||
MainTitle.Size = new Size(182, 31);
|
MainTitle.Size = new Size(182, 31);
|
||||||
MainTitle.TabIndex = 0;
|
MainTitle.TabIndex = 0;
|
||||||
@@ -159,32 +160,33 @@
|
|||||||
//
|
//
|
||||||
数据输入ToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { 从文件ToolStripMenuItem, 手动输入ToolStripMenuItem });
|
数据输入ToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { 从文件ToolStripMenuItem, 手动输入ToolStripMenuItem });
|
||||||
数据输入ToolStripMenuItem.Name = "数据输入ToolStripMenuItem";
|
数据输入ToolStripMenuItem.Name = "数据输入ToolStripMenuItem";
|
||||||
数据输入ToolStripMenuItem.Size = new Size(270, 34);
|
数据输入ToolStripMenuItem.Size = new Size(218, 34);
|
||||||
数据输入ToolStripMenuItem.Text = "数据输入";
|
数据输入ToolStripMenuItem.Text = "数据输入";
|
||||||
//
|
//
|
||||||
// 从文件ToolStripMenuItem
|
// 从文件ToolStripMenuItem
|
||||||
//
|
//
|
||||||
从文件ToolStripMenuItem.Name = "从文件ToolStripMenuItem";
|
从文件ToolStripMenuItem.Name = "从文件ToolStripMenuItem";
|
||||||
从文件ToolStripMenuItem.Size = new Size(270, 34);
|
从文件ToolStripMenuItem.Size = new Size(182, 34);
|
||||||
从文件ToolStripMenuItem.Text = "从文件";
|
从文件ToolStripMenuItem.Text = "从文件";
|
||||||
从文件ToolStripMenuItem.Click += 从文件ToolStripMenuItem_Click;
|
从文件ToolStripMenuItem.Click += 从文件ToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// 手动输入ToolStripMenuItem
|
// 手动输入ToolStripMenuItem
|
||||||
//
|
//
|
||||||
手动输入ToolStripMenuItem.Name = "手动输入ToolStripMenuItem";
|
手动输入ToolStripMenuItem.Name = "手动输入ToolStripMenuItem";
|
||||||
手动输入ToolStripMenuItem.Size = new Size(270, 34);
|
手动输入ToolStripMenuItem.Size = new Size(182, 34);
|
||||||
手动输入ToolStripMenuItem.Text = "手动输入";
|
手动输入ToolStripMenuItem.Text = "手动输入";
|
||||||
|
手动输入ToolStripMenuItem.Click += 手动输入ToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// 删除当前数据ToolStripMenuItem
|
// 删除当前数据ToolStripMenuItem
|
||||||
//
|
//
|
||||||
删除当前数据ToolStripMenuItem.Name = "删除当前数据ToolStripMenuItem";
|
删除当前数据ToolStripMenuItem.Name = "删除当前数据ToolStripMenuItem";
|
||||||
删除当前数据ToolStripMenuItem.Size = new Size(270, 34);
|
删除当前数据ToolStripMenuItem.Size = new Size(218, 34);
|
||||||
删除当前数据ToolStripMenuItem.Text = "删除当前数据";
|
删除当前数据ToolStripMenuItem.Text = "删除当前数据";
|
||||||
//
|
//
|
||||||
// 数据检查ToolStripMenuItem
|
// 数据检查ToolStripMenuItem
|
||||||
//
|
//
|
||||||
数据检查ToolStripMenuItem.Name = "数据检查ToolStripMenuItem";
|
数据检查ToolStripMenuItem.Name = "数据检查ToolStripMenuItem";
|
||||||
数据检查ToolStripMenuItem.Size = new Size(270, 34);
|
数据检查ToolStripMenuItem.Size = new Size(218, 34);
|
||||||
数据检查ToolStripMenuItem.Text = "数据检查";
|
数据检查ToolStripMenuItem.Text = "数据检查";
|
||||||
//
|
//
|
||||||
// 开始平差ToolStripMenuItem
|
// 开始平差ToolStripMenuItem
|
||||||
@@ -192,24 +194,28 @@
|
|||||||
开始平差ToolStripMenuItem.Name = "开始平差ToolStripMenuItem";
|
开始平差ToolStripMenuItem.Name = "开始平差ToolStripMenuItem";
|
||||||
开始平差ToolStripMenuItem.Size = new Size(98, 28);
|
开始平差ToolStripMenuItem.Size = new Size(98, 28);
|
||||||
开始平差ToolStripMenuItem.Text = "开始平差";
|
开始平差ToolStripMenuItem.Text = "开始平差";
|
||||||
|
开始平差ToolStripMenuItem.Click += 开始平差ToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// 查看结果ToolStripMenuItem
|
// 查看结果ToolStripMenuItem
|
||||||
//
|
//
|
||||||
查看结果ToolStripMenuItem.Name = "查看结果ToolStripMenuItem";
|
查看结果ToolStripMenuItem.Name = "查看结果ToolStripMenuItem";
|
||||||
查看结果ToolStripMenuItem.Size = new Size(98, 28);
|
查看结果ToolStripMenuItem.Size = new Size(98, 28);
|
||||||
查看结果ToolStripMenuItem.Text = "查看结果";
|
查看结果ToolStripMenuItem.Text = "查看结果";
|
||||||
|
查看结果ToolStripMenuItem.Click += 查看结果ToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// 输出报告ToolStripMenuItem
|
// 输出报告ToolStripMenuItem
|
||||||
//
|
//
|
||||||
输出报告ToolStripMenuItem.Name = "输出报告ToolStripMenuItem";
|
输出报告ToolStripMenuItem.Name = "输出报告ToolStripMenuItem";
|
||||||
输出报告ToolStripMenuItem.Size = new Size(98, 28);
|
输出报告ToolStripMenuItem.Size = new Size(98, 28);
|
||||||
输出报告ToolStripMenuItem.Text = "输出报告";
|
输出报告ToolStripMenuItem.Text = "输出报告";
|
||||||
|
输出报告ToolStripMenuItem.Click += 输出报告ToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// 关于ToolStripMenuItem
|
// 关于ToolStripMenuItem
|
||||||
//
|
//
|
||||||
关于ToolStripMenuItem.Name = "关于ToolStripMenuItem";
|
关于ToolStripMenuItem.Name = "关于ToolStripMenuItem";
|
||||||
关于ToolStripMenuItem.Size = new Size(62, 28);
|
关于ToolStripMenuItem.Size = new Size(62, 28);
|
||||||
关于ToolStripMenuItem.Text = "关于";
|
关于ToolStripMenuItem.Text = "关于";
|
||||||
|
关于ToolStripMenuItem.Click += 关于ToolStripMenuItem_Click;
|
||||||
//
|
//
|
||||||
// MainForm
|
// MainForm
|
||||||
//
|
//
|
||||||
@@ -226,6 +232,7 @@
|
|||||||
Controls.Add(btnDataInput);
|
Controls.Add(btnDataInput);
|
||||||
Controls.Add(MainTitle);
|
Controls.Add(MainTitle);
|
||||||
Controls.Add(menuStrip1);
|
Controls.Add(menuStrip1);
|
||||||
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
||||||
MainMenuStrip = menuStrip1;
|
MainMenuStrip = menuStrip1;
|
||||||
MaximizeBox = false;
|
MaximizeBox = false;
|
||||||
Name = "MainForm";
|
Name = "MainForm";
|
||||||
|
|||||||
@@ -47,5 +47,32 @@ namespace kcsj.Forms
|
|||||||
|
|
||||||
form.ShowDialog();
|
form.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void 手动输入ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ManualInputForm form = new ManualInputForm();
|
||||||
|
|
||||||
|
form.ShowDialog();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void 关于ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void 开始平差ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void 查看结果ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void 输出报告ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -120,4 +120,55 @@
|
|||||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
AAABAAEAQEAAAAAAIAB5CgAAFgAAAIlQTkcNChoKAAAADUlIRFIAAABAAAAAQAgGAAAAqmlx3gAACi5J
|
||||||
|
REFUeAHkWn1wVNUVP/e+TbIJQSpGRRGEAlKDQEcQKkKdKiBJlCk1oXY6Tp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8U5vi6aiHJPJt0QI9YGxUknHxwBwIC/1RbtIlKVKPdMUpWvL/e75jauAMDpULDoNUXqHpR7EnFq
|
||||||
|
/wRsT2dzWgAgoD5YtKpnzQQxf32wcDFsT0eeAIAQE01DL0M5lwlxKxT0ez7eewYAToeWF2/wFfkvyckt
|
||||||
|
krc6H/kHtsct8vxkBACkYnfoc7l/JBIL1HOBlFJ1oWWFQ9e6RHsnOzMGAIKwp9YH/QtFLDaaZ8MXeHYQ
|
||||||
|
b8cMNbh+WVEV7OoMdQoAS9H65/oe7HNq3Z1E2k2KyHW7scZk423qUmJ6KOgflSq9zURHlwCAIhygcMKa
|
||||||
|
WOIfaRg0RXTxZgkyXWgzdNQHC0eElvk3ufB57uoyAJamJXyfsGF54Tbefu5Twu8XUsM/Xnf9tplvrIUQ
|
||||||
|
00LBQsE0DTosndl4Zw2ARGNw37b+2fw9odrCOX0a1/mUUIMMXR/L8WIOkXyE7+T+QCT2ExFuQo8Sl802
|
||||||
|
RY8qMmYZkqZgDDssIGN9rX8zOTxdbf4/AAAA///7nT0qAAAABklEQVQDAGaodZWtaSURAAAAAElFTkSu
|
||||||
|
QmCC
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
Generated
+197
@@ -0,0 +1,197 @@
|
|||||||
|
namespace kcsj.Forms
|
||||||
|
{
|
||||||
|
partial class ManualInputForm
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
TitleManualInput = new Label();
|
||||||
|
GroupKnown = new GroupBox();
|
||||||
|
dgvKnownInput = new DataGridView();
|
||||||
|
PointName = new DataGridViewTextBoxColumn();
|
||||||
|
Elevation = new DataGridViewTextBoxColumn();
|
||||||
|
GroupObservation = new GroupBox();
|
||||||
|
dataGridView1 = new DataGridView();
|
||||||
|
StartPoint = new DataGridViewTextBoxColumn();
|
||||||
|
EndPoint = new DataGridViewTextBoxColumn();
|
||||||
|
HeightDifference = new DataGridViewTextBoxColumn();
|
||||||
|
Distance = new DataGridViewTextBoxColumn();
|
||||||
|
btnOK = new Button();
|
||||||
|
button2 = new Button();
|
||||||
|
GroupKnown.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)dgvKnownInput).BeginInit();
|
||||||
|
GroupObservation.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// TitleManualInput
|
||||||
|
//
|
||||||
|
TitleManualInput.AutoSize = true;
|
||||||
|
TitleManualInput.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
||||||
|
TitleManualInput.Location = new Point(570, 9);
|
||||||
|
TitleManualInput.Name = "TitleManualInput";
|
||||||
|
TitleManualInput.Size = new Size(138, 28);
|
||||||
|
TitleManualInput.TabIndex = 0;
|
||||||
|
TitleManualInput.Text = "手动输入数据";
|
||||||
|
//
|
||||||
|
// GroupKnown
|
||||||
|
//
|
||||||
|
GroupKnown.Controls.Add(dgvKnownInput);
|
||||||
|
GroupKnown.Location = new Point(28, 50);
|
||||||
|
GroupKnown.Name = "GroupKnown";
|
||||||
|
GroupKnown.Size = new Size(426, 408);
|
||||||
|
GroupKnown.TabIndex = 1;
|
||||||
|
GroupKnown.TabStop = false;
|
||||||
|
GroupKnown.Text = "已知点数据";
|
||||||
|
//
|
||||||
|
// dgvKnownInput
|
||||||
|
//
|
||||||
|
dgvKnownInput.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
dgvKnownInput.Columns.AddRange(new DataGridViewColumn[] { PointName, Elevation });
|
||||||
|
dgvKnownInput.Location = new Point(18, 29);
|
||||||
|
dgvKnownInput.Name = "dgvKnownInput";
|
||||||
|
dgvKnownInput.RowHeadersWidth = 62;
|
||||||
|
dgvKnownInput.Size = new Size(389, 355);
|
||||||
|
dgvKnownInput.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// PointName
|
||||||
|
//
|
||||||
|
PointName.HeaderText = "点名";
|
||||||
|
PointName.MinimumWidth = 8;
|
||||||
|
PointName.Name = "PointName";
|
||||||
|
PointName.Width = 150;
|
||||||
|
//
|
||||||
|
// Elevation
|
||||||
|
//
|
||||||
|
Elevation.HeaderText = "高程/m";
|
||||||
|
Elevation.MinimumWidth = 8;
|
||||||
|
Elevation.Name = "Elevation";
|
||||||
|
Elevation.Width = 150;
|
||||||
|
//
|
||||||
|
// GroupObservation
|
||||||
|
//
|
||||||
|
GroupObservation.Controls.Add(dataGridView1);
|
||||||
|
GroupObservation.Location = new Point(481, 50);
|
||||||
|
GroupObservation.Name = "GroupObservation";
|
||||||
|
GroupObservation.Size = new Size(771, 408);
|
||||||
|
GroupObservation.TabIndex = 2;
|
||||||
|
GroupObservation.TabStop = false;
|
||||||
|
GroupObservation.Text = "观测值";
|
||||||
|
//
|
||||||
|
// dataGridView1
|
||||||
|
//
|
||||||
|
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
|
dataGridView1.Columns.AddRange(new DataGridViewColumn[] { StartPoint, EndPoint, HeightDifference, Distance });
|
||||||
|
dataGridView1.Location = new Point(15, 29);
|
||||||
|
dataGridView1.Name = "dataGridView1";
|
||||||
|
dataGridView1.RowHeadersWidth = 62;
|
||||||
|
dataGridView1.Size = new Size(730, 355);
|
||||||
|
dataGridView1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// StartPoint
|
||||||
|
//
|
||||||
|
StartPoint.HeaderText = "起点";
|
||||||
|
StartPoint.MinimumWidth = 8;
|
||||||
|
StartPoint.Name = "StartPoint";
|
||||||
|
StartPoint.Width = 150;
|
||||||
|
//
|
||||||
|
// EndPoint
|
||||||
|
//
|
||||||
|
EndPoint.HeaderText = "终点";
|
||||||
|
EndPoint.MinimumWidth = 8;
|
||||||
|
EndPoint.Name = "EndPoint";
|
||||||
|
EndPoint.Width = 150;
|
||||||
|
//
|
||||||
|
// HeightDifference
|
||||||
|
//
|
||||||
|
HeightDifference.HeaderText = "观测高差/m";
|
||||||
|
HeightDifference.MinimumWidth = 8;
|
||||||
|
HeightDifference.Name = "HeightDifference";
|
||||||
|
HeightDifference.Width = 150;
|
||||||
|
//
|
||||||
|
// Distance
|
||||||
|
//
|
||||||
|
Distance.HeaderText = "路线长/km";
|
||||||
|
Distance.MinimumWidth = 8;
|
||||||
|
Distance.Name = "Distance";
|
||||||
|
Distance.Width = 150;
|
||||||
|
//
|
||||||
|
// btnOK
|
||||||
|
//
|
||||||
|
btnOK.Location = new Point(516, 485);
|
||||||
|
btnOK.Name = "btnOK";
|
||||||
|
btnOK.Size = new Size(112, 34);
|
||||||
|
btnOK.TabIndex = 3;
|
||||||
|
btnOK.Text = "提交";
|
||||||
|
btnOK.UseVisualStyleBackColor = true;
|
||||||
|
btnOK.UseWaitCursor = true;
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
button2.Location = new Point(651, 485);
|
||||||
|
button2.Name = "button2";
|
||||||
|
button2.Size = new Size(112, 34);
|
||||||
|
button2.TabIndex = 4;
|
||||||
|
button2.Text = "button2";
|
||||||
|
button2.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// ManualInputForm
|
||||||
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(11F, 24F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
ClientSize = new Size(1278, 556);
|
||||||
|
Controls.Add(button2);
|
||||||
|
Controls.Add(btnOK);
|
||||||
|
Controls.Add(GroupObservation);
|
||||||
|
Controls.Add(GroupKnown);
|
||||||
|
Controls.Add(TitleManualInput);
|
||||||
|
Name = "ManualInputForm";
|
||||||
|
Text = "手动输入数据";
|
||||||
|
GroupKnown.ResumeLayout(false);
|
||||||
|
((System.ComponentModel.ISupportInitialize)dgvKnownInput).EndInit();
|
||||||
|
GroupObservation.ResumeLayout(false);
|
||||||
|
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
||||||
|
ResumeLayout(false);
|
||||||
|
PerformLayout();
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private Label TitleManualInput;
|
||||||
|
private GroupBox GroupKnown;
|
||||||
|
private DataGridView dgvKnownInput;
|
||||||
|
private GroupBox GroupObservation;
|
||||||
|
private DataGridViewTextBoxColumn PointName;
|
||||||
|
private DataGridViewTextBoxColumn Elevation;
|
||||||
|
private DataGridView dataGridView1;
|
||||||
|
private DataGridViewTextBoxColumn StartPoint;
|
||||||
|
private DataGridViewTextBoxColumn EndPoint;
|
||||||
|
private DataGridViewTextBoxColumn HeightDifference;
|
||||||
|
private DataGridViewTextBoxColumn Distance;
|
||||||
|
private Button btnOK;
|
||||||
|
private Button button2;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace kcsj.Forms
|
||||||
|
{
|
||||||
|
public partial class ManualInputForm : Form
|
||||||
|
{
|
||||||
|
public ManualInputForm()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,138 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="PointName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Elevation.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="StartPoint.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="EndPoint.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="HeightDifference.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="Distance.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</metadata>
|
||||||
|
</root>
|
||||||
Reference in New Issue
Block a user