Esempio n. 1
0
        private void trans_Click_1(object sender, EventArgs e)
        {
            var transForm = new transfer();

            transForm.Show();
            this.Hide();
        }
Esempio n. 2
0
        private void submit_Click(object sender, EventArgs e)
        {
            int value = Convert.ToInt32(txtInvoer.Text);

            var pinnen = new transfer();

            pinnen.Show();
            this.Hide();


            if (mainUser.addBalance(value) == true)
            {
                if (mainUser.blockedCard() == false)
                {
                    if (value >= 500)
                    {
                        fout.Visible = true;
                    }
                    else
                    {
                        mainUser.transferMoney(value);
                        mainUser.transferLogs(value);
                    }
                }
                else
                {
                    // dont die
                }

                //epic
            }
            else
            {
                //not epic
            }
        }