示例#1
0
        public string GetAveRGB(int x1, int y1, int x2, int y2)
        {
            switch (WindowsFormsApplication1.BaseData.SystemInfo.BindWindowsType)
            {
            case 1:    //1是大漠2是AE
            {
                return(dm.GetAveRGB(x1, y1, x2, y2));
            }

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

            default:
                return("");
            }
        }