UpdateDisplay() public method

public UpdateDisplay ( ) : void
return void
Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 public void RefreshPane()
 {
     foreach (Control c in m_panelMain.Controls)
     {
         PanelButton b = c as PanelButton;
         if (b != null)
         {
             b.UpdateDisplay();
         }
     }
 }
Beispiel #2
0
 /// <summary>
 /// XCore will call us whenever a property has changed.
 /// </summary>
 /// <param name="name"></param>
 public void OnPropertyChanged(string name)
 {
     //decide if something we are showing is affected by this property
     //foreach(PanelButton panel in m_propertiesToWatch)
     foreach (DictionaryEntry e in m_propertiesToWatch)
     {
         PanelButton panel = e.Value as PanelButton;
         if (panel.IsRelatedProperty(name))
         {
             panel.UpdateDisplay();
         }
     }
 }