프로젝트

일반

사용자정보

개정판 022d64c4

ID022d64c4982ce45be1629159c1e5b598a8da8b08
상위 684ef11c
하위 97f9906f

이지연이(가) 5년 이상 전에 추가함

issue #719 AutoCAD 저장 작업중

Change-Id: Idf01577d1cf90aa5e0ce2155fa1cefc2cb7e26f4

차이점 보기:

KCOM/Properties/Settings.Designer.cs
204 204
                this["loglevel"] = value;
205 205
            }
206 206
        }
207
        
208
        [global::System.Configuration.UserScopedSettingAttribute()]
209
        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
210
        [global::System.Configuration.DefaultSettingValueAttribute("1")]
211
        public int cad {
212
            get {
213
                return ((int)(this["cad"]));
214
            }
215
            set {
216
                this["cad"] = value;
217
            }
218
        }
207 219
    }
208 220
}
KCOM/Properties/Settings.settings
53 53
    <Setting Name="loglevel" Type="System.Int32" Scope="User">
54 54
      <Value Profile="(Default)">1</Value>
55 55
    </Setting>
56
    <Setting Name="cad" Type="System.Int32" Scope="User">
57
      <Value Profile="(Default)">1</Value>
58
    </Setting>
56 59
  </Settings>
57 60
</SettingsFile>
KCOM/Views/TopMenu.xaml.cs
28 28
            {
29 29
                SAVE.Visibility = Visibility.Collapsed;
30 30
            }
31

  
32
            if (KCOM.Properties.Settings.Default.cad == 0)
33
            {
34
                AutoCAD.Visibility = Visibility.Hidden;
35
                //whiteHeader1.Visibility = Visibility.Hidden;
36
                //cadExport.Visibility = Visibility.Hidden;
37
                //cadViewer.Visibility = Visibility.Hidden;
38
            }
31 39
        }
32 40
        private void btnFromFile_Click(object sender, RoutedEventArgs e)
33 41
        {
KCOM/app.config
71 71
      <setting name="loglevel" serializeAs="String">
72 72
        <value>1</value>
73 73
      </setting>
74
      <setting name="cad" serializeAs="String">
75
        <value>1</value>
76
      </setting>
74 77
    </KCOM.Properties.Settings>
75 78
  </userSettings>
76 79
  <system.serviceModel>

내보내기 Unified diff

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