Esempio n. 1
0
 /// <summary>
 /// Emits SettingChanged event on demand.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="args">Event arguments.</param>
 public void EmitSettingChanged(object sender, SettingChangedArgs args)
 {
     if (this.SettingChanged != null)
     {
         this.SettingChanged(sender, args);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Sends Settings SettingChanged event to tray plugins.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="args">Event arguments.</param>		
 private void OnSettingChanged(object sender, SettingChangedArgs args)
 {
     foreach (ITray tray in this.Trays)
     {
         tray.OnSettingChanged(sender, args);
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Handles SettingChanged event.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="args">Event arguments.</param>
 public void OnSettingChanged(object sender, SettingChangedArgs args)
 {
     if (args.RequiresMenuRebuild)
         this.RefreshMenu();
 }
Esempio n. 4
0
 /// <summary>
 /// Handles SettingChanged event.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="args">Event arguments.</param>
 public void OnSettingChanged(object sender, SettingChangedArgs args)
 {
 }
Esempio n. 5
0
 /// <summary>
 /// Emits SettingChanged event on demand.
 /// </summary>
 /// <param name="sender">Sender.</param>
 /// <param name="args">Event arguments.</param>
 public void EmitSettingChanged(object sender, SettingChangedArgs args)
 {
     if (this.SettingChanged != null)
         this.SettingChanged(sender, args);
 }