public async void changeBucketAcl()
        {
            string bucketName            = buckets[selectedBuketIndex].Name;
            CannedAccessControlList type = await buckets.getBucketAcl(bucketName);


            CreateBucketViewModel createBucketViewModel = new CreateBucketViewModel(bucketName, type, events);
            dynamic settings = new ExpandoObject();

            settings.WindowStartupLocation = WindowStartupLocation.CenterScreen;

            settings.Title = "修改Bucket权限";
            windowManager.ShowDialog(createBucketViewModel, null, settings);
        }
        public void createBucket2()
        {
            //if (TextBoxActive == Visibility.Visible && inputBucketName != "")
            //{
            //    createBucket();
            //}

            CreateBucketViewModel createBucketViewModel = new CreateBucketViewModel(events);
            dynamic settings = new ExpandoObject();

            settings.WindowStartupLocation = WindowStartupLocation.CenterScreen;

            settings.Title = "创建Bucket";
            windowManager.ShowDialog(createBucketViewModel, null, settings);
        }