Basic Bot - change dropdown style to DropdownList to avoid empty and invalid choices. Fixes #602

This commit is contained in:
adelikat 2016-10-06 11:34:34 -05:00
parent 2d9fde1bed
commit 4c140f676e
1 changed files with 4 additions and 0 deletions

View File

@ -691,6 +691,7 @@
//
// MainOperator
//
this.MainOperator.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.MainOperator.FormattingEnabled = true;
this.MainOperator.Items.AddRange(new object[] {
">",
@ -778,6 +779,7 @@
//
// Tiebreak1Operator
//
this.Tiebreak1Operator.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.Tiebreak1Operator.FormattingEnabled = true;
this.Tiebreak1Operator.Items.AddRange(new object[] {
">",
@ -867,6 +869,7 @@
//
// Tiebreak2Operator
//
this.Tiebreak2Operator.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.Tiebreak2Operator.FormattingEnabled = true;
this.Tiebreak2Operator.Items.AddRange(new object[] {
">",
@ -1020,6 +1023,7 @@
//
// Tiebreak3Operator
//
this.Tiebreak3Operator.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.Tiebreak3Operator.FormattingEnabled = true;
this.Tiebreak3Operator.Items.AddRange(new object[] {
">",