예제 #1
0
        public Tours(MainWindow mainWindow)
        {
            InitializeComponent();

            this.mainWindow = mainWindow;
            toursWindow = this;
            loadTours();
        }
예제 #2
0
        /* инициализация */
        public Clients(MainWindow mainWindow)
        {
            InitializeComponent();

            this.mainWindow = mainWindow;
            clientsWindow = this;

            UpdateClientsList(null);
        }
예제 #3
0
        //private class Route
        //{
        //    public int Id { get; set; }
        //    public string Climate { get; set; }
        //    public string Country { get; set; }
        //    public string Hotel { get; set; }
        //    public int Duration { get; set; }
        //    public float Cost { get; set; }

        //    public Route(int id, string climate, string country, string hotel, int duration, float cost)
        //    {
        //        Id = id;
        //        Climate = climate;
        //        Country = country;
        //        Hotel = hotel;
        //        Duration = duration;
        //        Cost = cost;
        //    }
        //}

        public Routes(MainWindow mainWindow)
        {
            InitializeComponent();

            this.mainWindow = mainWindow;
            routesWindow = this;

            loadRoutes();
        }
예제 #4
0
 public MainWindow()
 {
     InitializeComponent();
     mainWindow = this;
 }