hytos / DTI_PID / SPPIDConverter / ConverterDocking.cs @ f7df92c0
이력 | 보기 | 이력해설 | 다운로드 (1.34 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.ComponentModel; |
4 |
using System.Drawing; |
5 |
using System.Data; |
6 |
using System.Linq; |
7 |
using System.Text; |
8 |
using System.Threading.Tasks; |
9 |
using System.Windows.Forms; |
10 |
using System.Threading; |
11 |
using Microsoft.VisualBasic; |
12 |
using Ingr.RAD2D; |
13 |
using Converter.BaseModel; |
14 |
using Converter.SPPID.Properties; |
15 |
using Converter.SPPID.DB; |
16 |
using Converter.SPPID.Util; |
17 |
using Converter.SPPID.Form; |
18 |
using Converter.SPPID.Model; |
19 |
|
20 |
namespace Converter.SPPID.Wrapper |
21 |
{ |
22 |
public partial class ConverterDocking : UserControl |
23 |
{ |
24 |
Ingr.RAD2D.Application radApp; |
25 |
dynamic application; |
26 |
public ConverterDocking() |
27 |
{ |
28 |
InitializeComponent(); |
29 |
application = Interaction.GetObject("", "PIDAutomation.Application"); |
30 |
WrapperApplication wApp = new WrapperApplication(application.Application); |
31 |
radApp = wApp.RADApplication; |
32 |
} |
33 |
|
34 |
private void btnConverter_Click(object sender, EventArgs e) |
35 |
{ |
36 |
try |
37 |
{ |
38 |
ConverterForm converterForm = new ConverterForm(); |
39 |
if (converterForm.ShowDialog() == DialogResult.OK) |
40 |
{ |
41 |
|
42 |
} |
43 |
} |
44 |
catch (Exception ex) |
45 |
{ |
46 |
MessageBox.Show(ex.Message + "\r\n" + ex.StackTrace); |
47 |
} |
48 |
} |
49 |
} |
50 |
} |