Параметры события - изменения стиля. Пока не содержит ничего, впоследствии возможно будет содержать название измененного параметра.
Inheritance: System.EventArgs
Beispiel #1
0
 private void OnStyleChangeEvent(StyleChangeEventArgs e)
 {
     // Only singleton config can send notifications
     if (this == _instance)
     {
         if (StyleChange != null)
         {
             StyleChange(this, e);
         }
     }
 }
Beispiel #2
0
		private void OnStyleChange(object sender, StyleChangeEventArgs a)
		{
			_appPropertyGrid.BackColor = Config.Instance.StyleConfig.OptionsGridBack;
			_appPropertyGrid.ViewBackColor = Config.Instance.StyleConfig.OptionsGridViewBack;
			_appPropertyGrid.LineColor = Config.Instance.StyleConfig.OptionsGridLine;
			_appPropertyGrid.ViewForeColor = Config.Instance.StyleConfig.OptionsGridText;

			_stylePropertyGrid.BackColor = Config.Instance.StyleConfig.OptionsGridBack;
			_stylePropertyGrid.ViewBackColor = Config.Instance.StyleConfig.OptionsGridViewBack;
			_stylePropertyGrid.LineColor = Config.Instance.StyleConfig.OptionsGridLine;
			_stylePropertyGrid.ViewForeColor = Config.Instance.StyleConfig.OptionsGridText;
		}
        private void OnStyleChange(object sender, StyleChangeEventArgs a)
        {
            _appPropertyGrid.BackColor     = Config.Instance.StyleConfig.OptionsGridBack;
            _appPropertyGrid.ViewBackColor = Config.Instance.StyleConfig.OptionsGridViewBack;
            _appPropertyGrid.LineColor     = Config.Instance.StyleConfig.OptionsGridLine;
            _appPropertyGrid.ViewForeColor = Config.Instance.StyleConfig.OptionsGridText;

            _stylePropertyGrid.BackColor     = Config.Instance.StyleConfig.OptionsGridBack;
            _stylePropertyGrid.ViewBackColor = Config.Instance.StyleConfig.OptionsGridViewBack;
            _stylePropertyGrid.LineColor     = Config.Instance.StyleConfig.OptionsGridLine;
            _stylePropertyGrid.ViewForeColor = Config.Instance.StyleConfig.OptionsGridText;
        }
 private void OnStyleChanged(object s, StyleChangeEventArgs e)
 {
     UpdateStyle();
     Refresh();
 }
Beispiel #5
0
		private void OnStyleChanged(object s, StyleChangeEventArgs e)
		{
			UpdateStyle();
			Refresh();
		}
Beispiel #6
0
 private void OnStyleChanged(object sender, StyleChangeEventArgs args)
 {
     UpdateStyle();
 }
Beispiel #7
0
		private void OnStyleChanged(object sender, StyleChangeEventArgs args)
		{
			UpdateStyle();
		}
Beispiel #8
0
		private void StyleConfig_StyleChange(object s, StyleChangeEventArgs e)
		{
			UpdateStyle();
		}
Beispiel #9
0
 private void StyleConfigStyleChange(object s, StyleChangeEventArgs e)
 {
     UpdateStyle();
 }
Beispiel #10
0
		private void OnStyleChangeEvent(StyleChangeEventArgs e)
		{
			// Only singleton config can send notifications
			if (this == _instance)
			{
				if (StyleChange != null)
					StyleChange(this, e);
			}
		}