public DropboxFilesForm(OAuthInfo oauth, string path = null) { InitializeComponent(); dropbox = new Dropbox(oauth); ilm = new ImageListManager(lvDropboxFiles); if (path != null) { Shown += (sender, e) => OpenDirectory(path); } }
public DropboxFilesForm(OAuthInfo 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); } }