public override void EditLocalSettings() { var vm = new LocalSettingsVM(new LocalGroupOptions(HexView), hexEditorGroupFactoryService.Value.GetDefaultLocalOptions(HexView)); var win = new LocalSettingsDlg(); win.DataContext = vm; win.Owner = OwnerWindow; if (win.ShowDialog() != true) { return; } vm.TryGetLocalGroupOptions().WriteTo(HexView); }
public override void EditLocalSettings() { var vm = new LocalSettingsVM(new LocalGroupOptions(HexView), hexEditorGroupFactoryService.GetDefaultLocalOptions(HexView)); var win = new LocalSettingsDlg(); win.DataContext = vm; win.Owner = OwnerWindow; if (win.ShowDialog() != true) return; vm.TryGetLocalGroupOptions().WriteTo(HexView); }