aboutsummaryrefslogtreecommitdiff
blob: b7167e593918cfc5be927454c3a06732a5e31909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using KukaPizza.Views;

namespace KukaPizza.Controllers
{
    public class MainController : Controller
    {
        public MainController()
        {
            new MainView(this);
        }

        public void OpenOrderPizza()
        {
            new OrderPizzaController();
        }

        public void OpenCheckOrders()
        {
            new CheckOrdersController();
        }

        public void Close()
        {
            System.Environment.Exit(0);
        }
    }
}