public override bool Initialize() { //Custom initialization for your plugin CredentialForm = new CredentialsAsk(); CredentialForm.ShowDialog(); this.GmailUsername = CredentialForm.GmailUsername; this.GmailPassword = CredentialForm.GmailPassword; mail = new GMailIntegration(GmailUsername, GmailPassword); return(mail.GetFeed()); }
public override bool Initialize() { //Custom initialization for your plugin CredentialForm = new CredentialsAsk(); CredentialForm.ShowDialog(); this.GmailUsername = CredentialForm.GmailUsername; this.GmailPassword = CredentialForm.GmailPassword; mail = new GMailIntegration(GmailUsername, GmailPassword); return mail.GetFeed(); }