void EventBroker_SaveDescription(object sender, LoadDescriptionEventArgs e)
 {
     if (PopUp)
     {
         return;
     }
     SavedItemDesc = (ObservableCollection <WorkspaceItemDescription>)e.DescriptionListItem;
 }
示例#2
0
        /// <summary>
        /// Occurs once the save completed then to get the new description
        /// and properties for binding.
        /// </summary>
        /// <param name="e">LoadDescriptionEventArgs</param>
        public void RaiseSaveDescription(LoadDescriptionEventArgs e)
        {
            EventHandler <LoadDescriptionEventArgs> handler = SaveDescription;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 /// <summary>
 /// Sets the DescriptionListItem and ItemId
 /// </summary>
 /// <param name="sender">LoadDescriptionEventArgs</param>
 /// <param name="e">DescriptionListItem and ItemId</param>
 private void EventBroker_LoadDescription(object sender, LoadDescriptionEventArgs e)
 {
     if (PopUp)
     {
         return;
     }
     DescriptionListItem = e.DescriptionListItem;
     ItemId = e.ItemId;
     Mouse.OverrideCursor = null;
 }