Exemplo n.º 1
0
 /// <summary>
 /// This method is called to handle Undo/Redo operations on this slice.
 /// </summary>
 /// <param name="hvo"></param>
 /// <param name="tag"></param>
 /// <returns></returns>
 protected internal override bool UpdateDisplayIfNeeded(int hvo, int tag)
 {
     if (tag == Flid)
     {
         PhoneEnvReferenceLauncher rl = Control as PhoneEnvReferenceLauncher;
         if (rl != null)
         {
             PhoneEnvReferenceView view = (PhoneEnvReferenceView)rl.MainControl;
             view.ResynchListToDatabaseAndRedisplay();
             return(true);
         }
     }
     return(base.UpdateDisplayIfNeeded(hvo, tag));
 }