개정판 366f00c2
dns 체크 에러 수정
Change-Id: I9fd9b9d37c7c2529795ab14f46f58b157d911809
KCOM/Views/TopMenu.xaml.cs | ||
---|---|---|
23 | 23 |
{ |
24 | 24 |
public TopMenu() |
25 | 25 |
{ |
26 |
App.splashString(ISplashMessage.TOPMENU); |
|
27 |
InitializeComponent(); |
|
28 |
InitDataSet(); |
|
29 |
if (!App.ViewInfo.CreateFinalPDFPermission && !App.ViewInfo.NewCommentPermission) |
|
30 |
{ |
|
31 |
SAVE.Visibility = Visibility.Collapsed; |
|
32 |
} |
|
26 |
//App.splashString(ISplashMessage.TOPMENU); |
|
27 |
InitializeComponent(); |
|
33 | 28 |
|
34 |
if (KCOM.Properties.Settings.Default.cad == 0) |
|
35 |
{ |
|
36 |
AutoCAD.Visibility = Visibility.Hidden; |
|
37 |
} |
|
29 |
this.Loaded += TopMenu_Loaded; |
|
30 |
|
|
31 |
} |
|
32 |
|
|
33 |
bool _Initialize = false; |
|
38 | 34 |
|
39 |
if (KCOM.Properties.Settings.Default.grouping == 0) |
|
35 |
private void TopMenu_Loaded(object sender, RoutedEventArgs e) |
|
36 |
{ |
|
37 |
if(!_Initialize) |
|
40 | 38 |
{ |
41 |
GROUP.Visibility = Visibility.Hidden; |
|
42 |
} |
|
39 |
_Initialize = true; |
|
40 |
|
|
41 |
InitDataSet(); |
|
42 |
if (!App.ViewInfo.CreateFinalPDFPermission && !App.ViewInfo.NewCommentPermission) |
|
43 |
{ |
|
44 |
SAVE.Visibility = Visibility.Collapsed; |
|
45 |
} |
|
43 | 46 |
|
47 |
if (KCOM.Properties.Settings.Default.cad == 0) |
|
48 |
{ |
|
49 |
AutoCAD.Visibility = Visibility.Hidden; |
|
50 |
} |
|
51 |
|
|
52 |
if (KCOM.Properties.Settings.Default.grouping == 0) |
|
53 |
{ |
|
54 |
GROUP.Visibility = Visibility.Hidden; |
|
55 |
} |
|
56 |
} |
|
44 | 57 |
} |
58 |
|
|
45 | 59 |
private void btnFromFile_Click(object sender, RoutedEventArgs e) |
46 | 60 |
{ |
47 | 61 |
System.Windows.Forms.OpenFileDialog dialog = new System.Windows.Forms.OpenFileDialog(); |
내보내기 Unified diff