Ejemplo n.º 1
0
Archivo: App.xaml.cs Proyecto: bdr27/c-
 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");
 }
Ejemplo n.º 2
0
Archivo: App.xaml.cs Proyecto: 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");
 }