Exemplo n.º 1
0
        /// <summary>
        /// Occurs in case of change of settings
        /// </summary>
        /// <param name="e">SettingsChangedEventArgs</param>
        protected virtual void OnSettingsChanged(SettingsChangedEventArgs e)
        {
            SettingsChangedDelegate handler = SettingsChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
		private void ModelSettingsChanged(object sender, SettingsChangedEventArgs e)
		{
			SetSettings(null);

			if (e.NewSetting.IsNeedReloadTree(e.OldSetting))
			{
				VisualizeData(CurrentConcreteTemplateNodeDefinition);
				//NewFillTemplateTreeView(false);
			}
		}
		/// <summary>
		/// Occurs in case of change of settings
		/// </summary>
		/// <param name="e">SettingsChangedEventArgs</param>
		protected virtual void OnSettingsChanged(SettingsChangedEventArgs e)
		{
			SettingsChangedDelegate handler = SettingsChanged;

			if (handler != null)
			{
				handler(this, e);
			}
		}