개정판 3b62305d
issue #923: Merged PDF 버튼을 클릭했을때 해당 문서의 Merged PDF 서비스가 수행중이면 "Merged PDF가 수행중입니다" 메세지를 띄운다
Change-Id: If0dd0c53302e90fb68b67181b8f9e433e1d92c81
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
4024 | 4024 |
|
4025 | 4025 |
private void FinalPDFEvent(object sender, RoutedEventArgs e) |
4026 | 4026 |
{ |
4027 |
if(btnFinalPDF.IsEnabled == true) |
|
4027 |
var item = gridViewMarkup.Items.Cast<MarkupInfoItem>().Where(d => d.Consolidate == 1 && d.AvoidConsolidate == 0).FirstOrDefault(); |
|
4028 |
if (BaseClient.FinalPDF_GetFinalPDFStatus(_DocInfo.ID, item.MarkupInfoID, _ViewInfo.UserID)) |
|
4028 | 4029 |
{ |
4029 |
var item = gridViewMarkup.Items.Cast<MarkupInfoItem>().Where(d => d.Consolidate == 1 && d.AvoidConsolidate == 0).FirstOrDefault(); |
|
4030 | 4030 |
if (item != null) |
4031 | 4031 |
{ |
4032 | 4032 |
Logger.sendReqLog("SetFinalPDFAsync", _ViewInfo.ProjectNO + "," + _DocInfo.ID + "," + item.MarkupInfoID + "," + _ViewInfo.UserID, 1); |
4033 |
|
|
4034 | 4033 |
BaseClient.SetFinalPDFAsync(_ViewInfo.ProjectNO, _DocInfo.ID, item.MarkupInfoID, _ViewInfo.UserID); |
4035 |
btnFinalPDF.IsEnabled = false; |
|
4036 | 4034 |
} |
4037 | 4035 |
else |
4038 | 4036 |
{ |
내보내기 Unified diff