forked from BigWinston/SRecordizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.cs
35 lines (32 loc) · 902 Bytes
/
Settings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Drawing;
using System.Text;
namespace SRecordizer
{
/***** http://msdn.microsoft.com/en-us/library/ms171565.aspx - SETTINGS TUTORIAL ******/
class Settings : ApplicationSettingsBase
{
[UserScopedSetting()]
[DefaultSettingValue("white")]
public Color BackgroundColor
{
get
{
return ((Color)this["BackgroundColor"]);
}
set
{
this["BackgroundColor"] = (Color)value;
}
}
[UserScopedSetting()]
[DefaultSettingValue("false")]
public bool SRecordView_ShowGridlines
{
get { return ((bool)this["SRecordView_ShowGridLines"]); }
set { this["SRecordView_ShowGridLines"] = (bool)value; }
}
}
}