Exemple #1
0
        private void listBox1_DoubleClick(object sender, EventArgs e)
        {
            ListBox listBox = (ListBox)sender;

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