Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (wmv == null)
     {
         wmv      = new EventMV(data, this);
         wmv.Text = "Dodaj";
         wmv.Show();
     }
 }
Exemple #2
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();
     }
 }
Exemple #3
0
 public void deleteSmallWindow()
 {
     wmv = null;
 }