2019/05/21

[C#] WPF Get Screen Width and Height

double screen_h = System.Windows.SystemParameters.PrimaryScreenHeight;
double screen_w = System.Windows.SystemParameters.PrimaryScreenWidth;

沒有留言:

張貼留言