Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

GetScreenSize.cs 472 B

8 miesięcy temu
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. }