Пример #1
0
 public StatusForm()
 {
     Instance = this;
     LoadHashes();
     Flickr = NewFlickr();
     InitializeComponent();
     adapter = new FlickrInfoAdapter(Files);
     Files.SetRenderer(new Manina.Windows.Forms.FlickrInfoRenderer());
 }
Пример #2
0
 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);
 }
Пример #3
0
 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);
 }