Esempio n. 1
0
 private void RaiseSettingsChanged(SettingsChangedEventArgs args)
 {
     if (args.ChangedSettingsType == SnapshotSettingsType.Schedule)
     {
         _settingsControls.OfType <SummaryColumnSettingsControl>().First().LoadContentData(_editedContent);
     }
     SettingsChanged?.Invoke(this, args);
 }
		public void UpdateAccordingSettings(SettingsChangedEventArgs eventArgs)
		{
			if (eventArgs.ChangedSettingsType != SnapshotSettingsType.Summary) return;
			UpdateView();
		}
Esempio n. 3
0
 private void OnSettingsChanged(object sender, SettingsChangedEventArgs e)
 {
     RaiseSettingsChanged(e);
 }
		public void UpdateAccordingSettings(SettingsChangedEventArgs eventArgs)
		{
			switch (eventArgs.ChangedSettingsType)
			{
				case SnapshotSettingsType.Schedule:
				case SnapshotSettingsType.AdvancedColumns:
					_snapshotControl.UpdateView();
					break;
				case SnapshotSettingsType.DigitalInfo:
					_digitalInfoControl.UpdateGridView();
					break;
			}
		}
		private void OnSettingsChanged(object sender, SettingsChangedEventArgs e)
		{
			RaiseSettingsChanged(e);
		}
		private void RaiseSettingsChanged(SettingsChangedEventArgs args)
		{
			if (args.ChangedSettingsType == SnapshotSettingsType.Schedule)
				_settingsControls.OfType<SummaryColumnSettingsControl>().First().LoadContentData(_editedContent);
			SettingsChanged?.Invoke(this, args);
		}