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(); }
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(); }