Exemplo n.º 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (wmv == null && dataGridView1.Rows.Count != 0)
     {
         wmv      = new EventMV((ulong)dataGridView1.Rows[dataGridView1.CurrentCellAddress.Y].Cells[0].Value, data, this);
         wmv.Text = "Edytuj";
         wmv.Show();
     }
 }
Exemplo n.º 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (wmv == null)
     {
         wmv      = new EventMV(data, this);
         wmv.Text = "Dodaj";
         wmv.Show();
     }
 }