Exemplo n.º 1
0
 public TechInspectionWindow()
 {
     InitializeComponent();
     DataContext       = this;
     driverRep         = new DriverRepository();
     carRep            = new CarRepository();
     techInspectionRep = new TechInspectionRep();
 }
Exemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();


            DataContext       = this;
            techInspectionRep = new TechInspectionRep();
            reportRep         = new ReportRepository();
            timer             = new DispatcherTimer();
            timer.Interval    = TimeSpan.FromMinutes(1);
            timer.Tick       += Timer_Tick;
            timer.Start();
        }