private void MainForm_Shown(object sender, EventArgs e) { var protocol = new TcpDuplexClientProtocolSetup(true); _connection = new ZyanConnection(Properties.Settings.Default.ServerUrl, protocol); _proxy = _connection.CreateProxy <IWhisperChatService>(); }
private void MainForm_Shown(object sender, EventArgs e) { var protocol = new TcpDuplexClientProtocolSetup(true); _connection = new ZyanConnection(Properties.Settings.Default.ServerUrl, protocol); _proxy = _connection.CreateProxy<IWhisperChatService>(); }