Esempio n. 1
0
        public string Ocr(int x1, int y1, int x2, int y2, string color_format, double sim)
        {
            switch (WindowsFormsApplication1.BaseData.SystemInfo.BindWindowsType)
            {
            case 1:    //1是大漠2是AE
            {
                return(dm.Ocr(x1, y1, x2, y2, color_format, sim));
            }

            case 2:
            {
                return(dm.Ocr(x1, y1, x2, y2, color_format, sim));
            }

            default:
                return("");
            }
        }