internal override void SetDialogProperties(IFileDialog dialog) { base.SetDialogProperties(dialog); uint cookie; var events = new TraceLabSaveAsDialogEvents(this); dialog.Advise(events, out cookie); Ookii.Dialogs.Wpf.Interop.IFileDialogCustomize customize = (Ookii.Dialogs.Wpf.Interop.IFileDialogCustomize)dialog; customize.StartVisualGroup(_configVisualGroupId, "Referenced files:"); customize.AddComboBox(_comboBoxId); customize.AddControlItem(_comboBoxId, _ignoreId, ignoreLabel); customize.AddControlItem(_comboBoxId, _copyId, copyLabel); customize.AddControlItem(_comboBoxId, _copyOverwriteId, copyOverwriteLabel); customize.AddControlItem(_comboBoxId, _keepReferenceId, determinePathsLabel); customize.SetSelectedControlItem(_comboBoxId, _ignoreId); //select default customize.EndVisualGroup(); customize.AddText(_helpTextId, ignoreDescription); }