Exemple #1
0
        public static bool Exsit(string WindowName, string buttonName, int seconds)
        {
            ControlOp co = new ControlOp(buttonName, ControlType.Button);

            if (seconds == 0)
            {
                return(co.exist(co, WindowName));
            }
            else
            {
                return(co.exist(co, WindowName, seconds));
            }
        }
Exemple #2
0
        public static bool Exsit(string ClassName, string WindowName, string lName)
        {
            ControlOp co = new ControlOp(lName, ControlType.ListItem);

            return(co.exist(co, WindowName));
        }
Exemple #3
0
        public static bool Exsit(string WindowName, string editName)
        {
            ControlOp co = new ControlOp(editName, ControlType.Edit);

            return(co.exist(co, WindowName));
        }
Exemple #4
0
        public static bool Exsit(string WindowName, string cName)
        {
            ControlOp co = new ControlOp(cName, ControlType.CheckBox);

            return(co.exist(co, WindowName));
        }
Exemple #5
0
        public static bool Exsit(string WindowName, string tName)
        {
            ControlOp co = new ControlOp(tName, ControlType.TabItem);

            return(co.exist(co, WindowName));
        }
Exemple #6
0
        public static bool Exsit(string WindowName, string lID)
        {
            ControlOp co = new ControlOp(lID, ControlType.List);

            return(co.exist(co, WindowName));
        }
Exemple #7
0
        public static bool Exsit(string WindowName, string rName)
        {
            ControlOp co = new ControlOp(rName, ControlType.RadioButton);

            return(co.exist(co, WindowName));
        }
Exemple #8
0
        public static bool Exsit(string WindowName, string paneName)
        {
            ControlOp co = new ControlOp(paneName, ControlType.Pane);

            return(co.exist(co, WindowName));
        }