Exemplo n.º 1
0
 void worker_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e)
 {
    
     EmailAnalyzerLibrary.ReadEmails emails = new EmailAnalyzerLibrary.ReadEmails();
     winFabInterest = emails.GetIndividualInterest(emailCount,searchInFolderNames);
     
 }
Exemplo n.º 2
0
        private void DisplayOutlookFolders()
        {
            List<string> folderNames = new List<string>();
            ReadEmails emailObj = new ReadEmails();

            folderNames = emailObj.TriggerOutlook();
            foreach (string itm in folderNames)
            {
                CheckBox chkBox = new CheckBox();
                chkBox.Content = itm;
                this.Email_Folders.Items.Add(chkBox);
            }
            this.UpdateLayout();
        }