Exemple #1
0
        public override void OnApplyChanges()
        {
            sizeComboBox.IsEditableMode        = isEditable;
            resolutionComboBox.IsEditableMode  = isEditable;
            orientationComboBox.IsEditableMode = isEditable;

            sizeComboBox.IgnoreDiacritic        = !diacritic;
            resolutionComboBox.IgnoreDiacritic  = !diacritic;
            orientationComboBox.IgnoreDiacritic = !diacritic;

            sizeComboBox.ComboBoxMode        = comboBoxMode;
            resolutionComboBox.ComboBoxMode  = comboBoxMode;
            orientationComboBox.ComboBoxMode = comboBoxMode;

            sizeComboBox.TextSize        = textSize;
            resolutionComboBox.TextSize  = textSize;
            orientationComboBox.TextSize = textSize;

            sizeComboBox.TextColor        = textColor;
            resolutionComboBox.TextColor  = textColor;
            orientationComboBox.TextColor = textColor;

            sizeComboBox.SetBackgroundColor(backColor);
            resolutionComboBox.SetBackgroundColor(backColor);
            orientationComboBox.SetBackgroundColor(backColor);

            sizeComboBox.Watermark        = waterMark;
            resolutionComboBox.Watermark  = waterMark;
            orientationComboBox.Watermark = waterMark;
        }