2019/05/21

[C#] WPF Get Screen Width and Height

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

沒有留言:

張貼留言