void Save() { if (this != CallStackSettings.Instance) { return; } DNSpySettings.Update(root => Save(root)); }
void Save() { if (this != LocalsSettings.Instance) { return; } DNSpySettings.Update(root => Save(root)); }
void Save() { if (this != DebuggerSettings.Instance) { return; } DNSpySettings.Update(root => Save(root)); }
void Save() { if (this != BreakpointSettings.Instance) { return; } DNSpySettings.Update(root => Save(root)); }
void OKButton_Click(object sender, RoutedEventArgs e) { RefreshFlags = RefreshFlags.None; DNSpySettings.Update( delegate(XElement root) { foreach (var optionPage in optionPages) { RefreshFlags |= optionPage.Save(root); } }); this.DialogResult = true; Close(); }
void Save() { DNSpySettings.Update(root => Save(root)); }