示例#1
0
        private void serverToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            var form = new TcpSettingsForm("Add TCP Server", "TCP Server 1");

            form.OnTcpAdded += new TcpSettingsForm.AddTcp(form_OnTcpServerAdded);
            form.Show();
        }
示例#2
0
        private void clientToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            var form = new TcpSettingsForm("Add TCP Client", "TCP Client 1");

            form.OnTcpAdded += new TcpSettingsForm.AddTcp(form_OnTcpClientAdded);
            form.Show();
        }
示例#3
0
 private void clientToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     var form = new TcpSettingsForm("Add TCP Client", "TCP Client 1");
     form.OnTcpAdded += new TcpSettingsForm.AddTcp(form_OnTcpClientAdded);
     form.Show();
 }
示例#4
0
 private void serverToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     var form = new TcpSettingsForm("Add TCP Server", "TCP Server 1");
     form.OnTcpAdded += new TcpSettingsForm.AddTcp(form_OnTcpServerAdded);
     form.Show();
 }