winform判断图中黑框的长和宽