hytos / DTI_PID / SPPIDConverter / ConverterDocking.cs @ f7df92c0
이력 | 보기 | 이력해설 | 다운로드 (1.34 KB)
1 | 65881d60 | gaqhf | 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 | e3e2d41f | gaqhf | using Ingr.RAD2D; |
13 | d19ae675 | gaqhf | 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 | 65881d60 | gaqhf | |
20 | namespace Converter.SPPID.Wrapper |
||
21 | { |
||
22 | public partial class ConverterDocking : UserControl |
||
23 | { |
||
24 | e3e2d41f | gaqhf | Ingr.RAD2D.Application radApp; |
25 | d19ae675 | gaqhf | dynamic application; |
26 | 65881d60 | gaqhf | public ConverterDocking() |
27 | { |
||
28 | InitializeComponent(); |
||
29 | d19ae675 | gaqhf | application = Interaction.GetObject("", "PIDAutomation.Application"); |
30 | e3e2d41f | gaqhf | WrapperApplication wApp = new WrapperApplication(application.Application); |
31 | radApp = wApp.RADApplication; |
||
32 | 65881d60 | gaqhf | } |
33 | |||
34 | e3e2d41f | gaqhf | private void btnConverter_Click(object sender, EventArgs e) |
35 | 65881d60 | gaqhf | { |
36 | try |
||
37 | { |
||
38 | d19ae675 | gaqhf | ConverterForm converterForm = new ConverterForm(); |
39 | if (converterForm.ShowDialog() == DialogResult.OK) |
||
40 | { |
||
41 | |||
42 | } |
||
43 | 65881d60 | gaqhf | } |
44 | catch (Exception ex) |
||
45 | { |
||
46 | MessageBox.Show(ex.Message + "\r\n" + ex.StackTrace); |
||
47 | } |
||
48 | } |
||
49 | } |
||
50 | } |