Esempio n. 1
0
        private void listBox1_DoubleClick(object sender, EventArgs e)
        {
            ListBox listBox = (ListBox)sender;

            cardForm.UpdateForm((MedicalCard)listBox.SelectedItem);
            cardForm.ShowDialog();
        }
Esempio n. 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     cardForm.UpdateForm(current);
     cardForm.ShowDialog();
 }