public ColorColumnAutoFillUserSettingsDialog
(
ColorColumnAutoFillUserSettings colorColumnAutoFillUserSettings,
String dialogCaption
)
{
Debug.Assert(colorColumnAutoFillUserSettings != null);
Debug.Assert( !String.IsNullOrEmpty(dialogCaption) );
InitializeComponent();
m_oColorColumnAutoFillUserSettings = colorColumnAutoFillUserSettings;
// Instantiate an object that saves and retrieves the position of this
// dialog. Note that the object automatically saves the settings when
// the form closes.
m_oColorColumnAutoFillUserSettingsDialogUserSettings =
new ColorColumnAutoFillUserSettingsDialogUserSettings(this);
this.Text = dialogCaption;
// The label that explains categories, which is shown only when
// "Categories" is selected in the cbxSourceColumnContainsNumbers
// ComboBox, is shown in the wrong place in the designer to make it
// readable. Move it to its correct location.
lblSourceColumnContainsCategories.Location = new Point(12, 70);
cbxSourceColumnContainsNumbers.PopulateWithObjectsAndText(
false, "Categories", true, "Numbers"
);
lnkOutliersAndLogs.Tag = AutoFillWorkbookDialog.OutliersAndLogsMessage;
DoDataExchange(false);
UpdateColorGradient();
AssertValid();
}