void LoadSettings()
{
checkBox_UseFirstCardAsHero.Checked = Convert.ToBoolean(AppConfig.GetValue("UseFirstCardAsHero"));
checkBox_SendSkillDetail.Checked = Convert.ToBoolean(AppConfig.GetValue("SendSkillDetail"));
checkBox_CardInfoBrief.Checked = Convert.ToBoolean(AppConfig.GetValue("CardInfoBrief"));
checkBox_UseNewShuffle.Checked = Convert.ToBoolean(AppConfig.GetValue("UseNewShuffle"));
comboBox_Desktop.SelectedIndex = 0;
for (int i = 0; i < comboBox_Desktop.Items.Count; i++)
{
if (comboBox_Desktop.Items[i].ToString() == AppConfig.GetValue("DesktopName"))
{
comboBox_Desktop.SelectedIndex = i;
break;
}
}
comboBox_WindowSize.SelectedIndex = Convert.ToInt32(AppConfig.GetValue("WindowSize"));
checkBox_RememberIP.Checked = Convert.ToBoolean(AppConfig.GetValue("RememberIP"));
comboBox_Language.SelectedIndex = Convert.ToInt32(AppConfig.GetValue("Language"));
}