Ejemplo n.º 1
0
        public void ShowView(Window window)
        {
            ViewJobrequest viewJobrequest = new ViewJobrequest();

            viewJobrequest.Show();
            if (window != null)
            {
                window.Close();
            }
        }
Ejemplo n.º 2
0
        //Het window sluiten en het window van de homescreen openen
        public void RefuseJobRequest(Window window)
        {
            var detail = _dataservice.GetRequestDetail(SelectedRequest.IdRequest);

            _dataservice.removeJobRequest(SelectedRequest.IdRequest, detail.IdRqDetail);
            LoadJRIntoListbox();
            ViewJobrequest viewJobrequest = new ViewJobrequest();

            viewJobrequest.Show();
            if (window != null)
            {
                window.Close();
            }
        }