Ejemplo n.º 1
0
 public void ListviewEnterKeyCommand_Execute(EntryItem selectedEntry)
 {
     if (OpenEditorCommand_CanExecute())
     {
         OpenEditorCommand.Execute(selectedEntry);
     }
 }
Ejemplo n.º 2
0
        public void ListviewLeftDoubleClickCommand_Execute(EntryItem selectedEntry)
        {
            if (SelectedNode == null)
            {
                return;
            }
            if (selectedEntry == null)
            {
                return;
            }

            if (SelectedNode is NodeFeed)
            {
                if (OpenInBrowserCommand_CanExecute())
                {
                    OpenInBrowserCommand_Execute(selectedEntry);
                }
            }
            else if (SelectedNode is NodeEntryCollection)
            {
                if (OpenEditorCommand_CanExecute())
                {
                    OpenEditorCommand.Execute(selectedEntry);
                }
            }
        }