Files
netch/Netch/Models/Profile.cs
henning 6eca1085b2 A simple profile UI which enables you to swtich to different profiles quickly.
1. It will enable the UI sooner after you click the "Stop" button, allowing you to switch mode/server much sooner.

2. Adds a Profile UI which allows you to Ctrl+Click to save a profile and Click to switch to a profile.
2020-01-01 20:08:57 +08:00

31 lines
567 B
C#

using System;
namespace Netch.Models
{
public class Profile
{
public String ServerRemark;
public String ModeRemark;
public String ProfileName;
public bool IsDummy = true;
public Profile(Server server, Mode mode, String name)
{
ServerRemark = server.Remark;
ModeRemark = mode.Remark;
ProfileName = name;
IsDummy = false;
}
/// <summary>
/// Return a dummy one.
/// </summary>
public Profile()
{
}
}
}