Beispiel #1
0
        private void düzenleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Randevu seciliRandevu       = (Randevu)listView1.FocusedItem.Tag;
            frmRandevuEkleDoktorSec frm = new frmRandevuEkleDoktorSec();

            frm.Tag = seciliRandevu;
            frm.ShowDialog();
        }
 private void button1_Click_1(object sender, EventArgs e)
 {
     try
     {
         frmRandevuEkleDoktorSec frm = new frmRandevuEkleDoktorSec();
         frm.Tag = (Hasta)lstHastalar.FocusedItem.Tag;
         frm.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }