개정판 a197bf6f
issue #00000 sign manager 수정
Change-Id: I37e286b276179d93d61c50d419ad6861b611bc75
KCOM/MainWindow.xaml.cs | ||
---|---|---|
87 | 87 |
Telerik.Windows.Controls.RadWindow.Alert(parameters); |
88 | 88 |
} |
89 | 89 |
|
90 |
private void MainWindow_Loaded(object sender, RoutedEventArgs e) |
|
90 |
private async void MainWindow_Loaded(object sender, RoutedEventArgs e)
|
|
91 | 91 |
{ |
92 | 92 |
InitializeComponent(); |
93 | 93 |
//Loaded 이벤트에서 MaxHeight를 설정 모니터가 1개일때만 |
... | ... | |
163 | 163 |
//this.dzMainMenu.FavoritePane.Visibility = Visibility.Collapsed; |
164 | 164 |
//this.dzMainMenu.drawingRotateCanvas.IsHitTestVisible = false; |
165 | 165 |
} |
166 |
else |
|
167 |
{ |
|
168 |
string signData = await this.dzMainMenu.BaseTaskClient.GetSignDataAsync(App.ViewInfo.ProjectNO, App.ViewInfo.UserID); |
|
169 |
string signStrokes = await this.dzMainMenu.BaseTaskClient.GetSignStrokesAsync(App.ViewInfo.ProjectNO, App.ViewInfo.UserID); |
|
170 |
|
|
171 |
if (signData != null && signStrokes != null) |
|
172 |
{ |
|
173 |
MarkupToPDF.MarkupContext.SetUserSignItem(App.ViewInfo.UserID, signData, signStrokes); |
|
174 |
} |
|
175 |
else |
|
176 |
{ |
|
177 |
SignManager signManager = new SignManager(); |
|
178 |
|
|
179 |
RadWindow signManagerPop = new RadWindow |
|
180 |
{ |
|
181 |
MinWidth = 1200, |
|
182 |
MinHeight = 500, |
|
183 |
//Header = "My Check List", |
|
184 |
Header = "", |
|
185 |
Content = signManager, |
|
186 |
Owner = this, |
|
187 |
//ResizeMode = System.Windows.ResizeMode.CanResizeWithGrip, |
|
188 |
ResizeMode = System.Windows.ResizeMode.CanResize, |
|
189 |
WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen, |
|
190 |
}; |
|
191 |
StyleManager.SetTheme(signManagerPop, new Office2013Theme()); |
|
192 |
|
|
193 |
//CheckPop.ShowDialog(); |
|
194 |
signManagerPop.Show(); |
|
195 |
} |
|
196 |
} |
|
166 | 197 |
|
167 | 198 |
try |
168 | 199 |
{ |
내보내기 Unified diff