-
Notifications
You must be signed in to change notification settings - Fork 0
/
Settings.cs
33 lines (29 loc) · 889 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
using System.ComponentModel;
namespace W6OP
{
public enum Units
{
Kilometers,
Miles
}
public class Settings : object
{
[DisplayName("QRZ.com Logon Id")]
[Description("Enter your QRZ logon id")]
[DefaultValue("")]
public string QRZLogonId { get; set; }
// later need to encrypt before saving
[DisplayName("QRZ.com Password")]
[Description("Enter your QRZ password")]
[DefaultValue("")]
public string QRZPassword { get; set; }
[DisplayName("Grid Square")]
[Description("Enter 6 character grid for your location")]
[DefaultValue("")]
public string Grid { get; set; }
[DisplayName("Display Units")]
[Description("Enter units miles/kilometers")]
[DefaultValue("Kilometers")]
public Units Unit { get; set; }
}
}