Beispiel #1
0
 public void SetNetConnection(TextBox txtIP, TextBox txtPort)
 {
     txtIP.Text = (string)UTIL.ReadRegistry(UTIL.KEY.LAST_CONNECTION_IP);
     txtPort.Text = (string)UTIL.ReadRegistry(UTIL.KEY.LAST_CONNECTION_PORT);
     if (txtPort.Text == "") txtPort.Text = "6169";
 }