You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GetScreenSize.cs 472 B

8 月之前
1234567891011121314151617181920212223
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Example.Helpers
  7. {
  8. class GetScreenSize
  9. {
  10. public int MaxScreenWidth { get; set; }
  11. public int MaxScreenHeight { get; set; }
  12. public GetScreenSize()
  13. {
  14. //MaxScreenWidth = Screen.PrimaryScreen.Bounds.Width;
  15. //MaxScreenHeight = Screen.PrimaryScreen.Bounds.Height;
  16. }
  17. }
  18. }