public Tours(MainWindow mainWindow) { InitializeComponent(); this.mainWindow = mainWindow; toursWindow = this; loadTours(); }
/* инициализация */ public Clients(MainWindow mainWindow) { InitializeComponent(); this.mainWindow = mainWindow; clientsWindow = this; UpdateClientsList(null); }
//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(); }
public MainWindow() { InitializeComponent(); mainWindow = this; }