private void ButtonAdvancedOptions_Click(object sender, System.EventArgs e)
        {
            string altid = null, assetName = null, desc = null, container = null;

            if (newAssetForm == null)
            {
                newAssetForm = new NewAsset(_amsClientV3, true)
                {
                    AssetName = "uploaded-" + Constants.NameconvShortUniqueness, AssetDescription = Constants.NameconvFileName
                };
            }
            else
            {
                //let's backup settings
                altid     = newAssetForm.AssetAltId;
                desc      = newAssetForm.AssetDescription;
                container = newAssetForm.AssetContainer;
            }
            assetName = newAssetForm.AssetName;


            if (newAssetForm.ShowDialog() != DialogResult.OK)
            {
                newAssetForm.AssetAltId       = altid;
                newAssetForm.AssetName        = assetName;
                newAssetForm.AssetDescription = desc;
                newAssetForm.AssetContainer   = container;
            }
        }
        private void ButtonAdvancedOptions_Click(object sender, System.EventArgs e)
        {
            string altid = null, assetName = null, desc = null, container = null;

            if (newAssetForm == null)
            {
                string uniqueness = Guid.NewGuid().ToString().Substring(0, 13);
                newAssetForm = new NewAsset(_amsClientV3, true)
                {
                    AssetName = "upload-" + uniqueness
                };
            }
            else
            {
                //let's backup settings
                altid     = newAssetForm.AssetAltId;
                desc      = newAssetForm.AssetDescription;
                container = newAssetForm.AssetContainer;
            }
            assetName = newAssetForm.AssetName;


            if (newAssetForm.ShowDialog() != DialogResult.OK)
            {
                newAssetForm.AssetAltId       = altid;
                newAssetForm.AssetName        = assetName;
                newAssetForm.AssetDescription = desc;
                newAssetForm.AssetContainer   = container;
            }
        }