private void CloseDriverInfoPopupWindow()
 {
     if (_driverInfoPopup != null)
     {
         _driverInfoPopup.Dismiss();
         _driverInfoPopup.Dispose();
         _driverInfoPopup     = null;
         _model.CheckedDriver = null;
     }
 }
예제 #2
0
        private void ClosePedestrianInfoPopupWindow(PedestrianRequestModel request)
        {
            if (!_pedestrianInfoPopups.ContainsKey(request))
            {
                return;
            }
            PopupWindow pedestrianInfoPopup = _pedestrianInfoPopups[request];

            UnhookModelFromDetailsPopupWindow(pedestrianInfoPopup, request);
            _pedestrianInfoPopups.Remove(request);
            pedestrianInfoPopup.Dismiss();
            pedestrianInfoPopup.Dispose();
        }