private void OkBtn_Click(object sender, RoutedEventArgs e) { if (!CheckIsValid()) { return; } Adapter.Load(_editableAdapter.Save()); DialogResult = true; }
void IPersistable.Save(SettingsStorage storage) { _adapter.Save(storage); }