Пример #1
0
 private bool CommitPendingChanges()
 {
     if (commit_delay.IsPending)
     {
         commit_delay.Stop();
         ((PhotoQuery)query).Commit(changed_photo);
     }
     return(true);
 }
Пример #2
0
 private void HandleDestroy(object sender, EventArgs args)
 {
     delay.Stop();
     if (thread.IsAlive)
     {
         thread.Abort();
     }
 }