Exemplo n.º 1
0
Arquivo: App.xaml.cs Projeto: 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");
 }
Exemplo n.º 2
0
Arquivo: App.xaml.cs Projeto: bdr27/c-
 private void GetNetworkInfo()
 {
     IPAddressModal ipAddress = new IPAddressModal();
     ipAddress.SetStaticIP();
     networkDetails = ipAddress.GetNetworkDetails();
 }