Пример #1
0
        public void add(iTool aTool) // add a new tool to the system
        {
            iToolCollection currentToolCollection = MainMenu.currentToolType;

            Console.WriteLine(aTool.ToString());
            currentToolCollection.add(aTool);
        }
Пример #2
0
        public void delete(iTool aTool) //delte a given tool from the system
        {
            iToolCollection currentToolCollection = MainMenu.currentToolType;

            Console.WriteLine(aTool.ToString());
            currentToolCollection.delete(aTool);
        }