/// <summary>
        /// Evento di chiusura della view Gestione gestioni
        /// </summary>
        /// <param name="param">La view che ha inviato l'evento</param>
        public void CloseMe(object param)
        {
            RegistryMovementTypeView RFV = param as RegistryMovementTypeView;
            DockPanel wp = RFV.Parent as DockPanel;

            wp.Children.Remove(RFV);
        }
        private void OpenMovimenti(object param)
        {
            DockPanel mainGrid = param as DockPanel;

            if (registryMovementTypeView == null || !mainGrid.Children.Contains(registryMovementTypeView))
            {
                registryMovementTypeViewModel = new RegistryMovementTypeViewModel(_registryServices);
                registryMovementTypeView      = new RegistryMovementTypeView(registryMovementTypeViewModel);
                mainGrid.Children.Add(registryMovementTypeView);
            }
            else
            {
                mainGrid.Children.Remove(registryMovementTypeView);
                registryMovementTypeView      = null;
                registryMovementTypeViewModel = null;
            }
        }