private void UiAction_ProjectOptions() { using (var frm = new frmProjectDetails(frmProjectDetails.FormEditMode.Edit)) { frm.ProjectInstance = (ProjectDefinition)_projectDefinaton.Clone(); if (frm.ShowDialog() == DialogResult.OK) { _projectDefinaton = frm.ProjectInstance; Refresh_Form(); SetModified(true); } } }