Exemplo n.º 1
0
        public static void UploadToNewCommunity(object target)
        {
            CloudCommunityCreate newForm = new CloudCommunityCreate();

            newForm.ShowDialog();

            if (CloudCommunityCreate.createdCommunityId.HasValue)
            {
                long communityId = CloudCommunityCreate.createdCommunityId.Value;
                MessageBox.Show(string.Format(Language.GetLocalizedText(-1, "Community {0} created!"), communityId));
                CloudShareProgress progressReporting = new CloudShareProgress(communityId, null, target);
                progressReporting.ShowDialog();
                progressReporting = null;
            }
        }
        public static void UploadToNewCommunity(object target)
        {
            CloudCommunityCreate newForm = new CloudCommunityCreate();
            newForm.ShowDialog();

            if (CloudCommunityCreate.createdCommunityId.HasValue)
            {
                long communityId = CloudCommunityCreate.createdCommunityId.Value;
                MessageBox.Show(string.Format(Language.GetLocalizedText(-1, "Community {0} created!"), communityId));
                CloudShareProgress progressReporting = new CloudShareProgress(communityId, null, target);
                progressReporting.ShowDialog();
                progressReporting = null;
            }
        }