Esempio n. 1
0
 void ApplyConfig_Click(object sender, EventArgs e)
 {
     foreach (ListViewItem item in OptionsListView.Items)
     {
         ((LuiOptionsDialog)item.Tag).HandleApply(sender, e);
     }
     OptionsApplied.Raise(this, EventArgs.Empty);
     ApplyConfig.Enabled = false; // Can't apply again until options change.
     SaveConfig.Enabled  = true;  // Can save config after apply.
 }
Esempio n. 2
0
 protected override void OnApply(PageApplyEventArgs e)
 {
     base.OnApply(e);
     OptionsApplied?.Invoke(this, e);
 }
Esempio n. 3
0
 protected override void OnApply(PageApplyEventArgs e)
 {
     base.OnApply(e);
     InitializeMenuVisibility();
     OptionsApplied?.Invoke(this, e);
 }