예제 #1
0
        public int FindStrFast(int x1, int y1, int x2, int y2, string str, string color_format, double sim, out object intX, out object intY)
        {
            intX = intY = -1;
            switch (WindowsFormsApplication1.BaseData.SystemInfo.BindWindowsType)
            {
            case 1:    //1是大漠2是AE
            {
                return(dm.FindStrFast(x1, y1, x2, y2, str, color_format, sim, out intX, out intY));
            }

            case 2:
            {
                return(dm.FindStrFast(x1, y1, x2, y2, str, color_format, sim, out intX, out intY));
            }

            default:
                return(0);
            }
        }