public ProfileWrapper(CompilePreset preset) { Preset = preset; }
private void UsePreset(CompilePreset preset) { _preset = preset; DialogResult = DialogResult.OK; Close(); }