public static void OnDeleteIMarkable(object sender, DeleteIMarkableModelEventArgs e) { if (DeleteIMarkableHandler != null) { DeleteIMarkableHandler(sender, e); } }
private void DeleteIMarkableHandler(object sender, DeleteIMarkableModelEventArgs e) { if (e.Markable is ItemModel) { int prevIndex = SelectingIndex; ItemModelCollection.Remove(e.Markable); Select(prevIndex); } }
private void OnIMarkableDeleted(object sender, DeleteIMarkableModelEventArgs arg) { var itemModel = arg.Markable as ItemModel; if (itemModel == _parent) { _view.Close(); } }
private void OnIMarkableDeleted(object sender, DeleteIMarkableModelEventArgs arg) { var characterModel = arg.Markable as CharacterModel; if (characterModel == _parent) { _view.Close(); } }
private void OnIMarkableDeleted(object sender, DeleteIMarkableModelEventArgs arg) { var storyFrameModel = arg.Markable as StoryFrameModel; if (storyFrameModel == _parent) { _view.Close(); } }
private void EventAggregator_DeleteIMarkableHandler(object sender, DeleteIMarkableModelEventArgs arg) { OnPropertyChanged("TalkingDataList"); OnPropertyChanged("ItemDataList"); ClearChildlen(); }