add sf code

This commit is contained in:
1415ddfer 2024-03-19 21:45:36 +08:00
parent b5220069ae
commit f6f5da37b6

View File

@ -33,6 +33,15 @@ namespace Zerolauncher.dialog
edit_pwd.Password = acc.userPWD;
edit_nick.Text = acc.nickName;
}
return;
// 私服用
if (ServicesStaticInfo.ServicesName.Length == 1)
{
cb_pid.SelectedIndex = 1;
edit_sid.Text = "1";
cb_pid.IsEditable = false;
edit_sid.IsEnabled = false;
}
}
private void PasswordBox_PasswordChanged(object sender, RoutedEventArgs e)