init
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
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();
|
||||
//}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user