Example #1
0
        public MainModelView()
        {
            this.dataModel = new DataModel()
            {
                myName = "", myDesc1 = "", myDesc2 = DateTime.Today.Date, myDesc3 = false, myDesc4 = ""
            };

            this.saveCarCommand = new SaveCarCommand(this);
        }
 private void InitializeCommands()
 {
     SaveCarCommand = new SaveCarCommand(UpdateCar);
 }