개정판 65eb8dd6
issue #749 edit mode일경우 save button이 보이는 현상, ctr + s 가 먹는 현상 수정
KCOM/Events/Event_KeyEvent.cs | ||
---|---|---|
462 | 462 |
this.dzMainMenu.currentControl = null; |
463 | 463 |
|
464 | 464 |
//this.dzTopMenu.SaveEvent(null, null); |
465 |
|
|
466 |
this.dzTopMenu.SaveEvent(new object(), null); |
|
465 |
if (App.ViewInfo.CreateFinalPDFPermission || App.ViewInfo.NewCommentPermission) |
|
466 |
{ |
|
467 |
this.dzTopMenu.SaveEvent(new object(), null); |
|
468 |
} |
|
467 | 469 |
|
468 | 470 |
//저장완료후 임시파일 삭제 |
469 | 471 |
temp.Remove(); |
KCOM/Views/TopMenu.xaml | ||
---|---|---|
1181 | 1181 |
<StackPanel Orientation="Horizontal"> |
1182 | 1182 |
<telerik:RadRibbonButton Content="Print" Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/printer.png" Click="PrintEvent"/> |
1183 | 1183 |
<telerik:RadRibbonButton Content="Export" Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/topdf.png" Click="PrintEvent"/> |
1184 |
<telerik:RadRibbonButton Content="SAVE" Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/diskette2.png" Click="SaveEvent"/> |
|
1184 |
<telerik:RadRibbonButton x:Name="SAVE" Content="SAVE" Size="Large" LargeImage="/KCOM;component/Resources/Images/MenuImage_new/diskette2.png" Click="SaveEvent"/>
|
|
1185 | 1185 |
|
1186 | 1186 |
|
1187 | 1187 |
<!--<telerik:RadRibbonButton Content="GO" |
KCOM/Views/TopMenu.xaml.cs | ||
---|---|---|
23 | 23 |
public TopMenu() |
24 | 24 |
{ |
25 | 25 |
InitializeComponent(); |
26 |
InitDataSet(); |
|
26 |
InitDataSet(); |
|
27 |
if (!App.ViewInfo.CreateFinalPDFPermission && !App.ViewInfo.NewCommentPermission) |
|
28 |
{ |
|
29 |
SAVE.Visibility = Visibility.Collapsed; |
|
30 |
} |
|
27 | 31 |
} |
28 |
|
|
29 | 32 |
private void btnFromFile_Click(object sender, RoutedEventArgs e) |
30 | 33 |
{ |
31 | 34 |
System.Windows.Forms.OpenFileDialog dialog = new System.Windows.Forms.OpenFileDialog(); |
내보내기 Unified diff