// Warning - this event can be called multiple times void Network_OnConnected(object sender, ConnectedEventArgs e) { Trace.WriteLine("Server: Network_OnConnected()"); lock (syncLock2) { if (!alreadySent2) { alreadySent2 = true; Trace.WriteLine("Server: Network_OnConnected() [Final Time]"); } } }
//NOVA Network handshakes for HOST void Network_OnConnected(object sender, Network.ConnectedEventArgs e) { Status.Content = "Connected"; }
void ClientManager_OnConnected(object sender, ConnectedEventArgs e) { ButtonConnect.Set(() => ButtonConnect.Text, "Connected."); this.Dispose(); }