private bool VerifyMinimumSettings() { Tracing.Trace("Flickr::VerifyMinimumSettings"); if (String.IsNullOrEmpty(PluginSettings.Token)) { PluginSettings.AcquireToken(); } Tracing.Trace("Flickr::VerifyMinimumSettings tok({0})", PluginSettings.Token); if (System.String.IsNullOrEmpty(PluginSettings.Token)) { MessageBox.Show("Authorization is not complete. \n\n" + ((PluginSettings.AuthorizationMessage != null) ? PluginSettings.AuthorizationMessage + "\n\n" :"") + "You must authorize Cropper as a Flickr application\n" + "before using it to upload an image to Flickr.", "SendToFlickr: No Authorization"); return(false); } return(true); }