예제 #1
0
        public void saveSyncParams()
        {
            string newTimeInterval = this.txtSyncPeriod.Text;

            ParameterService.setPeriodSyncInterval(newTimeInterval);
            ParameterService.setPeriodSyncEnabled(cbxEnableSync.Checked);
            this.appMediator.restartPeriodSync();
            this.closeView();
            MessageService.displayInfoMessage(GeneralConstants.SET_PERIOD_SYNC_MESSAGE + newTimeInterval, GeneralConstants.SET_PERIOD_SYNC_TITLE);
        }