프로젝트

일반

사용자정보

개정판 cf1cc862

IDcf1cc86209f30c6cca4ed6ad8249fe7539cc5421
상위 1305c420
하위 d21e9c15

김태성이(가) 3년 이상 전에 추가함

licensing 수정

Change-Id: I3bffa280e0205be1031c133bf4716929fcbd7c54

차이점 보기:

KCOM/Views/TopMenu.xaml.cs
1
using KCOM.Common;
2
using System;
3
using System.Collections.Generic;
4
using System.Linq;
5
using System.Text;
1
using System;
6 2
using System.Windows;
7 3
using System.Windows.Controls;
8
using System.Windows.Data;
9
using System.Windows.Documents;
10
using System.Windows.Input;
11
using System.Windows.Media;
12 4
using System.Windows.Media.Imaging;
13
using System.Windows.Navigation;
14
using System.Windows.Shapes;
15 5
using Telerik.Windows.Controls;
16 6

  
17 7
namespace KCOM.Views
......
34 24

  
35 25
        private void TopMenu_Loaded(object sender, RoutedEventArgs e)
36 26
        {
37
            if (!_Initialize)
27
            if (!App.IsDesignMode)
38 28
            {
39
                InitDataSet();
29
                if (!_Initialize)
30
                {
31
                    InitDataSet();
40 32

  
41
                _Initialize = true;
33
                    _Initialize = true;
42 34

  
43
                comboFontFamily.SelectionChanged += RadRibbonComboBox_SelectionChanged;
35
                    comboFontFamily.SelectionChanged += RadRibbonComboBox_SelectionChanged;
44 36

  
45
                if (!App.ViewInfo.CreateFinalPDFPermission && !App.ViewInfo.NewCommentPermission)
46
                {
47
                    SAVE.Visibility = Visibility.Collapsed;
48
                }
37
                    if (!App.ViewInfo.CreateFinalPDFPermission && !App.ViewInfo.NewCommentPermission)
38
                    {
39
                        SAVE.Visibility = Visibility.Collapsed;
40
                    }
49 41

  
50
                if (KCOM.Properties.Settings.Default.cad == 0)
51
                {
52
                    AutoCAD.Visibility = Visibility.Hidden;
53
                }
42
                    if (KCOM.Properties.Settings.Default.cad == 0)
43
                    {
44
                        AutoCAD.Visibility = Visibility.Hidden;
45
                    }
54 46

  
55
                if (KCOM.Properties.Settings.Default.grouping == 0)
56
                {
57
                    GROUP.Visibility = Visibility.Hidden;
47
                    if (KCOM.Properties.Settings.Default.grouping == 0)
48
                    {
49
                        GROUP.Visibility = Visibility.Hidden;
50
                    }
58 51
                }
59 52
            }
60 53
        }

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)