개정판 ca214bc3
dev issue #000 : add SplashScreen
Change-Id: I7fffe8b6e135fa0dd6e822fa0ab561cf82f2608a
DTI_PID/SPPIDConverter/ConverterDocking.cs | ||
---|---|---|
18 | 18 |
using Converter.SPPID.Model; |
19 | 19 |
using Plaice; |
20 | 20 |
using Llama; |
21 |
using DevExpress.XtraSplashScreen; |
|
21 | 22 |
|
22 | 23 |
namespace Converter.SPPID.Wrapper |
23 | 24 |
{ |
... | ... | |
46 | 47 |
try |
47 | 48 |
{ |
48 | 49 |
CloseOPCForm.Run(); |
50 |
|
|
49 | 51 |
foreach (var document in converterForm.Documents) |
50 | 52 |
{ |
51 | 53 |
if (document.SetSPPIDMapping() && document.Enable) |
... | ... | |
70 | 72 |
|
71 | 73 |
private void simpleButton1_Click(object sender, EventArgs e) |
72 | 74 |
{ |
75 |
//SplashScreenManager.ShowForm(typeof(SPPIDSplashScreen), true, true); |
|
76 |
//// The splash screen will be opened in a separate thread. To interact with it, use the SendCommand method. |
|
77 |
//for (int i = 1; i <= 100; i++) |
|
78 |
//{ |
|
79 |
// SplashScreenManager.Default.SendCommand(SPPIDSplashScreen.SplashScreenCommand.SetProgress, i); |
|
80 |
// //To process commands, override the SplashScreen.ProcessCommand method. |
|
81 |
// Thread.Sleep(25); |
|
82 |
//} |
|
83 |
|
|
84 |
//// Close the Splash Screen. |
|
85 |
//SplashScreenManager.CloseForm(false); |
|
86 |
|
|
87 |
//SetVisibleCore(false); |
|
88 |
|
|
89 |
SplashScreenWrapper wrapper = new SplashScreenWrapper(); |
|
90 |
wrapper.ShowDialog(); |
|
91 |
|
|
92 |
return; |
|
93 |
|
|
73 | 94 |
Placement _placement = new Placement(); |
74 | 95 |
LMADataSource dataSource = _placement.PIDDataSource; |
75 | 96 |
|
내보내기 Unified diff