private void SetControlValues() { DraftRadioButton.Content = this.SelectedItem.GetMajorVersion() + "." + (SelectedItem.GetMinorVersion() + 1) + Languages.Translate("Minor version"); PublishRadioButton.Content = (SelectedItem.GetMajorVersion() + 1) + Languages.Translate("Major version"); OverwriteRadioButton.Content = SelectedItem.GetMajorVersion() + "." + SelectedItem.GetMinorVersion() + Languages.Translate(" Overwrite the current minor version"); if (SiteSetting.useMajorVersionAsDefault) { this.PublishRadioButton.IsChecked = true; } }