mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Code quality changes [skip ci]
This commit is contained in:
parent
61cfe004c5
commit
798ca503a5
108 changed files with 1981 additions and 2258 deletions
|
@ -114,7 +114,8 @@ namespace Greenshot {
|
|||
/// with the items from the enumeration
|
||||
/// </summary>
|
||||
/// <param name="comboBox">ComboBox to populate</param>
|
||||
/// <param name="enumeration">Enum to populate with</param>
|
||||
/// <param name="availableValues"></param>
|
||||
/// <param name="selectedValue"></param>
|
||||
private void PopulateComboBox<ET>(ComboBox comboBox, ET[] availableValues, ET selectedValue) where ET : struct {
|
||||
comboBox.Items.Clear();
|
||||
foreach(ET enumValue in availableValues) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue