using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace FWindSoft.Wpf.Commands
{
public class LibCommands
{
static LibCommands()
{
/*
* 困惑,typeof (LibCommands)这个参数没有要求,也不知道怎么使用,但是系统的是这样定义的
* 也不需要UI空间,如果不写不知道会不会出问题
*/
Add = new RoutedCommand("添加", typeof (LibCommands));
Delete = new RoutedCommand("删除", typeof(LibCommands));
Update = new RoutedCommand("修改", typeof(LibCommands));
Search = new RoutedCommand("查找", typeof(LibCommands));
Move = new RoutedCommand("移动", typeof(LibCommands));
}
///
/// 增加
///
public static RoutedCommand Add{get;private set;}
///
/// 删除
///
public static RoutedCommand Delete { get; private set; }
///
/// 修改
///
public static RoutedCommand Update { get; private set; }
///
/// 查找
///
public static RoutedCommand Search { get; private set; }
///
/// 移动
///
public static RoutedCommand Move { get; private set; }
}
}