Example #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     // 信任客户端配置
     using (FormTrustedClient form = new FormTrustedClient(busTcpServer))
     {
         form.ShowDialog( );
     }
 }
Example #2
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (busTcpServer == null)
     {
         MessageBox.Show("必须先启动服务器!");
         return;
     }
     // 信任客户端配置
     using (FormTrustedClient form = new FormTrustedClient(busTcpServer))
     {
         form.ShowDialog( );
     }
 }