示例#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;
 }
示例#4
0
 public Picasa(OAuth2Info oauth)
 {
     AuthInfo = oauth;
 }
示例#5
0
 public BitlyURLShortener(OAuth2Info oauth)
 {
     AuthInfo = oauth;
 }
示例#6
0
文件: Gist.cs 项目: noscripter/ShareX
 public Gist(bool publishPublic, OAuth2Info oAuthInfos)
 {
     this.publishPublic = publishPublic;
     AuthInfo = oAuthInfos;
 }
示例#7
0
 public GoogleDrive(OAuth2Info oauth)
 {
     AuthInfo = oauth;
 }
示例#8
0
文件: Gist.cs 项目: noscripter/ShareX
 public Gist(OAuth2Info oAuthInfos)
     : this(false, oAuthInfos)
 {
 }
示例#9
0
 public Imgur(OAuth2Info oauth)
 {
     AuthInfo = oauth;
 }
示例#10
0
 public Minus(MinusOptions config, OAuth2Info auth)
 {
     Config = config;
     AuthInfo = auth;
 }
示例#11
0
文件: Hubic.cs 项目: raymondle/ShareX
 public Hubic(OAuth2Info oauth, HubicOpenstackAuthInfo osauth)
 {
     AuthInfo = oauth;
     HubicOpenstackAuthInfo = osauth;
 }
示例#12
0
 public OneDrive(OAuth2Info authInfo)
 {
     AuthInfo = authInfo;
 }
示例#13
0
 public Box(OAuth2Info oauth)
 {
     AuthInfo = oauth;
     FolderID = "0";
     Share = true;
 }
示例#14
0
 public Dropbox(OAuth2Info oauth, DropboxAccountInfo accountInfo)
     : this(oauth)
 {
     AccountInfo = accountInfo;
 }
示例#15
0
 public Dropbox(OAuth2Info oauth)
 {
     AuthInfo = oauth;
 }