CS0619 C# устарел:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Nemiro.OAuth; using Nemiro.OAuth.LoginForms; namespace FileManager { public partial class Form1 : Form { private string CurrentPath = "/"; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { if(string.IsNullOrEmpty(Properties.Settings.Default.AccessToken)) { this.GetAccessToken(); } else { this.GetFiles(); } } private void GetAccessToken() { var login = new DropboxLogin ("", ""); login.Owner = this; login.ShowDialog(); if (login.IsSuccessfully) { Properties.Settings.Default.AccessToken = login.AccessToken.Value; Properties.Settings.Default.Save(); } else { MessageBox.Show("error..."); } } //CS0619 'DropboxLogin.DropboxLogin(string, string, bool, bool)' is obsolete: Please use an overloads with a return url.
Что я уже пробовал:
I've done some Googling around (past hour or two) to no avail... Anyone able to help me with this?