Commit 13d3dcb5 authored by nanahira's avatar nanahira

indent

parent 3dfa772e
...@@ -34,8 +34,8 @@ public class MyCard : WindowServantSP ...@@ -34,8 +34,8 @@ public class MyCard : WindowServantSP
void saveUser() { void saveUser() {
Config.Set("mycard_username", inputUsername.value); Config.Set("mycard_username", inputUsername.value);
Config.Set("mycard_password", inputPsw.value); Config.Set("mycard_password", inputPsw.value);
Program.I().selectServer.name = inputUsername.value; Program.I().selectServer.name = inputUsername.value;
} }
void loadUser() { void loadUser() {
inputUsername.value = Config.Get("mycard_username", "MyCard"); inputUsername.value = Config.Get("mycard_username", "MyCard");
...@@ -114,11 +114,11 @@ public class MyCard : WindowServantSP ...@@ -114,11 +114,11 @@ public class MyCard : WindowServantSP
RMSshow_onlyYes("", InterString.Get("用户名或密码为空。"), null); RMSshow_onlyYes("", InterString.Get("用户名或密码为空。"), null);
return; return;
} }
if (isRequesting) if (isRequesting)
{ {
terminateThread(); terminateThread();
} }
saveUser(); saveUser();
isRequesting = true; isRequesting = true;
Program.PrintToChat(InterString.Get("已开始匹配。")); Program.PrintToChat(InterString.Get("已开始匹配。"));
requestThread = new Thread(() => requestThread = new Thread(() =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment