public FrmMain() { InitializeComponent(); this.txtLocalIP.Text = GetInfo.GetAppConfig("localIP"); this.txtLocalPort.Text = GetInfo.GetAppConfig("localPort"); this.txtRemoteIP.Text = GetInfo.GetAppConfig("remoteIP"); this.txtRemotePort.Text = GetInfo.GetAppConfig("remotePort"); }