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