개정판 19abb0c0
issue #000: fontlist 디자인 수정 & AutoCAD, Group Visibility 변경
Change-Id: Ia71ef6fbcbc19c317b20a5e0afe0d3507e02bd26
KCOM/Properties/Settings.Designer.cs | ||
---|---|---|
207 | 207 |
|
208 | 208 |
[global::System.Configuration.UserScopedSettingAttribute()] |
209 | 209 |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
210 |
[global::System.Configuration.DefaultSettingValueAttribute("1")]
|
|
210 |
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
|
211 | 211 |
public int cad { |
212 | 212 |
get { |
213 | 213 |
return ((int)(this["cad"])); |
... | ... | |
240 | 240 |
this["Remote_BaseClientAddress"] = value; |
241 | 241 |
} |
242 | 242 |
} |
243 |
|
|
244 |
[global::System.Configuration.UserScopedSettingAttribute()] |
|
245 |
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] |
|
246 |
[global::System.Configuration.DefaultSettingValueAttribute("0")] |
|
247 |
public int grouping { |
|
248 |
get { |
|
249 |
return ((int)(this["grouping"])); |
|
250 |
} |
|
251 |
set { |
|
252 |
this["grouping"] = value; |
|
253 |
} |
|
254 |
} |
|
243 | 255 |
} |
244 | 256 |
} |
KCOM/Properties/Settings.settings | ||
---|---|---|
54 | 54 |
<Value Profile="(Default)">1</Value> |
55 | 55 |
</Setting> |
56 | 56 |
<Setting Name="cad" Type="System.Int32" Scope="User"> |
57 |
<Value Profile="(Default)">1</Value>
|
|
57 |
<Value Profile="(Default)">0</Value>
|
|
58 | 58 |
</Setting> |
59 | 59 |
<Setting Name="HOST_DOMAIN" Type="System.String" Scope="User"> |
60 | 60 |
<Value Profile="(Default)">DAELIM.COM</Value> |
... | ... | |
62 | 62 |
<Setting Name="Remote_BaseClientAddress" Type="System.String" Scope="User"> |
63 | 63 |
<Value Profile="(Default)">http://www.devdoftech.co.kr:5979</Value> |
64 | 64 |
</Setting> |
65 |
<Setting Name="grouping" Type="System.Int32" Scope="User"> |
|
66 |
<Value Profile="(Default)">0</Value> |
|
67 |
</Setting> |
|
65 | 68 |
</Settings> |
66 | 69 |
</SettingsFile> |
KCOM/Views/TopMenu.xaml | ||
---|---|---|
492 | 492 |
<telerik:RadOrderedWrapPanel> |
493 | 493 |
<StackPanel Orientation="Horizontal"> |
494 | 494 |
<telerik:RadRibbonComboBox Width="60" Name="comboFontFamily" SelectedIndex="0" telerik:ScreenTip.Title="Font" telerik:ScreenTip.Description="Change the font face." |
495 |
SelectionChanged="RadRibbonComboBox_SelectionChanged" Background="Transparent"/>
|
|
495 |
SelectionChanged="RadRibbonComboBox_SelectionChanged"/> |
|
496 | 496 |
<telerik:RadNumericUpDown x:Name="comboFontSize" |
497 | 497 |
Width="35" |
498 | 498 |
HorizontalContentAlignment="Center" |
... | ... | |
1113 | 1113 |
<telerik:RadRibbonGroup DialogLauncherVisibility="Collapsed" |
1114 | 1114 |
Icon="/KCOM;component/Resources/Images/MenuImage_New/small/view.png" |
1115 | 1115 |
Header="GROUP" |
1116 |
x:Name="GROUP" |
|
1116 | 1117 |
IsEnabled="True"> |
1117 | 1118 |
<telerik:RadCollapsiblePanel> |
1118 | 1119 |
<telerik:RadRibbonToggleButton |
KCOM/Views/TopMenu.xaml.cs | ||
---|---|---|
32 | 32 |
if (KCOM.Properties.Settings.Default.cad == 0) |
33 | 33 |
{ |
34 | 34 |
AutoCAD.Visibility = Visibility.Hidden; |
35 |
//whiteHeader1.Visibility = Visibility.Hidden; |
|
36 |
//cadExport.Visibility = Visibility.Hidden; |
|
37 |
//cadViewer.Visibility = Visibility.Hidden; |
|
38 | 35 |
} |
36 |
|
|
37 |
if (KCOM.Properties.Settings.Default.grouping == 0) |
|
38 |
{ |
|
39 |
GROUP.Visibility = Visibility.Hidden; |
|
40 |
} |
|
41 |
|
|
39 | 42 |
} |
40 | 43 |
private void btnFromFile_Click(object sender, RoutedEventArgs e) |
41 | 44 |
{ |
KCOM/app.config | ||
---|---|---|
148 | 148 |
<value>1</value> |
149 | 149 |
</setting> |
150 | 150 |
<setting name="cad" serializeAs="String"> |
151 |
<value>1</value>
|
|
151 |
<value>0</value>
|
|
152 | 152 |
</setting> |
153 | 153 |
<setting name="HOST_DOMAIN" serializeAs="String"> |
154 | 154 |
<value>DAELIM.COM</value> |
... | ... | |
156 | 156 |
<setting name="Remote_BaseClientAddress" serializeAs="String"> |
157 | 157 |
<value>http://www.devdoftech.co.kr:5979</value> |
158 | 158 |
</setting> |
159 |
<setting name="grouping" serializeAs="String"> |
|
160 |
<value>0</value> |
|
161 |
</setting> |
|
159 | 162 |
</KCOM.Properties.Settings> |
160 | 163 |
</userSettings> |
161 | 164 |
<system.serviceModel> |
내보내기 Unified diff