示例#1
0
 public void SendKeys(string keysToSend)
 {
     if (_editor == null)
     {
         return;
     }
     _editor.Activate();
     KeySpec.SendKeys(_editor.App, keysToSend);
 }
示例#2
0
        public void Accept()
        {
            if (_ok == null)
            {
                return;
            }

            while (_ok.IsWindow())
            {
                _ok.Activate();
                _ok.Click();
            }
        }
示例#3
0
        public void Dismiss()
        {
            if (_cancel == null)
            {
                return;
            }

            while (_cancel.IsWindow())
            {
                _cancel.Activate();
                _cancel.Click();
            }
        }
示例#4
0
        /// <summary>
        /// Make it active.
        /// </summary>
#else
        /// <summary>
        /// アクティブな状態にします。
        /// </summary>
#endif
        public void Activate()
        {
            var w = new WindowControl(AppVar["TreeView"]());

            w.Activate();
        }
 public void Activate()
 => _core.Activate();