hytos / DTI_PID / SPPIDConverter_AutoModeling / MainWrapper.cs @ f6d90b6e
이력 | 보기 | 이력해설 | 다운로드 (846 Bytes)
1 | 96a2080c | 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 | |||
11 | ebd79b4d | gaqhf | namespace Converter.AutoModeling.SPPID |
12 | 96a2080c | gaqhf | { |
13 | public partial class MainWrapper : UserControl |
||
14 | { |
||
15 | public MainWrapper() |
||
16 | { |
||
17 | InitializeComponent(); |
||
18 | } |
||
19 | |||
20 | public void ShowDialog() |
||
21 | { |
||
22 | ConverterForm form = new ConverterForm(); |
||
23 | if (form.ShowDialog() == DialogResult.OK) |
||
24 | { |
||
25 | //dynamic application = Interaction.GetObject("", "PIDAutomation.Application"); |
||
26 | //dynamic newDrawing = application.Drawings.Add(sUnit, sTemplate, sDrawingNumber, sDrawingName); |
||
27 | 1278ba59 | gaqhf | MessageBox.Show("OK"); |
28 | 96a2080c | gaqhf | } |
29 | } |
||
30 | } |
||
31 | } |