Esempio n. 1
0
        private void playersToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Hide();
            Playerss playerss = new Playerss();

            playerss.ShowDialog();
            Show();
        }
Esempio n. 2
0
        private void toolStripButton4_Click(object sender, EventArgs e)
        {
            Hide();
            Playerss playerss = new Playerss();

            playerss.ShowDialog();
            Show();
        }
Esempio n. 3
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.playersBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.bDsystemDataSet);

            if (MessageBox.Show("Registro Salvo\nDeseja ir ao Menu?", "Informação", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
            {
                this.Dispose();
                Form1 form1 = new Form1();
                form1.ShowDialog();
            }
            else
            {
                this.Dispose();
                Playerss playerss = new Playerss();
                playerss.ShowDialog();
            }
        }