private void CreatePrizeButton_Click(object sender, EventArgs e)
        {
            if (ValidateForm())
            {
                PrizeModel model = new PrizeModel(
                    placeNameValue.Text,
                    placeNumberValue.Text,
                    prizeAmountValue.Text,
                    prizePercentageValue.Text);

                GlobalConfig.Connection.CreatePrize(model);

                callingForm.prizeComplete(model);
                this.Close();

                //placeNameValue.Text = "";
                //placeNumberValue.Text = "";
                //prizeAmountValue.Text = "0";
                //prizePercentageValue.Text = "0";
            }
            else
            {
                MessageBox.Show("This form has invalid information please check it and try again");
            }
        }
        private void CreatePriceButton_Click(object sender, EventArgs e)
        {
            if (validateFrom())
            {
                PrizeModel model = new PrizeModel(PlaceNumberTextBox.Text, PlaceNameTextBox.Text,
                                                  PrizeAmountTextBox.Text, pricePercentageTextBox.Text);

                GlobalConfig.connection.createPrize(model);
                callingFrom.prizeComplete(model);

                this.Close();
                //PlaceNumberTextBox.Text = "";
                //PlaceNameTextBox.Text = "";
                //PrizeAmountTextBox.Text = "0";
                //pricePercentageTextBox.Text = "0";
            }
            else
            {
                MessageBox.Show("This from has invalid information . Please Check and try again");
            }
        }