1

The program I'm working on renders perfectly fine on one machine and totally wrong on the other one.

here's the photos;

enter image description here enter image description here

As you can see at the second picture, all of the controls are shifted to the left. And the right part of the form is empty. Also half of the little arrows on the left got lost.

Both machines have high end Nvidia graphics card have same DPI.

4

1 回答 1

1

这有几个可能的原因:

  1. 您正在使用两种不同的操作系统。8 和 XP 渲染相同的控件完全不同。
  2. 您正在使用不同的视觉风格(一种是 Aero,另一种是 Classic)。
  3. 你没有锚定你的控件。锚定允许窗体上的控件根据窗口的大小动态布局。
于 2013-07-27T21:51:40.030 回答