コード例 #1
0
 private void Chat_Client_FormClosing(object sender, FormClosingEventArgs e)
 {
     ini.WriteString("Server", "IP", IP);
     ini.WriteString("Server", "PORT", Port);
     ini.WriteString("Form", "LocationX", $"{Location.X}");
     ini.WriteString("Form", "LocationY", $"{Location.Y}");
     ini.WriteString("Form", "SizeX", $"{Size.Width}");
     ini.WriteString("Form", "SizeY", $"{Size.Height}");
     //if (threadClient != null) threadClient.Abort();
 }