user settings for tree node naming options

This commit is contained in:
Jsj 2008-03-26 18:29:51 +00:00
parent 50719291d1
commit 2fb4348f50
2 changed files with 30 additions and 0 deletions

View File

@ -147,5 +147,29 @@ namespace VEPROMS.Properties {
this["BookMarks"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool UseNameOnTreeNode {
get {
return ((bool)(this["UseNameOnTreeNode"]));
}
set {
this["UseNameOnTreeNode"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool UseTitleOnTreeNode {
get {
return ((bool)(this["UseTitleOnTreeNode"]));
}
set {
this["UseTitleOnTreeNode"] = value;
}
}
}
}

View File

@ -35,5 +35,11 @@
<Setting Name="BookMarks" Type="System.Collections.Specialized.StringCollection" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="UseNameOnTreeNode" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="UseTitleOnTreeNode" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">False</Value>
</Setting>
</Settings>
</SettingsFile>