Exemplo n.º 1
0
        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>();
        }
Exemplo n.º 2
0
 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>();
 }