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.
 
 
 
 

23 regels
461 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace HybridApp
  7. {
  8. public static class MainPageSingleton
  9. {
  10. private static MainPage mainPage;
  11. public static MainPage Instance
  12. {
  13. get
  14. {
  15. if(mainPage == null)
  16. mainPage = new MainPage();
  17. return mainPage;
  18. }
  19. }
  20. }
  21. }