Example #1
0
 private static void DispatchOnStoreCommitComplete(object sender, StoreCommitCompleteEventArgs e)
 {
     if (StoreCommitComplete != null)
     {
         StoreCommitComplete(sender, e);
     }
 }
Example #2
0
 void Instance_StoreCommitComplete(object sender, StoreCommitCompleteEventArgs e)
 {
     // Log the user's product launch on the first user commit operation.
     if (!m_ProductLaunchLogged && e.CommitType == CommitType.UserCommit)
     {
         m_ProductLaunchLogged = true;
         LogProductLaunch(Planner.Instance.CurrentUserAlias);
     }
 }
Example #3
0
 void Handle_StoreCommitComplete(object sender, StoreCommitCompleteEventArgs e)
 {
     CreateProductGroupOperationInProgress = false;
     if (ProductGroupStage == ProductGroupStages.CreatingProductGroupItem)
     {
         ProductGroupStage = ProductGroupStages.CreatingProductGroupItemCompleted;
     }
     else if (ProductGroupStage == ProductGroupStages.CommittingDiscoveredGroupMembers)
     {
         ProductGroupStage = ProductGroupStages.CommittingDiscoveredGroupMembersCompleted;
     }
     else if (ProductGroupStage == ProductGroupStages.EditProductGroupDialogActive)
     {
         ProductGroupStage = ProductGroupStages.UpdateExistingProductGroupCompleted;
     }
     else if (ProductGroupStage == ProductGroupStages.ProductGroupMembershipRebuildComplete)
     {
         ProductGroupStage = ProductGroupStages.EditProductGroupCompleted;
     }
 }
Example #4
0
 // The Store Commit operation has completed
 public static void OnStoreCommitComplete(object sender, StoreCommitCompleteEventArgs e)
 {
     Planner.Instance.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal, new Action(() => DispatchOnStoreCommitComplete(sender, e)));
 }