hytos / DTI_PID / APIDConverter / Form / APIDConverter.cs @ fdb1367e
이력 | 보기 | 이력해설 | 다운로드 (1.15 KB)
1 | 74a0c9d6 | gaqhf | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.ComponentModel; |
||
4 | using System.Data; |
||
5 | using System.Drawing; |
||
6 | using System.Linq; |
||
7 | using System.Text; |
||
8 | using System.Threading.Tasks; |
||
9 | using System.Windows.Forms; |
||
10 | fdb1367e | gaqhf | using AVEVA.PID.CustomizationUtility.DB; |
11 | using AVEVA.PID.CustomizationUtility.Model; |
||
12 | using AVEVA.PID.CustomizationUtility.Properties; |
||
13 | 74a0c9d6 | gaqhf | |
14 | namespace AVEVA.PID.CustomizationUtility |
||
15 | { |
||
16 | e3ced1c9 | gaqhf | public partial class APIDConverter : DevExpress.XtraBars.Ribbon.RibbonForm |
17 | 74a0c9d6 | gaqhf | { |
18 | public APIDConverter() |
||
19 | { |
||
20 | InitializeComponent(); |
||
21 | } |
||
22 | |||
23 | fdb1367e | gaqhf | private void btnLoadFile_Click(object sender, EventArgs e) |
24 | 74a0c9d6 | gaqhf | { |
25 | fdb1367e | gaqhf | Project_Info _ProjectInfo = Project_Info.GetInstance(); |
26 | |||
27 | OpenFileDialog dia = new OpenFileDialog(); |
||
28 | dia.Filter = "Xml Files(*.xml)|*.xml"; |
||
29 | dia.InitialDirectory = _ProjectInfo.TempDirPath; |
||
30 | dia.Multiselect = true; |
||
31 | |||
32 | if (dia.ShowDialog() == DialogResult.OK) |
||
33 | { |
||
34 | foreach (var fileName in dia.FileNames) |
||
35 | { |
||
36 | //Document document = new Document(fileName, ); |
||
37 | } |
||
38 | } |
||
39 | 74a0c9d6 | gaqhf | } |
40 | } |
||
41 | } |