Example #1
0
 public IPSTools()
 {
     InitializeComponent();
     tcpServer = new TcpServer((int)tcpPort.Value, this.Handle, this.notifyIcon);
     tcpServer.AutoSendInterval = (int)autoSendInterval.Value;
     tcpServer.AutoSendIdle = autoSendIdle.Checked;
     if (checkBox_AutoStart.Checked)
     {
         tcpServer.Start();
     }
     pictureBoxServer_Refresh();
 }
Example #2
0
 private void BrownsonTool_FormClosing(object sender, FormClosingEventArgs e)
 {
     Settings.Default.Save();
     tcpServer.Stop();
     tcpServer = null;
 }