......
......int r1=GetRValue(cr1);
int r2=GetRValue(cr2);......
......
float dr=(((float)(r2-r1))/(float)(rect.Width)); //错在这里.....
.....error C2440: 'type cast' : cannot convert from '' to 'float'
Context does not allow for disambiguation of overloaded function请问怎么解决~~....
Width是方法,不是属性。