コード例 #1
0
 public static void OnCheckServerStatus(object sender, RoutedEventArgs e)
 {
     MessageBox.Show(ServerViewExtension.GetServerStatus());
 }
コード例 #2
0
        public async void Shutdown()
        {
            await ServerViewExtension.StopServerAsync();

            Events.UnregisterEventHandlers();
        }
コード例 #3
0
 public static async void OnServerStop(object sender, RoutedEventArgs e)
 {
     await ServerViewExtension.StopServerAsync();
 }