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); }
public SalesForceUpload(Form1 form1, SalesForceLogin sflogin, string targetPath) { this.form1 = form1; this.targetPath = targetPath; this.sflogin = sflogin; }