Example #1
0
        public DropboxFilesForm(OAuth2Info oauth, string path, DropboxAccountInfo accountInfo)
        {
            InitializeComponent();
            Icon = Resources.Dropbox;

            dropbox = new Dropbox(oauth);
            dropboxAccountInfo = accountInfo;
            ilm = new ImageListManager(lvDropboxFiles);

            if (path != null)
            {
                Shown += (sender, e) => OpenDirectory(path);
            }
        }
 public GoogleURLShortener(OAuth2Info oauth)
 {
     UploadMethod = AccountType.User;
     AuthInfo = oauth;
 }
 public GoogleURLShortener(AccountType uploadMethod, string anonymousKey, OAuth2Info oauth)
 {
     UploadMethod = uploadMethod;
     AnonymousKey = anonymousKey;
     AuthInfo = oauth;
 }
Example #4
0
 public Picasa(OAuth2Info oauth)
 {
     AuthInfo = oauth;
 }
Example #5
0
 public BitlyURLShortener(OAuth2Info oauth)
 {
     AuthInfo = oauth;
 }
Example #6
0
 public Gist(bool publishPublic, OAuth2Info oAuthInfos)
 {
     this.publishPublic = publishPublic;
     AuthInfo = oAuthInfos;
 }
Example #7
0
 public GoogleDrive(OAuth2Info oauth)
 {
     AuthInfo = oauth;
 }
Example #8
0
 public Gist(OAuth2Info oAuthInfos)
     : this(false, oAuthInfos)
 {
 }
Example #9
0
 public Imgur(OAuth2Info oauth)
 {
     AuthInfo = oauth;
 }
Example #10
0
 public Minus(MinusOptions config, OAuth2Info auth)
 {
     Config = config;
     AuthInfo = auth;
 }
Example #11
0
 public Hubic(OAuth2Info oauth, HubicOpenstackAuthInfo osauth)
 {
     AuthInfo = oauth;
     HubicOpenstackAuthInfo = osauth;
 }
Example #12
0
 public OneDrive(OAuth2Info authInfo)
 {
     AuthInfo = authInfo;
 }
Example #13
0
 public Box(OAuth2Info oauth)
 {
     AuthInfo = oauth;
     FolderID = "0";
     Share = true;
 }
Example #14
0
 public Dropbox(OAuth2Info oauth, DropboxAccountInfo accountInfo)
     : this(oauth)
 {
     AccountInfo = accountInfo;
 }
Example #15
0
 public Dropbox(OAuth2Info oauth)
 {
     AuthInfo = oauth;
 }