コード例 #1
0
        /// <summary>
        /// Method.
        /// </summary>
        /// <param name=""></param>
        /// <returns>Is this Window Open - if it is of a certain type</returns>
        public bool IsOpen()
        {
            string isOpen = InteropHelper.Eval(String.Format("WindowInfo({0}, 11)", this.ID));

            if (isOpen == "T")
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
コード例 #2
0
 /// <summary>
 /// Method.
 /// </summary>
 /// <param name=""></param>
 /// <returns>Restores the Window</returns>
 public void Restore()
 {
     InteropHelper.Eval(String.Format("Set Window {0} Restore", _windowID));
 }
コード例 #3
0
 /// <summary>
 /// Method.
 /// </summary>
 /// <param name=""></param>
 /// <returns>Minimizes the Window</returns>
 public void Minimize()
 {
     InteropHelper.Eval(String.Format("Set Window {0} Min", _windowID));
 }