private void Connection_Load(object sender, EventArgs e)
{
if (versiontext == "")
{
versiontext = label4.Text + AppConfig.GetValue("Version");
}
label4.Text = versiontext;
textBox_UserName.Text = AppConfig.GetValue("UserName");
if (AppConfig.GetValue("RememberIP") == "True" && AppConfig.GetValue("IP") != null)
{
textBoxIP.Text = AppConfig.GetValue("IP");
}
Owner.PlayerName = textBox_UserName.Text;
res = new ComponentResourceManager(typeof(Connection));
}