Example #1
0
File: App.xaml.cs Project: bdr27/c-
        private void HandleMenuSetMulticast(object sender, RoutedEventArgs e)
        {
            var dialog = new IPAddressModal();
            dialog.Owner = clientMiniCheckers;
            dialog.SetMultiCast();
            dialog.ShowDialog();
            multicastAddress = dialog.GetNetworkDetails();

            Debug.WriteLine("Set multicast to: " + multicastAddress);
        }
Example #2
0
File: App.xaml.cs Project: bdr27/c-
 private void HandlerMenuMulticastSetup(object sender, RoutedEventArgs e)
 {
     var dialog = new IPAddressModal();
     dialog.Owner = serverMiniCheckers;
     dialog.SetMultiCast();
     dialog.ShowDialog();
     multiCastDetails = dialog.GetNetworkDetails();
     CheckStartServer();
     updateRequestResponse("Setting multicast details to: " + multiCastDetails.ToString());
     Debug.WriteLine(multiCastDetails.ToString());
     Debug.WriteLine("Setup Multicast");
 }
Example #3
0
File: App.xaml.cs Project: bdr27/c-
        private void HandleMenuSetMulticast(object sender, RoutedEventArgs e)
        {
            var dialog = new IPAddressModal();
            dialog.Owner = clientMiniCheckers;
            dialog.SetMultiCast();
            dialog.ShowDialog();
            multicastAddress = dialog.GetNetworkDetails();
            multicastHandler.ConnectTo(multicastAddress.GetIPAddress(), multicastAddress.GetPortNumber());
            SetUserLogin();

            Debug.WriteLine("Set multicast to: " + multicastAddress);
        }