Exemple #1
0
        public override bool Apply(bool disposeController)
        {
            if (!_baseController.Apply(disposeController))
            {
                return(false);
            }

            _doc.FormatString = _view.FormatString;

            return(ApplyEnd(true, disposeController));
        }
        public override bool Apply(bool disposeController)
        {
            if (!_baseController.Apply(disposeController))
            {
                return(false);
            }

            _doc.LabelTimeConversion = (DateTimeLabelFormatting.TimeConversion)_timeConversionChoices.FirstSelectedNode.Tag;

            _doc.FormattingString = _view.FormattingString;
            _doc.ShowAlternateFormattingAtMidnight = _view.ShowAlternateFormattingOnMidnight;
            _doc.ShowAlternateFormattingAtNoon     = _view.ShowAlternateFormattingOnNoon;
            _doc.FormattingStringAlternate         = _view.FormattingStringAlternate;

            return(ApplyEnd(true, disposeController));
        }