示例#1
0
        private async void ExecuteGetStats(object param)
        {
            try
            {
                var stats = await client.GetStats();

                MessageBox.Show(string.Join(Environment.NewLine, stats));
            }
            catch (Exception e)
            {
                MessageBox.Show("Gettings stats failed!");
            }
        }