新增角色管理功能,初步新增多语言版本功能,更新readme,v1.6.0

This commit is contained in:
dathlin
2017-10-06 13:30:28 +08:00
parent 64e9d1990e
commit 9ed7e378d4
36 changed files with 1899 additions and 123 deletions

View File

@@ -0,0 +1,55 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace ClientsLibrary
{
public partial class FormGetInputString : Form
{
public FormGetInputString(
string info,
string defaultValue = "",
string title = "等待输入信息",
int maxlength = 100
)
{
InitializeComponent();
Icon = UserClient.GetFormWindowIcon();
Info = info;
DefaultValue = defaultValue;
Title = title;
MaxLength = maxlength;
}
private void FormGetInputString_Load(object sender, EventArgs e)
{
textBox1.Text = DefaultValue;
textBox1.MaxLength = MaxLength;
Text = Title;
label1.Text = Info;
}
private string Info;
private string DefaultValue;
private string Title;
private int MaxLength = 100;
private string m_outPut;
public string InputString { get => m_outPut; private set => m_outPut = value; }
private void userButton_login_Click(object sender, EventArgs e)
{
m_outPut = textBox1.Text;
DialogResult = DialogResult.OK;
}
}
}