예제 #1
0
        private void btnCreatePrize_Click(object sender, System.EventArgs e)
        {
            // Call the CreatePrizeForm
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
        }
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // Call the CreatePrizeForm
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
        }
예제 #3
0
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // Call the CreatePrizeForm
            CreatePrizeForm frm = new CreatePrizeForm(this); // "this" keyword represents this specific instance

            frm.Show();                                      // After clicking the button the form will pop up
        }
예제 #4
0
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            //  apelam create prize form si il deschidem
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
        }
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // Call the CreatePrizeForm;
            CreatePrizeForm frm = new CreatePrizeForm(this); //this represents this instance of the form.

            frm.Show();
        }
        private void CreatPrizeButton_Click(object sender, EventArgs e)
        {
            // Call the CreatePrizeForm
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();


            /*
             * if (ValidateForm())
             * {
             *  TournamentModel model = new TournamentModel(
             *      placeNameValue.Text,
             *      placeNumberValue.Text,
             *      prizeAmountValue.Text,
             *      prizePercentageValue.Text);
             *
             *  GlobalConfig.Connection.CreatePrize(model);
             *
             *
             *  placeNameValue.Text = "";
             *  placeNumberValue.Text = "";
             *  prizeAmountValue.Text = "0";
             *  prizePercentageValue.Text = "0";
             * }
             * else
             * {
             *  MessageBox.Show("This form has invalid information. Please check it and try again.");
             * }
             */
        }
예제 #7
0
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // Call CreatPrizeForm
            CreatePrizeForm frm = new CreatePrizeForm(this); //this refers to this specific instance of CreateTournamentForm

            frm.Show();
        }
예제 #8
0
        private void BtnCreatePrize_Click(object sender, EventArgs e)
        {
            //Call CreatePrizeForm
            CreatePrizeForm prizeForm = new CreatePrizeForm(this);

            prizeForm.Show();
        }
예제 #9
0
        private void CreatePrizeButton_Click(object sender, EventArgs e)
        {
            // call the create prize form
            CreatePrizeForm form = new CreatePrizeForm(this);

            form.Show();
        }
        /// <summary>
        /// Go to the create new prize form
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void createNewPrizeLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            // Call the createPrize form
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
        }
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // Call the create prize form
            var form = new CreatePrizeForm();

            form.PrizeCreated += OnPrizeCreated;
            form.Show();
        }
예제 #12
0
        private void btnCreatePrize_Click(object sender, EventArgs e)
        {
            //open create prize form
            CreatePrizeForm prizeForm = new CreatePrizeForm(this);

            prizeForm.MdiParent = ActiveForm;
            prizeForm.Show();
        }
예제 #13
0
        private void button1_Click(object sender, EventArgs e)
        {
            //Create Prize Button Click

            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
        }
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // call the CreatePrizeForm
            // this = the form CreateTournamentForm, and a IPrizeRequester contract fullfiller
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
        }
예제 #15
0
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // call the createprizeform
            // what is "this", means this specific instance in memory
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
        }
예제 #16
0
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // Call the Create prize form.
            // "this" keyword represents this specific form instance.
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
        }
예제 #17
0
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // Call the CreatePrizeForm
            // Get back from the form a PrizeModel
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
        }
예제 #18
0
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            //call create prize form
            CreatePrizeForm frm = new CreatePrizeForm(this); //represents this specific instance

            frm.Show();                                      // displays form
            //get back from the form a prizemodel
        }
        private void CreatePrizeButton_Click(object sender, EventArgs e)
        {
            // 1. Call the CreatePrizeForm
            // this: represents the instance of CreateTournamentForm which implement IPrizeRequester
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
        }
예제 #20
0
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // call the create prize form
            // Get back from the form a prize
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
            //Take the prize and put it in the List
        }
예제 #21
0
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // Calling the CreatePrizeForm to open it
            // We need to pass in IPrizeRequester for the constructor in CreatePrizeForm
            // "this" represents this specific instance
            CreatePrizeForm form = new CreatePrizeForm(this);

            form.Show();
        }
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            //Call the CreatePrizeForm
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();
            // Get back from the form a PrizeModel
            // Take the PrizeModel and put it into our list selected prizes
        }
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // Call the create prize form
            CreatePrizeForm frm = new CreatePrizeForm(this);

            frm.Show();

            // Get back the prize model
            // Put the prize model into the list of selected prizes
        }
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            // Call the CreatePrizeForm
            CreatePrizeForm frm = new CreatePrizeForm(this); //"this" keyword represent this specific instance

            frm.Show();

            // Get back from the form a  PrizeModel
            // Take the PrizeModel and put it into our list of selected prizes
        }
        private void createPrizeButton_Click(object sender, EventArgs e)
        {
            CreatePrizeForm prizeForm = new CreatePrizeForm(this);

            prizeForm.Show();
        }