public StatusForm() { Instance = this; LoadHashes(); Flickr = NewFlickr(); InitializeComponent(); adapter = new FlickrInfoAdapter(Files); Files.SetRenderer(new Manina.Windows.Forms.FlickrInfoRenderer()); }
public Uploader(StatusForm form) { Form = form; Flickr = form.Flickr = Form.NewFlickr(); if (Settings.Default.AccessToken != null) { Flickr.OAuthAccessToken = Settings.Default.AccessToken.Token; Flickr.OAuthAccessTokenSecret = Settings.Default.AccessToken.TokenSecret; } signal = new AutoResetEvent(false); task = new Task(UploadPhotoList); }