Beispiel #1
0
 private void m_pViewStyle_StyleChanged(object sender, ViewStyle_EventArgs e)
 {
     if (m_pViewStyle != null)
     {
         this.BackColor = m_pViewStyle.ControlBackColor;
     }
 }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="propertyName"></param>
        /// <param name="popertyValue"></param>
        protected void OnStyleChanged(string propertyName, object popertyValue)
        {
            // Raises the event;
            ViewStyle_EventArgs oArg = new ViewStyle_EventArgs(propertyName, popertyValue);

            if (this.StyleChanged != null)
            {
                this.StyleChanged(this, oArg);
            }
        }
Beispiel #3
0
		protected void OnStyleChanged(string propertyName,object popertyValue)
		{
			// Raises the event; 	
			ViewStyle_EventArgs oArg = new ViewStyle_EventArgs(propertyName,popertyValue);

			if(this.StyleChanged != null){
				this.StyleChanged(this, oArg);
			}	
		}