public Form1() { InitializeComponent(); this.targetPath = inputs.getTargetPath(); this.outlookmessage = new OutlookMessage(this, this.targetPath); this.salesforce = new SalesForceLogin(this, this.targetPath); this.FormClosing += Form1_FormClosing; this.sfUpload = new SalesForceUpload(this, this.salesforce, this.targetPath); }
private void button3_Click(object sender, EventArgs e) { this.sfUpload = new SalesForceUpload(this, this.salesforce, this.targetPath); this.sfUpload.Upload(); }