Exemplo n.º 1
0
        private void buttonAdicionar_Click(object sender, EventArgs e)
        {
            bool Verifica = true;

            FormCadastrarAmigo frm = new FormCadastrarAmigo(Verifica);
            frm.ShowDialog();
        }
Exemplo n.º 2
0
        private void buttonAdicionar_Click(object sender, EventArgs e)
        {
            bool Verifica = true;

            FormCadastrarAmigo frm = new FormCadastrarAmigo(Verifica);

            frm.ShowDialog();
        }
Exemplo n.º 3
0
 private void btAlterar_Click(object sender, EventArgs e)
 {
     string[] dadosDGV = new string[10];
     for (int I = 0; I < dGridViewListaNomes.ColumnCount; I++)
     {
          dadosDGV[I] = dGridViewListaNomes.CurrentRow.Cells[I].Value.ToString();
     }
         FormCadastrarAmigo frm = new FormCadastrarAmigo(dadosDGV);
         frm.Show();
 }
Exemplo n.º 4
0
        private void btAlterar_Click(object sender, EventArgs e)
        {
            string[] dadosDGV = new string[10];
            for (int I = 0; I < dGridViewListaNomes.ColumnCount; I++)
            {
                dadosDGV[I] = dGridViewListaNomes.CurrentRow.Cells[I].Value.ToString();
            }
            FormCadastrarAmigo frm = new FormCadastrarAmigo(dadosDGV);

            frm.Show();
        }
 private void amigoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FormCadastrarAmigo abrir = new FormCadastrarAmigo();
     abrir.Show();
 }