Most controls in CreateTournamentForm are implemented
This commit is contained in:
@ -14,9 +14,12 @@ namespace TrackerUI
|
||||
{
|
||||
public partial class CreatePrizeForm : Form
|
||||
{
|
||||
public CreatePrizeForm()
|
||||
IPrizeRequester callingForm;
|
||||
|
||||
public CreatePrizeForm(IPrizeRequester caller)
|
||||
{
|
||||
InitializeComponent();
|
||||
callingForm = caller;
|
||||
}
|
||||
|
||||
private void createPrizeButton_Click(object sender, EventArgs e)
|
||||
@ -31,10 +34,12 @@ namespace TrackerUI
|
||||
|
||||
GlobalConfig.Connection.CreatePrize(model);
|
||||
|
||||
placeNameValue.Text = "";
|
||||
placeNumberValue.Text = "";
|
||||
prizeAmountValue.Text = "0";
|
||||
prizePercentageValue.Text = "0";
|
||||
callingForm.PrizeComplete(model);
|
||||
this.Close();
|
||||
//placeNameValue.Text = "";
|
||||
//placeNumberValue.Text = "";
|
||||
//prizeAmountValue.Text = "0";
|
||||
//prizePercentageValue.Text = "0";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user