/// <summary> /// handles crearerapportage inputs and buttons /// </summary> /// <param name="rapportagesDataGrid"></param> public CreateRapportage(DataGrid rapportagesDataGrid) { InitializeComponent(); rapportagesController = new RapportagesController(this, null); createRapportage.Click += (sender, e) => rapportagesController.CreateRapportage(sender, e, createRapportageGrid, rapportagesDataGrid); }
/// <summary> /// handles rapportagesoverzicht input and buttons /// </summary> public RapportagesOverzicht() { InitializeComponent(); rapportagesController = new RapportagesController(null, this); rapportagesController.OverzichtRapportages(rapportagesDataGrid); createRapportage.Click += (sender, e) => rapportagesController.NieuwRapportageWindow(sender, e, rapportagesDataGrid); }