Пример #1
0
 public static MenuSystem GetInstance()
 {
     if (menuSystemObj == null)
     {
         menuSystemObj = new MenuSystem();
     }
     return(menuSystemObj);
 }
Пример #2
0
 public CustomerScreen()
 {
     menuSystem = MenuSystem.GetInstance();
     noOfPaths  = 3;
 }
Пример #3
0
 public CartMain()
 {
     menuSystem = MenuSystem.GetInstance();
     noOfPaths  = 3;
 }
Пример #4
0
 public MainScreen()
 {
     menuSystem = MenuSystem.GetInstance();
     noOfPaths  = 3;
 }
Пример #5
0
 public LoginMain()
 {
     menuSystem = MenuSystem.GetInstance();
 }
Пример #6
0
 public ManagerMain()
 {
     menuSystem = MenuSystem.GetInstance();
     noOfPaths  = 5;
 }