private void HandlerSetNetwork(object sender, RoutedEventArgs e) { var dialog = new IPAddressModal(); dialog.Owner = clientMiniCheckers; dialog.ShowDialog(); sendAddress = dialog.GetNetworkDetails(); Debug.WriteLine("Sending to: " + sendAddress); }
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 HandleMenuSetNetwork(object sender, RoutedEventArgs e) { var dialog = new IPAddressModal(); dialog.Owner = serverMiniCheckers; dialog.SetStaticIP(); dialog.ShowDialog(); networkDetails = dialog.GetNetworkDetails(); CheckStartServer(); updateRequestResponse("Setting network details to: " + networkDetails.ToString()); Debug.WriteLine(networkDetails.ToString()); Debug.WriteLine("Setup Network"); }
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 GetNetworkInfo() { IPAddressModal ipAddress = new IPAddressModal(); ipAddress.SetStaticIP(); networkDetails = ipAddress.GetNetworkDetails(); }
private void HandlerSetNetwork(object sender, RoutedEventArgs e) { var dialog = new IPAddressModal(); dialog.Owner = clientMiniCheckers; dialog.ShowDialog(); sendAddress = dialog.GetNetworkDetails(); udpHandler.ConnectTo(sendAddress.GetIPAddress(), sendAddress.GetPortNumber()); SetUserLogin(); Debug.WriteLine("Sending to: " + sendAddress); }
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); }