39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
|
|
using System.Windows.Input;
|
||
|
|
using DTS.Common.Interface;
|
||
|
|
|
||
|
|
// ReSharper disable CheckNamespace
|
||
|
|
namespace DTS.Viewer.GraphList
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Interaction logic for GraphMainView.xaml
|
||
|
|
/// </summary>
|
||
|
|
public partial class GraphMainView : IGraphMainView
|
||
|
|
{
|
||
|
|
public GraphMainView()
|
||
|
|
{
|
||
|
|
InitializeComponent();
|
||
|
|
CommandBindings.Add(
|
||
|
|
new CommandBinding(
|
||
|
|
ApplicationCommands.Undo,
|
||
|
|
(sender, e) => // Execute
|
||
|
|
{
|
||
|
|
e.Handled = true;
|
||
|
|
//root.IsChecked = false;
|
||
|
|
//TvTestChannels.Focus();
|
||
|
|
},
|
||
|
|
(sender, e) => // CanExecute
|
||
|
|
{
|
||
|
|
e.Handled = true;
|
||
|
|
//e.CanExecute = (root.IsChecked != false);
|
||
|
|
}));
|
||
|
|
|
||
|
|
//TvTestChannels.Focus();
|
||
|
|
}
|
||
|
|
|
||
|
|
//public void SetTvFocus()
|
||
|
|
//{
|
||
|
|
// TvTestChannels.Focus();
|
||
|
|
//}
|
||
|
|
}
|
||
|
|
}
|