static void Main(string[] args) { string url = "https://www.evernote.com/shard/s449/notestore"; string token, token_path = @"F:\Dropbox\Settings\evernote_token.txt"; using (TextReader tr = new StreamReader(token_path)) { token = tr.ReadToEnd(); } AcessoEvernote acesso = new AcessoEvernote(token, url); //acesso.CarregarCadernos(); }
public frmAdicionarNotaGTD() { string url = "https://www.evernote.com/shard/s449/notestore"; string token, token_path = @"F:\Dropbox\Settings\evernote_token.txt"; using (TextReader tr = new StreamReader(token_path)) { token = tr.ReadToEnd(); } this.acesso = new AcessoEvernote(token, url); InitializeComponent(); this.hora.Value = DateTime.Now; this.hora_ValueChanged(new object(), new EventArgs()); this.rbNãoEspecificada_CheckedChanged(new object(), new EventArgs()); this.txtTitulo.Text = string.Format("[{0}]", DateTime.Now.ToShortDateString()); this.txtConteudo.Text = this.txtTitulo.Text; }