Exemple #1
0
        private void playersToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Hide();
            Playerss playerss = new Playerss();

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

            playerss.ShowDialog();
            Show();
        }
        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();
            }
        }