private void checkBoxWeightedFrequency_CheckedChanged(object sender, EventArgs e) { WallpaperData.UpdateImageTypeWeights(); ThemeOptions.WeightedFrequency = checkBoxWeightedFrequency.Checked; //? this needs to be modified before the below is called //? the image type doesn't matter here, only calling this so that the exact frequencies can be updated | ToString() must remain to use the proper method FrequencyCalculator.UpdateFrequency(textBoxRelativeStatic, ImageType.Static, FrequencyType.Relative, ref ThemeOptions); ResetFrequencyText(); }
private void UpdateFrequency(object sender, ImageType imageType, FrequencyType frequencyType) { FrequencyCalculator.UpdateFrequency(sender, imageType, frequencyType, ref ThemeOptions); ResetFrequencyText(); }