Example #1
0
        public EditAppForm(ExeApp editingApp, IGestureIntentStore intentStore)
            : this(intentStore)
        {
            _isEditingMode = true;

            _editingApp = editingApp;

            Text = "修改 \"" + editingApp.Name + "\"";
            AppName = txtSelectedAppNae.Text = editingApp.Name;
            AppPath = lnkSelectedAppPath.Text = editingApp.ExecutablePath;

            groupSelectedApp.Visible = true;
            btnOk.Enabled = true;

            toolTip1.SetToolTip(lnkSelectedAppPath, editingApp.ExecutablePath);


            LoadIcon(editingApp.ExecutablePath);

            if (!editingApp.AppExists())
            {
                ShowErrorMsg("该应用程序不存在,请确定它的位置");
            }

        }
Example #2
0
        //private string _selfProcessFile;

        public EditAppForm(IGestureIntentStore intentStore)
        {
            InitializeComponent();
            _intentStore = intentStore;
            //todo:暂时找不到解决uiAccess拖拽的办法
            //HackDragDrop();
        }
Example #3
0
        //private string _selfProcessFile;

        public EditAppForm(IGestureIntentStore intentStore)
        {
            InitializeComponent();
            _intentStore = intentStore;
            //todo:暂时找不到解决uiAccess拖拽的办法
            //HackDragDrop();
        }
Example #4
0
        public EditAppForm(ExeApp editingApp, IGestureIntentStore intentStore)
            : this(intentStore)
        {
            _isEditingMode = true;

            _editingApp = editingApp;

            Text    = "修改 \"" + editingApp.Name + "\"";
            AppName = txtSelectedAppNae.Text = editingApp.Name;
            AppPath = lnkSelectedAppPath.Text = editingApp.ExecutablePath;

            groupSelectedApp.Visible = true;
            btnOk.Enabled            = true;

            toolTip1.SetToolTip(lnkSelectedAppPath, editingApp.ExecutablePath);


            LoadIcon(editingApp.ExecutablePath);

            if (!editingApp.AppExists())
            {
                ShowErrorMsg("该应用程序不存在,请确定它的位置");
            }
        }
 protected AbstractGestureIntentFinder(IGestureIntentStore intentStore)
 {
     IntentStore = intentStore;
 }
 public Win32GestrueIntentFinder(IGestureIntentStore intentStore)
     : base(intentStore)
 {
 }
Example #7
0
 protected AbstractGestureIntentFinder(IGestureIntentStore intentStore)
 {
     IntentStore = intentStore;
 }
 public Win32GestrueIntentFinder(IGestureIntentStore intentStore)
     : base(intentStore)
 {
 }