Ejemplo n.º 1
0
 public static void OnCheckServerStatus(object sender, RoutedEventArgs e)
 {
     MessageBox.Show(ServerViewExtension.GetServerStatus());
 }
Ejemplo n.º 2
0
        public async void Shutdown()
        {
            await ServerViewExtension.StopServerAsync();

            Events.UnregisterEventHandlers();
        }
Ejemplo n.º 3
0
 public static async void OnServerStop(object sender, RoutedEventArgs e)
 {
     await ServerViewExtension.StopServerAsync();
 }