Beispiel #1
0
        private void ResetFilters()
        {
            SelectedIdUser = null;
            FilterText     = "";
            RoleName       = "";

            MinValueDateOfLastChangePassword = _eF.GetMinDateOfLastChangePassword();
            MinValueDateOfRegistration       = _eF.GetMinDateOfRegistration();
            MinValueWasOnline = _eF.GetMinWasOnline();
            MaxValueDateOfLastChangePassword = _eF.GetMaxDateOfLastChangePassword();
            MaxValueDateOfRegistration       = _eF.GetMaxDateOfRegistration();
            MaxValueWasOnline = _eF.GetMaxWasOnline();

            BeginValueDateOfLastChangePassword = MinValueDateOfLastChangePassword;
            BeginValueDateOfRegistration       = MinValueDateOfRegistration;
            BeginValueWasOnline = MinValueWasOnline;

            EndValueDateOfLastChangePassword = MaxValueDateOfLastChangePassword;
            EndValueDateOfRegistration       = MaxValueDateOfRegistration;
            EndValueWasOnline = MaxValueWasOnline;

            Roles = CollectionConverter <Role> .ConvertToObservableCollection(_eF.GetRoles());

            Searching();
        }