## Классы ``` namespace WpfApp2.model { public class Spares { public string name { get; set; } public int price { get; set; } public string detail { get; set; } public string type { get; set; } public List SparesDetailList { get; set; } public List SparesPriceList { get; set; } public List SparesTypeList { get; set; } } } ``` ``` namespace WpfApp2.model { class Globals { public static IDataProvider dataProvider; } } ``` ``` namespace WpfApp2.model { public class SparesDetail { public string title { get; set; } } public class SparesPrice { public string title { get; set; } public int PriceFrom { get; set; } public int PriceTo { get; set; } } public class SparesType { public string title { get; set; } } } ``` ## Mainwindow.xaml ```