Esempio n. 1
0
        public MainWindow()
        {
            HelperClass.runAll();

            InitializeComponent();

            InitProperties();
            InitComboBox();

            myCarsBindingList        = new MyCarList <Car>(this.myCars);
            MainDataGrid.ItemsSource = myCarsBindingList;
        }
Esempio n. 2
0
 private void InitProperties()
 {
     this.myCars            = new List <Car>(HelperClass.myCars);
     this.myCarsBindingList = new MyCarList <Car>(myCars);
 }