-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Removed extra space from header - Fixed (undiscovered) error with opening staff list with 0 players loaded - Fixes #32 : Penalty details will now be retained on edit. Also enlarged the font of the penalty details entry. Will now set a suggested penalty at the base (but can still be upgrade or downgraded.) - Fixes #25 : Will now check incoming file for duplicates in non-guest Membership Numbers as Needed. - Added shortcut to listbox for adding a player to the tournament.
- Loading branch information
Showing
10 changed files
with
238 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
273 changes: 142 additions & 131 deletions
273
TCG+ Registration Helper/Registration - Individual.Designer.vb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
TCG+ Registration Helper/Tournament - Penalty Detail.Designer.vb
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,29 @@ | ||
Public Class frmPenaltyDetail | ||
Public Property EditMode As Boolean = False | ||
Public Property Infraction As Integer = 0 | ||
Public Property Penalty As Integer = 0 | ||
|
||
Private Sub frmPenaltyDetail_Load(sender As Object, e As EventArgs) Handles MyBase.Load | ||
' Assign the Infraction Types to the field | ||
cboInfraction.DataSource = New BindingSource(_infraction, Nothing) | ||
cboInfraction.DataSource = New BindingSource(_infrac, Nothing) | ||
cboInfraction.DisplayMember = "Value" | ||
cboInfraction.ValueMember = "Key" | ||
|
||
' Assign the Penalty Types to the field | ||
cboPenalty.DataSource = New BindingSource(_penalty, Nothing) | ||
cboPenalty.DataSource = New BindingSource(_pen, Nothing) | ||
cboPenalty.DisplayMember = "Value" | ||
cboPenalty.ValueMember = "Key" | ||
|
||
If EditMode Then | ||
cboInfraction.SelectedValue = Infraction | ||
|
||
cboPenalty.SelectedValue = Penalty | ||
End If | ||
|
||
End Sub | ||
|
||
Private Sub cboInfraction_SelectionChangeCommitted(sender As Object, e As EventArgs) Handles cboInfraction.SelectedIndexChanged | ||
If Not EditMode Then | ||
cboPenalty.SelectedValue = _suggested.Item(cboInfraction.SelectedValue.Key) | ||
Private Sub cboInfraction_SelectionChangeCommitted(sender As Object, e As EventArgs) Handles cboInfraction.SelectionChangeCommitted | ||
cboPenalty.SelectedValue = _suggested.Item(cboInfraction.SelectedValue) | ||
|
||
EditMode = False | ||
End If | ||
End Sub | ||
End Class |
Oops, something went wrong.