コード例 #1
0
 public bool CreateMenu()
 {// check the menuType and invoke the menu draw accordingly
     if (AuthManager.type == 1)
     {
         InventoryMenu imenu = new InventoryMenu();
         imenu.DrawMenu();
     }
     else if (AuthManager.type == 2)
     {
         Console.WriteLine("customer Menu");
     }
     return(true);
 }