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