public static MenuSystem GetInstance() { if (menuSystemObj == null) { menuSystemObj = new MenuSystem(); } return(menuSystemObj); }
public MainScreen() { menuSystem = MenuSystem.GetInstance(); noOfPaths = 3; }
public ProductMain() { menuSystem = MenuSystem.GetInstance(); noOfPaths = 5; }
public CatagoryMain() { menuSystem = MenuSystem.GetInstance(); noOfPaths = 5; }