可用版本1

This commit is contained in:
2022-03-15 10:19:53 +08:00
parent a7cb3885db
commit cb638a0908
28 changed files with 4778 additions and 345 deletions

View File

@ -5,6 +5,12 @@ VisualStudioVersion = 15.0.28307.1267
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mainProgram", "mainProgram\mainProgram.csproj", "{01FE58BF-6B60-4EDA-AF9B-0A98D3C0B954}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Setup", "Setup\Setup.vdproj", "{D82E3B84-33A8-4ECE-93DA-E2AE6EB79364}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TreeViewTc", "TreeViewTc\TreeViewTc.csproj", "{D8ED957E-4B79-4C20-A2AA-C70008E5DAD8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "chartTC", "chartTC\chartTC.csproj", "{79FB5F64-9DA8-42BF-B1E5-749AEA345C7E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -15,6 +21,16 @@ Global
{01FE58BF-6B60-4EDA-AF9B-0A98D3C0B954}.Debug|Any CPU.Build.0 = Debug|Any CPU
{01FE58BF-6B60-4EDA-AF9B-0A98D3C0B954}.Release|Any CPU.ActiveCfg = Release|Any CPU
{01FE58BF-6B60-4EDA-AF9B-0A98D3C0B954}.Release|Any CPU.Build.0 = Release|Any CPU
{D82E3B84-33A8-4ECE-93DA-E2AE6EB79364}.Debug|Any CPU.ActiveCfg = Debug
{D82E3B84-33A8-4ECE-93DA-E2AE6EB79364}.Release|Any CPU.ActiveCfg = Release
{D8ED957E-4B79-4C20-A2AA-C70008E5DAD8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D8ED957E-4B79-4C20-A2AA-C70008E5DAD8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D8ED957E-4B79-4C20-A2AA-C70008E5DAD8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D8ED957E-4B79-4C20-A2AA-C70008E5DAD8}.Release|Any CPU.Build.0 = Release|Any CPU
{79FB5F64-9DA8-42BF-B1E5-749AEA345C7E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{79FB5F64-9DA8-42BF-B1E5-749AEA345C7E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{79FB5F64-9DA8-42BF-B1E5-749AEA345C7E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{79FB5F64-9DA8-42BF-B1E5-749AEA345C7E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

BIN
easySif安装教程.docx Normal file

Binary file not shown.

Binary file not shown.

View File

@ -2,224 +2,33 @@
{
partial class main
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.NewProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.OpenProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SaveProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ExitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.preprocessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.RadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.sifComputeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SvdToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.DoasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SfmToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SfmGaussinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SfldToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.Fld3ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
//
// menuStrip1
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.preprocessToolStripMenuItem,
this.sifComputeToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(800, 25);
this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1";
//
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.NewProjectToolStripMenuItem,
this.OpenProjectToolStripMenuItem,
this.addToolStripMenuItem,
this.SaveProjectToolStripMenuItem,
this.ExitToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(39, 21);
this.fileToolStripMenuItem.Text = "File";
//
// NewProjectToolStripMenuItem
//
this.NewProjectToolStripMenuItem.Name = "NewProjectToolStripMenuItem";
this.NewProjectToolStripMenuItem.Size = new System.Drawing.Size(108, 22);
this.NewProjectToolStripMenuItem.Text = "New";
this.NewProjectToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click);
//
// OpenProjectToolStripMenuItem
//
this.OpenProjectToolStripMenuItem.Name = "OpenProjectToolStripMenuItem";
this.OpenProjectToolStripMenuItem.Size = new System.Drawing.Size(108, 22);
this.OpenProjectToolStripMenuItem.Text = "Open";
this.OpenProjectToolStripMenuItem.Click += new System.EventHandler(this.OpenProjectToolStripMenuItem_Click);
//
// addToolStripMenuItem
//
this.addToolStripMenuItem.Name = "addToolStripMenuItem";
this.addToolStripMenuItem.Size = new System.Drawing.Size(108, 22);
this.addToolStripMenuItem.Text = "Add";
//
// SaveProjectToolStripMenuItem
//
this.SaveProjectToolStripMenuItem.Name = "SaveProjectToolStripMenuItem";
this.SaveProjectToolStripMenuItem.Size = new System.Drawing.Size(108, 22);
this.SaveProjectToolStripMenuItem.Text = "Save";
//
// ExitToolStripMenuItem
//
this.ExitToolStripMenuItem.Name = "ExitToolStripMenuItem";
this.ExitToolStripMenuItem.Size = new System.Drawing.Size(108, 22);
this.ExitToolStripMenuItem.Text = "Exit";
this.ExitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItem_Click);
//
// preprocessToolStripMenuItem
//
this.preprocessToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.RadToolStripMenuItem});
this.preprocessToolStripMenuItem.Name = "preprocessToolStripMenuItem";
this.preprocessToolStripMenuItem.Size = new System.Drawing.Size(85, 21);
this.preprocessToolStripMenuItem.Text = "Preprocess";
//
// RadToolStripMenuItem
//
this.RadToolStripMenuItem.Name = "RadToolStripMenuItem";
this.RadToolStripMenuItem.Size = new System.Drawing.Size(99, 22);
this.RadToolStripMenuItem.Text = "Rad";
this.RadToolStripMenuItem.Click += new System.EventHandler(this.RadToolStripMenuItem_Click);
//
// sifComputeToolStripMenuItem
//
this.sifComputeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.SvdToolStripMenuItem,
this.DoasToolStripMenuItem,
this.SfmToolStripMenuItem,
this.SfmGaussinToolStripMenuItem,
this.SfldToolStripMenuItem,
this.Fld3ToolStripMenuItem});
this.sifComputeToolStripMenuItem.Name = "sifComputeToolStripMenuItem";
this.sifComputeToolStripMenuItem.Size = new System.Drawing.Size(87, 21);
this.sifComputeToolStripMenuItem.Text = "SifCompute";
//
// SvdToolStripMenuItem
//
this.SvdToolStripMenuItem.Name = "SvdToolStripMenuItem";
this.SvdToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
this.SvdToolStripMenuItem.Text = "Svd";
this.SvdToolStripMenuItem.Click += new System.EventHandler(this.SvdToolStripMenuItem_Click);
//
// DoasToolStripMenuItem
//
this.DoasToolStripMenuItem.Name = "DoasToolStripMenuItem";
this.DoasToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
this.DoasToolStripMenuItem.Text = "Doas";
this.DoasToolStripMenuItem.Click += new System.EventHandler(this.DoasToolStripMenuItem_Click);
//
// SfmToolStripMenuItem
//
this.SfmToolStripMenuItem.Name = "SfmToolStripMenuItem";
this.SfmToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
this.SfmToolStripMenuItem.Text = "Sfm";
this.SfmToolStripMenuItem.Click += new System.EventHandler(this.SfmToolStripMenuItem_Click);
//
// SfmGaussinToolStripMenuItem
//
this.SfmGaussinToolStripMenuItem.Name = "SfmGaussinToolStripMenuItem";
this.SfmGaussinToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
this.SfmGaussinToolStripMenuItem.Text = "Sfm gaussian";
this.SfmGaussinToolStripMenuItem.Click += new System.EventHandler(this.SfmGaussinToolStripMenuItem_Click);
//
// SfldToolStripMenuItem
//
this.SfldToolStripMenuItem.Name = "SfldToolStripMenuItem";
this.SfldToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
this.SfldToolStripMenuItem.Text = "Sfld";
this.SfldToolStripMenuItem.Click += new System.EventHandler(this.SfldToolStripMenuItem_Click);
//
// Fld3ToolStripMenuItem
//
this.Fld3ToolStripMenuItem.Name = "Fld3ToolStripMenuItem";
this.Fld3ToolStripMenuItem.Size = new System.Drawing.Size(146, 22);
this.Fld3ToolStripMenuItem.Text = "Fld3";
this.Fld3ToolStripMenuItem.Click += new System.EventHandler(this.Fld3ToolStripMenuItem_Click);
//
// statusStrip1
//
this.statusStrip1.Location = new System.Drawing.Point(0, 428);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(800, 22);
this.statusStrip1.TabIndex = 1;
this.statusStrip1.Text = "statusStrip1";
//
// main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.menuStrip1);
this.MainMenuStrip = this.menuStrip1;
this.Name = "main";
this.Text = "easySif";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.main_FormClosing);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem NewProjectToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem OpenProjectToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem addToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem SaveProjectToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem ExitToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem preprocessToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem RadToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem sifComputeToolStripMenuItem;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.ToolStripMenuItem ExitToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem SvdToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem DoasToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem SfmToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem SfmGaussinToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem SfldToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem Fld3ToolStripMenuItem;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.TextBox PointInfoTextBox;
private TreeViewTc.TreeViewTc2 treeViewTc21;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton toolStripButton1;
private System.Windows.Forms.ToolStripMenuItem CloseToolStripMenuItem;
private chartTC.chartTC chartTC1;
}
}

View File

@ -12,6 +12,10 @@ using System.Threading;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Windows.Forms.DataVisualization.Charting;
using System.Drawing;
using System.Collections;
namespace mainProgram
{
public partial class main : Form
@ -36,18 +40,49 @@ namespace mainProgram
w.TransferEvent += RecieveProjectManager;
//w.Show();//不阻塞
w.ShowDialog();//阻塞
DialogResult tmp = w.ShowDialog();//阻塞
if(tmp == DialogResult.OK)
treeViewTc21.Initialize(mProjectManager.ProjectPath);
}
private void OpenProjectToolStripMenuItem_Click(object sender, EventArgs e)
{
if (mProjectManager != null)
{
MessageBox.Show(this, "不能重复打开工程!", "提示");
return;
}
OpenProjectWindow w = new OpenProjectWindow();
w.TransferEvent += RecieveProjectManager;
//w.Show();//不阻塞
w.ShowDialog();//阻塞
DialogResult dialogResult = w.ShowDialog();//阻塞
if (dialogResult == DialogResult.OK)
{
this.Text = this.Text + "-" + getProjectName();
treeViewTc21.Initialize(mProjectManager.ProjectPath);
}
}
private string getProjectName()
{
string[] tmp2 = mProjectManager.ProjectPath.Split('\\');
string projectName = tmp2[tmp2.Length - 1];
return projectName;
}
private void ss()
{
//PrejectTreeView
}
private void RadToolStripMenuItem_Click(object sender, EventArgs e)
{
if (mProjectManager is null)
@ -63,7 +98,10 @@ namespace mainProgram
Console.WriteLine("父窗口变量的地址 = " + addr2);
//w.Show();//不阻塞
w.ShowDialog();//阻塞
DialogResult tmp = w.ShowDialog();//阻塞
if (tmp == DialogResult.OK)
treeViewTc21.reInitialize();
}
public string getMemory(object o) // 获取引用类型的内存地址方法
@ -75,7 +113,7 @@ namespace mainProgram
private void ExitToolStripMenuItem_Click(object sender, EventArgs e)
{
this.Close();
}
private void main_FormClosing(object sender, FormClosingEventArgs e)
@ -102,7 +140,10 @@ namespace mainProgram
//w.TransferEvent += RecieveProjectManager;
//w.Show();//不阻塞
w.ShowDialog();//阻塞
DialogResult tmp = w.ShowDialog();//阻塞
if (tmp == DialogResult.OK)
treeViewTc21.reInitialize();
}
private void DoasToolStripMenuItem_Click(object sender, EventArgs e)
@ -117,7 +158,10 @@ namespace mainProgram
//w.TransferEvent += RecieveProjectManager;
//w.Show();//不阻塞
w.ShowDialog();//阻塞
DialogResult tmp = w.ShowDialog();//阻塞
if (tmp == DialogResult.OK)
treeViewTc21.reInitialize();
}
private void SfmToolStripMenuItem_Click(object sender, EventArgs e)
@ -132,7 +176,10 @@ namespace mainProgram
//w.TransferEvent += RecieveProjectManager;
//w.Show();//不阻塞
w.ShowDialog();//阻塞
DialogResult tmp = w.ShowDialog();//阻塞
if (tmp == DialogResult.OK)
treeViewTc21.reInitialize();
}
private void SfmGaussinToolStripMenuItem_Click(object sender, EventArgs e)
@ -147,7 +194,10 @@ namespace mainProgram
//w.TransferEvent += RecieveProjectManager;
//w.Show();//不阻塞
w.ShowDialog();//阻塞
DialogResult tmp = w.ShowDialog();//阻塞
if (tmp == DialogResult.OK)
treeViewTc21.reInitialize();
}
private void SfldToolStripMenuItem_Click(object sender, EventArgs e)
@ -162,7 +212,10 @@ namespace mainProgram
//w.TransferEvent += RecieveProjectManager;
//w.Show();//不阻塞
w.ShowDialog();//阻塞
DialogResult tmp = w.ShowDialog();//阻塞
if (tmp == DialogResult.OK)
treeViewTc21.reInitialize();
}
private void Fld3ToolStripMenuItem_Click(object sender, EventArgs e)
@ -177,7 +230,534 @@ namespace mainProgram
//w.TransferEvent += RecieveProjectManager;
//w.Show();//不阻塞
w.ShowDialog();//阻塞
DialogResult tmp = w.ShowDialog();//阻塞
if (tmp == DialogResult.OK)
treeViewTc21.reInitialize();
}
#region 线
public static void DrawSpline(List<int> listX, List<double> listY, Chart chart)
{
try
{
//X、Y值成员
chart.Series[0].Points.DataBindXY(listX, listY);
chart.Series[0].Points.DataBindY(listY);
//点颜色
chart.Series[0].MarkerColor = Color.Green;
//图表类型 设置为样条图曲线
chart.Series[0].ChartType = SeriesChartType.Spline;
//设置点的大小
chart.Series[0].MarkerSize = 5;
//设置曲线的颜色
chart.Series[0].Color = Color.Orange;
//设置曲线宽度
chart.Series[0].BorderWidth = 2;
//chart.Series[0].CustomProperties = "PointWidth=4";
//设置是否显示坐标标注
chart.Series[0].IsValueShownAsLabel = false;
//设置游标
chart.ChartAreas[0].CursorX.IsUserEnabled = true;
chart.ChartAreas[0].CursorX.AutoScroll = true;
chart.ChartAreas[0].CursorX.IsUserSelectionEnabled = true;
//设置X轴是否可以缩放
chart.ChartAreas[0].AxisX.ScaleView.Zoomable = true;
//将滚动条放到图表外
chart.ChartAreas[0].AxisX.ScrollBar.IsPositionedInside = false;
// 设置滚动条的大小
chart.ChartAreas[0].AxisX.ScrollBar.Size = 15;
// 设置滚动条的按钮的风格,下面代码是将所有滚动条上的按钮都显示出来
chart.ChartAreas[0].AxisX.ScrollBar.ButtonStyle = ScrollBarButtonStyles.All;
chart.ChartAreas[0].AxisX.ScrollBar.ButtonColor = Color.SkyBlue;
// 设置自动放大与缩小的最小量
chart.ChartAreas[0].AxisX.ScaleView.SmallScrollSize = double.NaN;
chart.ChartAreas[0].AxisX.ScaleView.SmallScrollMinSize = 1;
//设置刻度间隔
chart.ChartAreas[0].AxisX.Interval = 10;
//将X轴上格网取消
chart.ChartAreas[0].AxisX.MajorGrid.Enabled = false;
//X轴、Y轴标题
chart.ChartAreas[0].AxisX.Title = "环号";
chart.ChartAreas[0].AxisY.Title = "直径";
//设置Y轴范围 可以根据实际情况重新修改
double max = listY[0];
double min = listY[0];
foreach (var yValue in listY)
{
if (max < yValue)
{
max = yValue;
}
if (min > yValue)
{
min = yValue;
}
}
chart.ChartAreas[0].AxisY.Maximum = max;
chart.ChartAreas[0].AxisY.Minimum = min;
chart.ChartAreas[0].AxisY.Interval = (max - min) / 10;
//绑定数据源
chart.DataBind();
}
catch (Exception exc)
{
MessageBox.Show(exc.ToString());
}
}
#endregion
#region
/// <summary>
/// 鼠标点击,通过环号显示游标,并缩放到响应位置函数
/// </summary>
/// <param name="ringNum">环号</param>
/// <param name="chart">Chart控件</param>
public static void ShowCurByClick(int ringNum, Chart chart)
{
//设置游标位置
chart.ChartAreas[0].CursorX.Position = ringNum;
//设置视图缩放
chart.ChartAreas[0].AxisX.ScaleView.Zoom(ringNum - 1, ringNum + 2);
//改变曲线线宽
chart.Series[0].BorderWidth = 3;
//改变X轴刻度间隔
chart.ChartAreas[0].AxisX.Interval = 1;
}
#endregion
private void DeleteFiles(string name)
{
//MessageBox.Show(this, "删除:" + name, "提示");
if (File.Exists(name))//是文件
{
mProjectManager.DeleteFile(name);
}
else if (Directory.Exists(name))//是文件夹
{
mProjectManager.DelectDirIncludeItself(name);
}
}
private void SaveAs(string name)
{
SaveAsWindow w = new SaveAsWindow(name);
//w.Show();//不阻塞
DialogResult tmp = w.ShowDialog();//阻塞
if (tmp == DialogResult.OK)
{
//treeViewTc21.Initialize(mProjectManager.ProjectPath);
}
}
private void PlotSif(string name)
{
if (File.Exists(name))//是文件
{
//MessageBox.Show(this, "绘制:" + name, "提示");
if (name.Contains(mProjectManager.MetadataPath) | name.Contains(mProjectManager.RawPath) | name.Contains(mProjectManager.RadPath))
return;
chartTC1.clearAll();
PlotSifSpectral(name);
}
else if (Directory.Exists(name))//是文件夹
{
}
}
private void ShowPointInfo(Stack name, Stack x, Stack y)
{
PointInfoTextBox.Clear();
string pointInfo = "";
int count = name.Count;
for (int i = 0; i < count; i++)
{
pointInfo += name.Pop().ToString() + "\r\nx: " + x.Pop().ToString() + "\r\ny: " + y.Pop().ToString() + "\r\n";//System.Environment.NewLine
}
PointInfoTextBox.Text = pointInfo;
}
private void main_Load(object sender, EventArgs e)
{
treeViewTc21.DeleteEvent += DeleteFiles;
treeViewTc21.PlotSifEvent += PlotSif;
treeViewTc21.SaveAsEvent += SaveAs;
chartTC1.clickPointEvent += ShowPointInfo;
}
public void PlotSifSpectral(string path)
{
//SpectralDataReaderWriter spectralDataReaderWriter = new SpectralDataReaderWriter(@"D:\Desktop\0sifRawData\rawdata\2021_12_21\beijing_10_53_45.csv");
//SpectralData spectralData = spectralDataReaderWriter.GetSpectral(1);
//List<double> x1 = new List<double>();
//List<double> y1 = new List<double>();
//for (int i = 0; i < spectralData.spectral.Length; i++)
//{
// x1.Add((double)i);
// y1.Add(spectralData.spectral[i]);
//}
//RefreshChart(x1, y1, "chart1");
SifDataReaderWriter sifDataReaderWriter = new SifDataReaderWriter(path);
SifData sifData = sifDataReaderWriter.GetSifData();
double[] y = new double[sifData.sif.GetLength(0)];
for (int i = 0; i < sifData.sif.GetLength(1); i++)
{
for (int j = 0; j < sifData.sif.GetLength(0); j++)
{
y[j] = sifData.sif[j, i];
}
//string[] tmp = path.Split('\\');
//string[] fileName = tmp[tmp.Length - 1].Split('_');
//RefreshChart(sifData.time, y, fileName[0]);
RefreshChart(sifData.time, y, sifData.position[i]);
}
}
public delegate void RefreshChartDelegate(string[] x, double[] y, string type);
public void RefreshChart(string[] x, double[] y, string name)
{
if (chartTC1.chart1.InvokeRequired)
{
RefreshChartDelegate stcb = new RefreshChartDelegate(RefreshChart);
this.Invoke(stcb, new object[] { x, y, name });
}
else
{
//chartTC1.chart1.Series[0].Points.DataBindXY(x, y);
chartTC1.addSeries(x, y, name);
}
}
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(main));
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.NewProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.OpenProjectToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.CloseToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ExitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.preprocessToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.RadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.sifComputeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SvdToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.DoasToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SfmToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SfmGaussinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.SfldToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.Fld3ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.panel1 = new System.Windows.Forms.Panel();
this.treeViewTc21 = new TreeViewTc.TreeViewTc2();
this.PointInfoTextBox = new System.Windows.Forms.TextBox();
this.chartTC1 = new chartTC.chartTC();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.menuStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.SuspendLayout();
//
// menuStrip1
//
this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem,
this.preprocessToolStripMenuItem,
this.sifComputeToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(1420, 25);
this.menuStrip1.TabIndex = 0;
this.menuStrip1.Text = "menuStrip1";
//
// fileToolStripMenuItem
//
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.NewProjectToolStripMenuItem,
this.OpenProjectToolStripMenuItem,
this.CloseToolStripMenuItem,
this.ExitToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(44, 21);
this.fileToolStripMenuItem.Text = "文件";
//
// NewProjectToolStripMenuItem
//
this.NewProjectToolStripMenuItem.Name = "NewProjectToolStripMenuItem";
this.NewProjectToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
this.NewProjectToolStripMenuItem.Text = "新建工程";
this.NewProjectToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click);
//
// OpenProjectToolStripMenuItem
//
this.OpenProjectToolStripMenuItem.Name = "OpenProjectToolStripMenuItem";
this.OpenProjectToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
this.OpenProjectToolStripMenuItem.Text = "打开工程";
this.OpenProjectToolStripMenuItem.Click += new System.EventHandler(this.OpenProjectToolStripMenuItem_Click);
//
// CloseToolStripMenuItem
//
this.CloseToolStripMenuItem.Name = "CloseToolStripMenuItem";
this.CloseToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
this.CloseToolStripMenuItem.Text = "关闭工程";
this.CloseToolStripMenuItem.Click += new System.EventHandler(this.CloseToolStripMenuItem_Click);
//
// ExitToolStripMenuItem
//
this.ExitToolStripMenuItem.Name = "ExitToolStripMenuItem";
this.ExitToolStripMenuItem.Size = new System.Drawing.Size(124, 22);
this.ExitToolStripMenuItem.Text = "退出";
this.ExitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItem_Click);
//
// preprocessToolStripMenuItem
//
this.preprocessToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.RadToolStripMenuItem});
this.preprocessToolStripMenuItem.Name = "preprocessToolStripMenuItem";
this.preprocessToolStripMenuItem.Size = new System.Drawing.Size(56, 21);
this.preprocessToolStripMenuItem.Text = "预处理";
//
// RadToolStripMenuItem
//
this.RadToolStripMenuItem.Name = "RadToolStripMenuItem";
this.RadToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
this.RadToolStripMenuItem.Text = "辐亮度校正";
this.RadToolStripMenuItem.Click += new System.EventHandler(this.RadToolStripMenuItem_Click);
//
// sifComputeToolStripMenuItem
//
this.sifComputeToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.SvdToolStripMenuItem,
this.DoasToolStripMenuItem,
this.SfmToolStripMenuItem,
this.SfmGaussinToolStripMenuItem,
this.SfldToolStripMenuItem,
this.Fld3ToolStripMenuItem});
this.sifComputeToolStripMenuItem.Name = "sifComputeToolStripMenuItem";
this.sifComputeToolStripMenuItem.Size = new System.Drawing.Size(58, 21);
this.sifComputeToolStripMenuItem.Text = "Sif算法";
//
// SvdToolStripMenuItem
//
this.SvdToolStripMenuItem.Name = "SvdToolStripMenuItem";
this.SvdToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.SvdToolStripMenuItem.Text = "Svd";
this.SvdToolStripMenuItem.Click += new System.EventHandler(this.SvdToolStripMenuItem_Click);
//
// DoasToolStripMenuItem
//
this.DoasToolStripMenuItem.Name = "DoasToolStripMenuItem";
this.DoasToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.DoasToolStripMenuItem.Text = "Doas";
this.DoasToolStripMenuItem.Click += new System.EventHandler(this.DoasToolStripMenuItem_Click);
//
// SfmToolStripMenuItem
//
this.SfmToolStripMenuItem.Name = "SfmToolStripMenuItem";
this.SfmToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.SfmToolStripMenuItem.Text = "Sfm";
this.SfmToolStripMenuItem.Click += new System.EventHandler(this.SfmToolStripMenuItem_Click);
//
// SfmGaussinToolStripMenuItem
//
this.SfmGaussinToolStripMenuItem.Name = "SfmGaussinToolStripMenuItem";
this.SfmGaussinToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.SfmGaussinToolStripMenuItem.Text = "Sfm gaussian";
this.SfmGaussinToolStripMenuItem.Click += new System.EventHandler(this.SfmGaussinToolStripMenuItem_Click);
//
// SfldToolStripMenuItem
//
this.SfldToolStripMenuItem.Name = "SfldToolStripMenuItem";
this.SfldToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.SfldToolStripMenuItem.Text = "Sfld";
this.SfldToolStripMenuItem.Click += new System.EventHandler(this.SfldToolStripMenuItem_Click);
//
// Fld3ToolStripMenuItem
//
this.Fld3ToolStripMenuItem.Name = "Fld3ToolStripMenuItem";
this.Fld3ToolStripMenuItem.Size = new System.Drawing.Size(153, 22);
this.Fld3ToolStripMenuItem.Text = "3Fld";
this.Fld3ToolStripMenuItem.Click += new System.EventHandler(this.Fld3ToolStripMenuItem_Click);
//
// statusStrip1
//
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.statusStrip1.Location = new System.Drawing.Point(0, 1040);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(1420, 22);
this.statusStrip1.TabIndex = 1;
this.statusStrip1.Text = "statusStrip1";
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 52);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.panel1);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.chartTC1);
this.splitContainer1.Size = new System.Drawing.Size(1420, 988);
this.splitContainer1.SplitterDistance = 269;
this.splitContainer1.TabIndex = 6;
//
// panel1
//
this.panel1.Controls.Add(this.treeViewTc21);
this.panel1.Controls.Add(this.PointInfoTextBox);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(269, 988);
this.panel1.TabIndex = 6;
//
// treeViewTc21
//
this.treeViewTc21.Dock = System.Windows.Forms.DockStyle.Fill;
this.treeViewTc21.Location = new System.Drawing.Point(0, 0);
this.treeViewTc21.Margin = new System.Windows.Forms.Padding(4);
this.treeViewTc21.Name = "treeViewTc21";
this.treeViewTc21.Size = new System.Drawing.Size(269, 731);
this.treeViewTc21.TabIndex = 6;
this.treeViewTc21.Load += new System.EventHandler(this.treeViewTc21_Load);
//
// PointInfoTextBox
//
this.PointInfoTextBox.Dock = System.Windows.Forms.DockStyle.Bottom;
this.PointInfoTextBox.Location = new System.Drawing.Point(0, 731);
this.PointInfoTextBox.Multiline = true;
this.PointInfoTextBox.Name = "PointInfoTextBox";
this.PointInfoTextBox.ReadOnly = true;
this.PointInfoTextBox.Size = new System.Drawing.Size(269, 257);
this.PointInfoTextBox.TabIndex = 5;
//
// chartTC1
//
this.chartTC1.Dock = System.Windows.Forms.DockStyle.Fill;
this.chartTC1.Location = new System.Drawing.Point(0, 0);
this.chartTC1.Name = "chartTC1";
this.chartTC1.Size = new System.Drawing.Size(1147, 988);
this.chartTC1.TabIndex = 3;
this.chartTC1.Load += new System.EventHandler(this.chartTC1_Load);
//
// toolStrip1
//
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton1});
this.toolStrip1.Location = new System.Drawing.Point(0, 25);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1420, 27);
this.toolStrip1.TabIndex = 7;
this.toolStrip1.Text = "toolStrip1";
//
// toolStripButton1
//
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripButton1.Name = "toolStripButton1";
this.toolStripButton1.Size = new System.Drawing.Size(24, 24);
this.toolStripButton1.Text = "toolStripButton1";
//
// main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1420, 1062);
this.Controls.Add(this.splitContainer1);
this.Controls.Add(this.toolStrip1);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.menuStrip1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.menuStrip1;
this.Name = "main";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "easySif";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.main_FormClosing);
this.Load += new System.EventHandler(this.main_Load);
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
private void chart1_Click(object sender, EventArgs e)
{
}
private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e)
{
}
private void treeViewTc21_Load(object sender, EventArgs e)
{
}
private void CloseToolStripMenuItem_Click(object sender, EventArgs e)
{
if (mProjectManager == null)
return;
int index = this.Text.IndexOf(getProjectName());
this.Text = this.Text.Substring(0, index - 1);//index - 1还要加上一个字符“-”
mProjectManager = null;
GC.Collect();
treeViewTc21.clearAll();
chartTC1.chart1.Series.Clear();
PointInfoTextBox.Clear();
}
private void chartTC1_Load(object sender, EventArgs e)
{
}
}
}

View File

@ -123,4 +123,310 @@
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>137, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>258, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9
0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw
bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc
VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9
c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32
Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo
mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+
kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAA
AAD/////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////7+/f/+/v3//v7+////
///////////////////////////////+/v/+/f3//v38//79/P/+/v3//v79//7+/f/+/fv//v7+////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////7+
/v/9/Pv/zd2n//j58//+/f7///7+///+/f/+/v7//v7+//79/f/w9OP/1OKx/8LWkP+3znz/s811/7bO
ef+/1Ir/zt6m/+fu1f/9/Pv//v3+//7+/v//////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////+/v7/4O++/9notP+kxF7/6O7V//79+//+/v3/9/nv/8nbnf+cvkv/h7An/4aw
Jf+HsSb/h7Em/4exJv+HsSb/h7Em/4axJv+HsSb/k7g9/+DpyP/+/v7/////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////v7+//z8+f/F44H/2Oez/5a6Qv/L26H/y9uh/4+2
Of+GsCb/h7El/4exJf+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSX/h7Em/5u9Sf/H2pr/4+vN//39
+//+/v3///7+////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////+/v3/9Pjl/7ne
Zv/Y57P/krg6/4ewJ/+HsSX/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4ax
Jv+HsSf/h7Am/4axJP+cvkz/3+rD//79/f///v////7/////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////i7r//tNxZ/9nosv+SuDv/hrAn/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+GsCb/l7tD/8vbn//q79f//f36//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////+/v/+/v7/4O66/7DZUf+z21n/2eey/5G4O/+HsSb/h7El/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/hrEl/4axJf+GsCb/hrEl/52/
UP/m7dL//v39///+/v//////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////+/v3/+/z0/7jdY/+w2k//r9pP/7Lb
Wf/Z57L/krc7/4awJv+HsSX/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+HsSb/h7Em/4axJf+UuT3/1+O4//79+//+/v7//v7+////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////v39/9/u
uP+v2U7/sNpP/7DaT/+w2k//tNxX/9nos/+SuDz/hrEm/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4awJv+hwFT/5+3S//39/P//////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////7+/P/B4Xb/sNpO/7DaT/+w2k//sNpP/6/ZT/+z3Fr/2uay/5K4O/+HsSb/h7El/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/hrAm/5e6
Rf/3+fD///7+///+////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////4++7/sNpT/7DZT/+w2k//sNpP/7DaT/+w2U//sNpP/7Tb
Wv/a6LL/krc8/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+HsSb/h7Em/4exJv+syGn/5/DU//79/v////7/////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////+/v7/5/PM/6/aTv+w2U//sNpP/7Da
T/+w2k//sNlP/7DZT/+v2U//s9tX/9nosv+SuDz/hrEm/4exJf+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/hrEm/4myLv/T4a///v79///+/v//////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////v79/9vt
r/+v2VD/sNpO/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/6/ZT/+z21r/2eey/5K4PP+HsSb/h7El/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/irIs/+ft
1f///v3/////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////79+//T6KD/r9lO/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2U//r9lP/7Pb
Wf/Z6LP/krc8/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+HsSb/iLEq/8nZm//9+/n///79////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////+/fz/0OiZ/6/ZTv+w2k//sNpP/7DaT/+w2k//sNpP/7Da
T/+w2k//sNlP/7DZT/+v2U//s9tX/9nntP+Ttzz/hrAn/4exJf+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/4axJP+HsSb/utKE//v8+f//////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////v78/9Lonv+v2k7/sNpO/7Da
T/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+021j/2eex/5O4Pf+HsCb/h7El/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJP/H2Zr//v7+///+
/v//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////7+
/f/Z7Kz/r9pO/7DZT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//r9lO/7Pc
WP/Z6LP/krc8/4ewJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+MszD/z9yo//79/P///v7/////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////+/v7/5fLG/6/aTv+w2U//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+w2U//s9xX/9jnsv+Ttzz/h7Am/4exJf+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+HsSb/h7Em/4exJv+HsSb/hrEl/56/Uf/z9un//v7+////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////X56f+v2k//r9lP/7DaTv+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/6/ZTv+z3Fj/2Oey/5K3PP+GsCb/h7El/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/oMFV//v79////v7/////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////9/fz/vN9t/7/f
cf+v2k3/sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//r9lO/7Pb
WP/Z6LL/k7g9/4ewJ/+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Am/4ax
JP/K3KL//v79////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////v79/+312f/f7rb/r9pP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+w2U//sttY/9rosv+SuDz/h7Em/4exJf+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+HsSb/h7Em/4exJf+OtTL/rchs//79+///////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////+/v/+/v7/8vfj/6/ZT/+v2k7/r9pO/7DaT/+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/6/ZTv+y21n/2eez/5O4PP+GsSb/h7El/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsCb/h7Eo/8jZmf/+/fv/////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////79/P/C4nv/vN5q/6/a
Tv+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7Pb
Vv/Z6LT/krg9/4axJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+HsSb/h7Em/4exJv+IsSf/5e3O//7+
/v//////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///+/v3/7/bc/+DuuP+v2U7/sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+v2U//s9xY/9nnsv+TuD3/h7Em/4exJf+HsSb/h7Em/4exJv+HsSb/h7Em/4ex
Jv+HsSb/irIs/7nRhv/+/v7/////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////7+/f/2+On/sNlQ/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/6/ZTv+z3Ff/2ei0/5O3PP+HsSb/h7Em/4ex
Jv+HsSb/h7Em/4exJv+HsSb/h7Em/5O4O//y9eX//v7+////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////+/v7//v38/8Xjf/+53WX/r9pP/7Da
Tv+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//r9lP/7Pb
V//Z6LP/krg9/4awJv+HsSX/h7Em/4exJv+HsSb/h7Em/4exJv+HsSf/xtiY//7+/v//////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////7+///+
/v/y+OX/5/HO/7DZU/+w2k//sNlP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+v2U//stxY/9nnsf+TuD3/h7Em/4exJf+HsSb/h7Em/4exJv+HsSb/h7El/5u9
TP/+/f3///7+////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////7+/P/H44X/sNlP/7DaUP+w2k//sNpP/7DaT/+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/6/ZTv+z21j/2eiz/5O4PP+HsSb/h7Em/4ex
Jv+HsSb/h7Em/4exJv+GsCf/+Prx///+/v//////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////+/v7/9Pjl/7vea//O55D/r9pP/7DZ
T/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//r9lP/7Pb
V//a57P/k7g9/4awJ/+HsSX/h7Em/4exJv+GsSX/nL1N/+/z4////v7/////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////7+///+
/f/7+/X/9Pjn/7TbW/+w2k3/sdpS/6/aTv+w2U//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+w2k//tNtY/9nnsv+Ttzz/h7Am/4exJf+HsSb/hrEk/9Heqv///f3///7+////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////7+/f/o8s3/sttX/97ttP+w2lD/sNpO/7DaT/+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/6/ZTv+z21j/2emy/5O3Pf+HsCb/h7Em/4ey
JP+80ob//v7+////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////+/v7//v79//P45v/9/fv/2+ut/7DZ
Tv+121v/sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//r9lO/7Pb
WP/Y57L/k7g8/4ewJv+HsSX/sMtw//7+/v//////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
///+/v7//v7+//39/P/h773/3+65/8bkfv+v2k//sNlP/7DaTv+w2U//sNpP/7DaT/+w2k//sNpP/7Da
T/+w2k//sNpP/7DaT/+v2U7/s9xY/9jnsv+TuD3/hrEm/67Kbv/+/v7/////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////v7+//7+/v/7+vL/x+SC/6/bTf+z21j/sttV/7Da
T/+w2k//sNpP/7DaT/+w2k//sNpP/7DaT/+w2k//sNpP/6/ZTv+y21f/2emy/5O4Pf+40H7//v7+////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////v7+//39
+//k8MP/yeSM/+Lwvf+y2lT/sNlT/7zeaf+w2k7/sNtN/7DaT/+v2k//sNpO/7DaT/+w2VD/sNlP/7Pb
Wf/Z6LL/2+W/////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////v7//v38//78/P/+/fz/8/fl/9Xrp//2+Or/4O68/8PhfP+z21b/ut1n/+bw
yP/X66f/0OiV/87okv/T6p7/5/LL//79/P//////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////7+
/v/+/v7//f39//n58//+/v3/////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////v3///7+////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
</value>
</data>
</root>

View File

@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NewProjectWindow));
this.label1 = new System.Windows.Forms.Label();
this.ProjectPathTextBox = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
@ -69,7 +70,7 @@
//
// CreateProjectBtn
//
this.CreateProjectBtn.Location = new System.Drawing.Point(77, 217);
this.CreateProjectBtn.Location = new System.Drawing.Point(96, 217);
this.CreateProjectBtn.Name = "CreateProjectBtn";
this.CreateProjectBtn.Size = new System.Drawing.Size(75, 23);
this.CreateProjectBtn.TabIndex = 3;
@ -79,7 +80,7 @@
//
// Cancel
//
this.Cancel.Location = new System.Drawing.Point(310, 217);
this.Cancel.Location = new System.Drawing.Point(314, 217);
this.Cancel.Name = "Cancel";
this.Cancel.Size = new System.Drawing.Size(75, 23);
this.Cancel.TabIndex = 4;
@ -146,7 +147,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(494, 292);
this.ClientSize = new System.Drawing.Size(490, 271);
this.Controls.Add(this.label3);
this.Controls.Add(this.SelectCalFilePathBtn);
this.Controls.Add(this.CalFilePathTextBox);
@ -158,7 +159,11 @@
this.Controls.Add(this.DataPathTextBox);
this.Controls.Add(this.ProjectPathTextBox);
this.Controls.Add(this.label1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "NewProjectWindow";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "创建工程";
this.ResumeLayout(false);
this.PerformLayout();

View File

@ -56,6 +56,8 @@ namespace mainProgram
TransferEvent(projectManager);//触发事件
MessageBox.Show(this, "工程创建成功!", "提示");
this.DialogResult = DialogResult.OK;
Close();//创建工程完成后,关闭窗口
}
@ -96,6 +98,7 @@ namespace mainProgram
private void Cancel_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
Close();
}

File diff suppressed because it is too large Load Diff

View File

@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OpenProjectWindow));
this.ProjectPathTextBox = new System.Windows.Forms.TextBox();
this.OpenProjectPathBtn = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
@ -37,7 +38,7 @@
//
// ProjectPathTextBox
//
this.ProjectPathTextBox.Location = new System.Drawing.Point(219, 81);
this.ProjectPathTextBox.Location = new System.Drawing.Point(135, 38);
this.ProjectPathTextBox.Name = "ProjectPathTextBox";
this.ProjectPathTextBox.ReadOnly = true;
this.ProjectPathTextBox.Size = new System.Drawing.Size(162, 21);
@ -45,9 +46,9 @@
//
// OpenProjectPathBtn
//
this.OpenProjectPathBtn.Location = new System.Drawing.Point(133, 196);
this.OpenProjectPathBtn.Location = new System.Drawing.Point(49, 118);
this.OpenProjectPathBtn.Name = "OpenProjectPathBtn";
this.OpenProjectPathBtn.Size = new System.Drawing.Size(135, 23);
this.OpenProjectPathBtn.Size = new System.Drawing.Size(83, 23);
this.OpenProjectPathBtn.TabIndex = 2;
this.OpenProjectPathBtn.Text = "打开工程";
this.OpenProjectPathBtn.UseVisualStyleBackColor = true;
@ -56,7 +57,7 @@
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(131, 81);
this.label1.Location = new System.Drawing.Point(47, 38);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(53, 12);
this.label1.TabIndex = 3;
@ -64,9 +65,9 @@
//
// SelectProjectPathBtn
//
this.SelectProjectPathBtn.Location = new System.Drawing.Point(401, 81);
this.SelectProjectPathBtn.Location = new System.Drawing.Point(351, 38);
this.SelectProjectPathBtn.Name = "SelectProjectPathBtn";
this.SelectProjectPathBtn.Size = new System.Drawing.Size(135, 23);
this.SelectProjectPathBtn.Size = new System.Drawing.Size(83, 23);
this.SelectProjectPathBtn.TabIndex = 4;
this.SelectProjectPathBtn.Text = "选择";
this.SelectProjectPathBtn.UseVisualStyleBackColor = true;
@ -74,9 +75,9 @@
//
// CancelBtn
//
this.CancelBtn.Location = new System.Drawing.Point(401, 196);
this.CancelBtn.Location = new System.Drawing.Point(351, 118);
this.CancelBtn.Name = "CancelBtn";
this.CancelBtn.Size = new System.Drawing.Size(135, 23);
this.CancelBtn.Size = new System.Drawing.Size(83, 23);
this.CancelBtn.TabIndex = 5;
this.CancelBtn.Text = "取消";
this.CancelBtn.UseVisualStyleBackColor = true;
@ -86,13 +87,17 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(738, 390);
this.ClientSize = new System.Drawing.Size(485, 191);
this.Controls.Add(this.CancelBtn);
this.Controls.Add(this.SelectProjectPathBtn);
this.Controls.Add(this.label1);
this.Controls.Add(this.OpenProjectPathBtn);
this.Controls.Add(this.ProjectPathTextBox);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "OpenProjectWindow";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "打开工程";
this.ResumeLayout(false);
this.PerformLayout();

View File

@ -45,16 +45,28 @@ namespace mainProgram
}
ProjectManager projectManager = new ProjectManager(projectPath);
projectManager.OpenProject();
TransferEvent(projectManager);//触发事件
if(projectManager.OpenProject())
{
TransferEvent(projectManager);//触发事件
MessageBox.Show(this, "工程打开成功!", "提示");
Close();//打开工程完成后,关闭窗口
MessageBox.Show(this, "工程打开成功!", "提示");
this.DialogResult = DialogResult.OK;
Close();//打开工程完成后,关闭窗口
}
else
{
MessageBox.Show(this, "工程打开失败!", "提示");
}
}
private void CancelBtn_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
Close();
}
}

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,8 @@ using System.Windows.Forms;
namespace mainProgram
{
public delegate void UpdateProgressBarInfoDelegate(int ipos, string vinfo);//申明代理:用于进度条的更新UpdateProgressBarInfoDelegate 1
public delegate void UpdateProgressBarInfoDelegate(int ipos, string vinfo);//申明委托类型:用于进度条的更新
public delegate void RadCompleteDelegate();//申明委托类型:福亮度完成后调用的委托
public class DateFolder : IComparable//接口
{
@ -195,6 +196,51 @@ namespace mainProgram
}
}
public string MetadataPath
{
get
{
return mMetadataPath;
}
set
{
mMetadataPath = value;
}
}
public string RawPath
{
get
{
return mRawPath;
}
set
{
mRawPath = value;
}
}
public string RadPath
{
get
{
return mRadPath;
}
set
{
mRadPath = value;
}
}
public string SifPath
{
get
{
return mSifPath;
}
set
{
mSifPath = value;
}
}
public void CreateProject(string calFilePath, string dataPath)
{
if (mProjectPath.Length == 0)
@ -226,16 +272,30 @@ namespace mainProgram
}
public void OpenProject()
public bool OpenProject()
{
if (!Directory.Exists(mProjectPath))
return false;
mMetadataPath = Path.Combine(mProjectPath, ".project");
mRawPath = Path.Combine(mProjectPath, "1raw");
mRadPath = Path.Combine(mProjectPath, "2rad");
mSifPath = Path.Combine(mProjectPath, "3sif");
BinaryReader br = new BinaryReader(new FileStream(Path.Combine(mMetadataPath, "CsvFileCount.dat"), FileMode.Open));
mCsvFileCount = br.ReadInt32();
br.Close();
if (Directory.Exists(mMetadataPath) & Directory.Exists(mRawPath) & Directory.Exists(mRadPath) & Directory.Exists(mSifPath))
{
BinaryReader br = new BinaryReader(new FileStream(Path.Combine(mMetadataPath, "CsvFileCount.dat"), FileMode.Open));
mCsvFileCount = br.ReadInt32();
br.Close();
return true;
}
else
{
return false;
}
//if (false == Directory.Exists(mMetadataPath))
//{
@ -267,9 +327,9 @@ namespace mainProgram
}
public void DeleteData()
public void DeleteFile(string name)
{
File.Delete(name);
}
//生成工程元数据
@ -538,7 +598,7 @@ namespace mainProgram
bw.Close();
}
private void DelectDir(string srcPath)
public void DelectDir(string srcPath)
{
DirectoryInfo dir = new DirectoryInfo(srcPath);
FileSystemInfo[] fileinfo = dir.GetFileSystemInfos(); //返回目录中所有文件和子目录
@ -557,6 +617,12 @@ namespace mainProgram
}
public void DelectDirIncludeItself(string srcPath)
{
DirectoryInfo dir = new DirectoryInfo(srcPath);
dir.Delete(true);
}
//工程结构
public void CreateProjectStructure()
@ -590,13 +656,13 @@ namespace mainProgram
}
}
public int getTxtFileCount()
public int getNonLinearFileCount()
{
string[] metaFilesPath = Directory.GetFileSystemEntries(mMetadataPath);
int txtFileCount = 0;
for (int i = 0; i < metaFilesPath.Length; i++)//
{
if (metaFilesPath[i].Contains("txt"))
if (metaFilesPath[i].Contains("nonLinear"))
{
txtFileCount++;
}
@ -619,7 +685,11 @@ namespace mainProgram
return datFileCount;
}
public UpdateProgressBarInfoDelegate UpdateProgressBarInfo;//
//如果一个委托不需要再其定义的类之外被触发,那么就可以将其转化为事件,这样可以保证它不会在外部被随意触发。
//public UpdateProgressBarInfoDelegate UpdateProgressBarInfo;//申明委托变量
public event UpdateProgressBarInfoDelegate UpdateProgressBarInfoEvent;//申明事件
//public RadCompleteDelegate RadComplete;//申明委托变量
public event RadCompleteDelegate RadCompleteEvent;//申明委托变量
//处理工程中的数据
public void Rad()
@ -627,16 +697,16 @@ namespace mainProgram
int counter = 0;
//读取标定文件:辐射定标文件 + 非线性校正文件
int datFileCount = getCalFileCount();
int txtFileCount = getTxtFileCount();
int txtFileCount = getNonLinearFileCount();
CalData[] calDatas = new CalData[datFileCount];
NonLinearData[] nonLinearDatas = new NonLinearData[txtFileCount];
int d1 = 0, d2 = 0;
string[] metaFilesPath = Directory.GetFileSystemEntries(mMetadataPath);
for (int i = 0; i < datFileCount + txtFileCount; i++)
for (int i = 0; i < metaFilesPath.Length; i++)
{
if (metaFilesPath[i].Contains("txt"))
if (metaFilesPath[i].Contains("nonLinear"))
{
nonLinearDatas[d1] = ReadNonLinearFile(metaFilesPath[i]);
d1++;
@ -653,11 +723,10 @@ namespace mainProgram
DelectDir(mRadPath);
string[] sourceFilesPath = Directory.GetFileSystemEntries(mRawPath);
for (int i = 0; i < sourceFilesPath.Length; i++)//mRawPath下的日期文件夹
for (int i = 0; i < sourceFilesPath.Length; i++)//mRawPath下的每个日期文件夹
{
string sourceFilePath = sourceFilesPath[i];
string[] forlders = sourceFilePath.Split('\\');
//构建rad中的输出文件夹
string[] forlders = sourceFilesPath[i].Split('\\');
string lastDirectory = forlders[forlders.Length - 1];
string dest = Path.Combine(mRadPath, lastDirectory);
@ -666,8 +735,9 @@ namespace mainProgram
Directory.CreateDirectory(dest);
}
string[] rawFiles = Directory.GetFileSystemEntries(Path.Combine(mRawPath, lastDirectory));
foreach (string rawFileName in rawFiles)//日期文件夹下的文件
foreach (string rawFileName in rawFiles)//日期文件夹下的每个DN值csv文件
{
string[] nameTmp = rawFileName.Split('\\');
string name = nameTmp[nameTmp.Length - 1];
@ -700,11 +770,30 @@ namespace mainProgram
float tmp1 = (float)counter / (float)mCsvFileCount;
float tmp2 = tmp1 * 100;
UpdateProgressBarInfo((int)tmp2, name + "\r\n");
//if (UpdateProgressBarInfo != null)//确认委托有方法
//{
// UpdateProgressBarInfo((int)tmp2, name + "\r\n");
//}
if (UpdateProgressBarInfoEvent != null)
{
UpdateProgressBarInfoEvent((int)tmp2, name + "\r\n");
}
}
}
//福亮度转换完成后,需要做得动作
////福亮度转换完成后,需要做得动作
//if (RadComplete != null)//确认委托有方法
//{
// RadComplete();
//}
if (RadCompleteEvent != null)//确认事件有方法可以执行
{
RadCompleteEvent();
}
}
/*
@ -743,19 +832,17 @@ namespace mainProgram
CalData calFile;
string[] forlders = calFilePath.Split('\\');
string filename = forlders[forlders.Length - 1].Split('.')[0];
string[] xx = filename.Split('_');
calFile.SN = xx[0];
//string tmp = xx[1][xx[1].Length - 1];
string[] tmp = filename.Split('_');
calFile.SN = tmp[0];
int s = int.Parse(xx[1]);
calFile.position = s;
calFile.SN = filename;
calFile.position = int.Parse(tmp[tmp.Length - 1]);
FileStream fs2 = new FileStream(calFilePath, FileMode.Open, FileAccess.Read);
BinaryReader br = new BinaryReader(fs2);
calFile.exposureTime = br.ReadUInt16();
calFile.exposureTime = br.ReadUInt32();
calFile.temperature = br.ReadSingle();
calFile.pixelCount = br.ReadInt32();
calFile.waveLengthInNM = new float[calFile.pixelCount];

View File

@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProjectManagerWindow));
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.SuspendLayout();
@ -52,10 +53,14 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.ClientSize = new System.Drawing.Size(547, 236);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "ProjectManagerWindow";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "ProjectManagerWindow";
this.ResumeLayout(false);
this.PerformLayout();

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,7 @@ namespace mainProgram
}
public void NonLinearCorrection(double[] coefficient, double[] rawData,int bandnumber)
public void NonLinearCorrection(double[] coefficient, double[] rawData, int bandnumber)
{
for (int i = 0; i < bandnumber; i++)
{
@ -37,15 +37,15 @@ namespace mainProgram
}
public void RadCorrection(double[] calData, int integrationTime_cal, double[] targetData, int integrationTime_target, int bandnumber)
public void RadCorrection(double[] calData, uint integrationTime_cal, double[] targetData, int integrationTime_target, int bandnumber)
{
for (int i = 0; i < bandnumber; i++)
{
targetData[i] = calData[i] * targetData[i] * (integrationTime_cal * 1.0) / (integrationTime_target * 1.0);
if (targetData[i] < 0)//如果福亮度为负值则设置为0
if (targetData[i] < 0 || integrationTime_target == 0)//如果福亮度为负值则设置为0
{
targetData[i] = 0;
targetData[i] = 0.0000000000000001;//丰建议不设置为0而设置为很小的数他的sif算法就不会出错
}
}
@ -65,9 +65,17 @@ namespace mainProgram
public double[] spectral;//long or double ?????????????????????????
}
public struct SifData
{
public string deviceType;
public string[] position;
public string[] time;
public double[,] sif;//二维数组
}
public struct CalData
{
public int exposureTime;
public uint exposureTime;
public int pixelCount;
public float temperature;
public float[] waveLengthInNM;
@ -83,6 +91,86 @@ namespace mainProgram
public string SN;
}
public class FileEncoding
{
// 给定文件的路径,读取文件的二进制数据,判断文件的编码类型
public static Encoding GetType(string FILE_NAME)
{
FileStream fs = new FileStream(FILE_NAME, FileMode.Open, FileAccess.Read);
Encoding r = GetType(fs);
fs.Close();
return r;
}
// 通过给定的文件流,判断文件的编码类型
public static Encoding GetType(FileStream fs)
{
byte[] Unicode = new byte[] { 0xFF, 0xFE, 0x41 };
byte[] UnicodeBIG = new byte[] { 0xFE, 0xFF, 0x00 };
byte[] UTF8 = new byte[] { 0xEF, 0xBB, 0xBF }; //带BOM
Encoding reVal = Encoding.Default;
BinaryReader r = new BinaryReader(fs, Encoding.Default);
int i;
int.TryParse(fs.Length.ToString(), out i);
byte[] ss = r.ReadBytes(i);
if (IsUTF8Bytes(ss) || (ss[0] == 0xEF && ss[1] == 0xBB && ss[2] == 0xBF))
{
reVal = Encoding.UTF8;
}
else if (ss[0] == 0xFE && ss[1] == 0xFF && ss[2] == 0x00)
{
reVal = Encoding.BigEndianUnicode;
}
else if (ss[0] == 0xFF && ss[1] == 0xFE && ss[2] == 0x41)
{
reVal = Encoding.Unicode;
}
r.Close();
return reVal;
}
// 判断是否是不带 BOM 的 UTF8 格式
private static bool IsUTF8Bytes(byte[] data)
{
int charByteCounter = 1; //计算当前正分析的字符应还有的字节数
byte curByte; //当前分析的字节.
for (int i = 0; i < data.Length; i++)
{
curByte = data[i];
if (charByteCounter == 1)
{
if (curByte >= 0x80)
{
//判断当前
while (((curByte <<= 1) & 0x80) != 0)
{
charByteCounter++;
}
//标记位首位若为非0 则至少以2个1开始 如:110XXXXX...........1111110X 
if (charByteCounter == 1 || charByteCounter > 6)
{
return false;
}
}
}
else
{
//若是UTF-8 此时第一位必须为1
if ((curByte & 0xC0) != 0x80)
{
return false;
}
charByteCounter--;
}
}
if (charByteCounter > 1)
{
throw new Exception("非预期的byte格式");
}
return true;
}
}
public class SpectralDataReaderWriter
{
@ -121,7 +209,7 @@ namespace mainProgram
public int findMaxColunmCount(string filePath)
{
Encoding encoding = GetType(filePath); //Encoding.ASCII;//
Encoding encoding = FileEncoding.GetType(filePath); //Encoding.ASCII;//
DataTable dt = new DataTable();
FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(fs, encoding);
@ -153,14 +241,14 @@ namespace mainProgram
{
mDataTable = new DataTable();
int columnCount1 = findMaxColunmCount(mCsvPath);
for (int i = 0; i < columnCount1; i++)
{
DataColumn dc1 = new DataColumn();
mDataTable.Columns.Add(dc1);
}
Encoding encoding = GetType(mCsvPath); //Encoding.ASCII;//
Encoding encoding = FileEncoding.GetType(mCsvPath); //Encoding.ASCII;//
FileStream fs = new FileStream(mCsvPath, FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(fs, encoding);
@ -218,7 +306,7 @@ namespace mainProgram
spectralData.spectralDataLength = mWavelengthCountOfSpectrometers[wavelengthCountIndex];
spectralData.exposureTime = int.Parse(mDataTable.Rows[index - 1 + rowOffset][2].ToString());
spectralData.spectral = new double[mWavelengthCountOfSpectrometers[wavelengthCountIndex]];
for (int i = 0; i < mWavelengthCountOfSpectrometers[wavelengthCountIndex]; i++)
{
@ -254,7 +342,25 @@ namespace mainProgram
public int GetPosition(int index)
{
index -= 1;//因为0基索引所以减1
//index -= 1;//因为0基索引所以减1
//int position;
//int chushu = index / mSpectralCountOfOneSpectrometer;
//int yushu = index % mSpectralCountOfOneSpectrometer;
//if (yushu == 0)
//{
// position = mSpectralCountOfOneSpectrometer;
//}
//else
//{
// position = yushu;
//}
//return position;
int position;
int chushu = index / mSpectralCountOfOneSpectrometer;
@ -262,6 +368,7 @@ namespace mainProgram
if (yushu == 0)
{
position = mSpectralCountOfOneSpectrometer;
}
else
@ -318,83 +425,7 @@ namespace mainProgram
fs.Close();
}
// 给定文件的路径,读取文件的二进制数据,判断文件的编码类型
public Encoding GetType(string FILE_NAME)
{
FileStream fs = new FileStream(FILE_NAME, FileMode.Open, FileAccess.Read);
Encoding r = GetType(fs);
fs.Close();
return r;
}
// 通过给定的文件流,判断文件的编码类型
public Encoding GetType(FileStream fs)
{
byte[] Unicode = new byte[] { 0xFF, 0xFE, 0x41 };
byte[] UnicodeBIG = new byte[] { 0xFE, 0xFF, 0x00 };
byte[] UTF8 = new byte[] { 0xEF, 0xBB, 0xBF }; //带BOM
Encoding reVal = Encoding.Default;
BinaryReader r = new BinaryReader(fs, Encoding.Default);
int i;
int.TryParse(fs.Length.ToString(), out i);
byte[] ss = r.ReadBytes(i);
if (IsUTF8Bytes(ss) || (ss[0] == 0xEF && ss[1] == 0xBB && ss[2] == 0xBF))
{
reVal = Encoding.UTF8;
}
else if (ss[0] == 0xFE && ss[1] == 0xFF && ss[2] == 0x00)
{
reVal = Encoding.BigEndianUnicode;
}
else if (ss[0] == 0xFF && ss[1] == 0xFE && ss[2] == 0x41)
{
reVal = Encoding.Unicode;
}
r.Close();
return reVal;
}
// 判断是否是不带 BOM 的 UTF8 格式
private bool IsUTF8Bytes(byte[] data)
{
int charByteCounter = 1; //计算当前正分析的字符应还有的字节数
byte curByte; //当前分析的字节.
for (int i = 0; i < data.Length; i++)
{
curByte = data[i];
if (charByteCounter == 1)
{
if (curByte >= 0x80)
{
//判断当前
while (((curByte <<= 1) & 0x80) != 0)
{
charByteCounter++;
}
//标记位首位若为非0 则至少以2个1开始 如:110XXXXX...........1111110X 
if (charByteCounter == 1 || charByteCounter > 6)
{
return false;
}
}
}
else
{
//若是UTF-8 此时第一位必须为1
if ((curByte & 0xC0) != 0x80)
{
return false;
}
charByteCounter--;
}
}
if (charByteCounter > 1)
{
throw new Exception("非预期的byte格式");
}
return true;
}
public bool ChangeFileName(string OldPath, string NewPath)
{
@ -435,4 +466,137 @@ namespace mainProgram
return re;
}
};
public class SifDataReaderWriter
{
public SifDataReaderWriter(string csvPath)
{
mCsvPath = csvPath;
OpenCSV();
GetMetaData();
}
private string mCsvPath;
public DataTable mDataTable = null;
private int mTotalPositionCount;
private int mTotalSifCount;
//https://www.jb51.net/article/193012.htm
public void OpenCSV()//从csv读取数据返回table
{
mDataTable = new DataTable();
int columnCount1 = findMaxColunmCount(mCsvPath);
for (int i = 0; i < columnCount1; i++)
{
DataColumn dc1 = new DataColumn();
mDataTable.Columns.Add(dc1);
}
Encoding encoding = FileEncoding.GetType(mCsvPath); //Encoding.ASCII;//
FileStream fs = new FileStream(mCsvPath, FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(fs, encoding);
string strLine = "";//记录每次读取的一行记录
string[] aryLine = null;//记录每行记录中的各字段内容
while ((strLine = sr.ReadLine()) != null)//逐行读取CSV中的数据
{
aryLine = strLine.Split(',');
DataRow dr = mDataTable.NewRow();
for (int j = 0; j < aryLine.Length; j++)
{
dr[j] = aryLine[j];
}
mDataTable.Rows.Add(dr);
}
sr.Close();
fs.Close();
}
public int findMaxColunmCount(string filePath)
{
Encoding encoding = FileEncoding.GetType(filePath); //Encoding.ASCII;//
DataTable dt = new DataTable();
FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(fs, encoding);
string strLine = "";
string[] aryLine = null;
int maxColunmCount = 0;
int tmp;
while ((strLine = sr.ReadLine()) != null)
{
aryLine = strLine.Split(',');
tmp = aryLine.Length;
if (maxColunmCount < tmp)
{
maxColunmCount = tmp;
}
}
sr.Close();
fs.Close();
return maxColunmCount;
}
public void GetMetaData()
{
mTotalPositionCount = mDataTable.Columns.Count - 2;
mTotalSifCount = mDataTable.Rows.Count - 1;
}
public SifData GetSifData()
{
SifData sifData;
//if (index > mTotalSifCount)//错误本文件没有第index条sif时间序列光谱
//{
// //return sifData;
//}
sifData.deviceType = mDataTable.Rows[1][mDataTable.Columns.Count - 1].ToString();
sifData.position = new string[mTotalPositionCount];
sifData.sif = new double[mTotalSifCount, mTotalPositionCount];
sifData.time = new string[mTotalSifCount];
for (int i = 1; i < mTotalPositionCount + 1; i++)//第一列是时间
{
sifData.position[i - 1] = mDataTable.Rows[0][i].ToString();
for (int j = 1; j < mTotalSifCount + 1; j++)//第一行是描述标题
{
string timeTmp = mDataTable.Rows[j][0].ToString();
sifData.time[j - 1] = timeTmp;
string sifTmp = mDataTable.Rows[j][i].ToString();
if (sifTmp.Length == 0)
{
sifData.sif[j - 1, i - 1] = 0;
}
else
{
sifData.sif[j - 1, i - 1] = double.Parse(sifTmp);
}
}
}
return sifData;
}
}
}

View File

@ -33,6 +33,9 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>leaf.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="IronPython, Version=2.7.11.0, Culture=neutral, PublicKeyToken=7f709c5b713576e1, processorArchitecture=MSIL">
<HintPath>..\packages\IronPython.2.7.11\lib\net45\IronPython.dll</HintPath>
@ -57,6 +60,7 @@
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Windows.Forms.DataVisualization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
@ -66,6 +70,9 @@
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="TreeViewTc">
<HintPath>..\TreeViewTc\bin\Debug\TreeViewTc.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
@ -101,6 +108,12 @@
<Compile Include="RadCorrectionWindow.Designer.cs">
<DependentUpon>RadCorrectionWindow.cs</DependentUpon>
</Compile>
<Compile Include="SaveAs.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="SaveAs.Designer.cs">
<DependentUpon>SaveAs.cs</DependentUpon>
</Compile>
<Compile Include="SpectralProcessor.cs" />
<Compile Include="SVDWindows.cs">
<SubType>Form</SubType>
@ -132,6 +145,9 @@
<EmbeddedResource Include="RadCorrectionWindow.resx">
<DependentUpon>RadCorrectionWindow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SaveAs.resx">
<DependentUpon>SaveAs.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SVDWindows.resx">
<DependentUpon>SVDWindows.cs</DependentUpon>
</EmbeddedResource>
@ -149,5 +165,25 @@
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<COMReference Include="stdole">
<Guid>{00020430-0000-0000-C000-000000000046}</Guid>
<VersionMajor>2</VersionMajor>
<VersionMinor>0</VersionMinor>
<Lcid>0</Lcid>
<WrapperTool>primary</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\chartTC\chartTC.csproj">
<Project>{79FB5F64-9DA8-42BF-B1E5-749AEA345C7E}</Project>
<Name>chartTC</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="leaf.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -1 +1 @@
979e07cd03d7ac36cca89d2ab128b7842b424b08
a13c43c237bef274b47edaf091a7574045af724e

View File

@ -1,7 +1,6 @@
D:\csharp_vs2017\easySif\mainProgram\bin\Debug\mainProgram.exe.config
D:\csharp_vs2017\easySif\mainProgram\bin\Debug\mainProgram.exe
D:\csharp_vs2017\easySif\mainProgram\bin\Debug\mainProgram.pdb
D:\csharp_vs2017\easySif\mainProgram\obj\Debug\mainProgram.csprojAssemblyReference.cache
D:\csharp_vs2017\easySif\mainProgram\obj\Debug\mainProgram.Properties.Resources.resources
D:\csharp_vs2017\easySif\mainProgram\obj\Debug\mainProgram.csproj.GenerateResource.cache
D:\csharp_vs2017\easySif\mainProgram\obj\Debug\mainProgram.csproj.CoreCompileInputs.cache
@ -28,3 +27,10 @@ D:\csharp_vs2017\easySif\mainProgram\bin\Debug\Microsoft.Scripting.Metadata.xml
D:\csharp_vs2017\easySif\mainProgram\obj\Debug\mainProgram.csproj.CopyComplete
D:\csharp_vs2017\easySif\mainProgram\obj\Debug\mainProgram.RadCorrectionWindow.resources
D:\csharp_vs2017\easySif\mainProgram\obj\Debug\mainProgram.SVDWindows.resources
D:\csharp_vs2017\easySif\mainProgram\obj\Debug\mainProgram.csproj.ResolveComReference.cache
D:\csharp_vs2017\easySif\mainProgram\bin\Debug\TreeViewTc.dll
D:\csharp_vs2017\easySif\mainProgram\bin\Debug\TreeViewTc.pdb
D:\csharp_vs2017\easySif\mainProgram\obj\Debug\mainProgram.csprojAssemblyReference.cache
D:\csharp_vs2017\easySif\mainProgram\bin\Debug\chartTC.dll
D:\csharp_vs2017\easySif\mainProgram\bin\Debug\chartTC.pdb
D:\csharp_vs2017\easySif\mainProgram\obj\Debug\mainProgram.SaveAsWindow.resources