private void tileGoogle_Click(object sender, EventArgs e) { //sync contacts Dialogs.frmGoogleSync gsync = new Dialogs.frmGoogleSync(); gsync.ShowDialog(); //reset this.contacts.Clear(); this.label1.Text = "Updating contacts..."; this.label1.Show(); //picturesToSync = this.refreshContactPictures(); //this.requestProfilePicture(); Thread t = new Thread(new ThreadStart(SyncWaContactsAsync)); t.IsBackground = true; t.Start(); }
private void tileGoogle_Click(object sender, EventArgs e) { //sync contacts Dialogs.frmGoogleSync gsync = new Dialogs.frmGoogleSync(); gsync.ShowDialog(); //reset this.contacts.Clear(); this.label1.Text = "Updating contacts..."; this.label1.Show(); //picturesToSync = this.refreshContactPictures(); //this.requestProfilePicture(); Thread t = new Thread(new ThreadStart(SyncWaContactsAsync)); t.IsBackground = true; t.Start(); }
private void btnGoogle_Click(object sender, EventArgs e) { //reset this.contacts.Clear(); this.label1.Text = "Updating contacts..."; this.label1.Show(); //sync contacts Dialogs.frmGoogleSync gsync = new Dialogs.frmGoogleSync(); gsync.ShowDialog(this); Thread t = new Thread(new ThreadStart(SyncWaContactsAsync)); t.IsBackground = true; t.Start(); }