예제 #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();
		}
예제 #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;
			}
		}
예제 #5
0
		private void OnSettingsChanged(object sender, SettingsChangedEventArgs e)
		{
			RaiseSettingsChanged(e);
		}
예제 #6
0
		private void RaiseSettingsChanged(SettingsChangedEventArgs args)
		{
			if (args.ChangedSettingsType == SnapshotSettingsType.Schedule)
				_settingsControls.OfType<SummaryColumnSettingsControl>().First().LoadContentData(_editedContent);
			SettingsChanged?.Invoke(this, args);
		}