private void button2_Click(object sender, EventArgs e) { string dogCsv = string.Join(@"\s", RetrieveEmails.ShowFolder().ToArray()); EmailShowTextBox.Text = dogCsv; EmailShowTextBox.Multiline = true; }
private void treeView2_AfterSelect(object sender, TreeViewEventArgs e) { DataManager.emailList.Clear(); string folderName = treeView2.SelectedNode.Name; RetrieveEmails.ShowEmailsByFolder(folderName); CreateEmailListingForm(folderName); }
private void OKDatebutton_Click(object sender, EventArgs e) { string searchedString = TextSearchTextBox.Text; DataManager.emailList.Clear(); string folderName = treeView2.SelectedNode.Name; RetrieveEmails.ShowEmailsByFolderByDate(folderName, searchedString); CreateEmailListingForm(folderName); }