public HastaBilgileriFrm(int hastaID) { InitializeComponent(); hasta = new HastaEntities(); hastaController = new HastaController(); tempHastaID = hastaID; }
public MainFrm() { InitializeComponent(); hastaController = new HastaController(); doktorController = new DoktorController(); eczaciController = new EczaciController(); login = new LoginDTO(); }
public HastaFrm(int hastaID) { InitializeComponent(); hastaController = new HastaController(); hasta = new HastaEntities(); hasta = hastaController.GetHasta(hastaID); labelHasta.Text = "Sn. " + hasta.Adi + " " + hasta.Soyadi; _hastaID = hastaID; }
public DoktorFrm(int doktorID) { InitializeComponent(); doktorController = new DoktorController(); randevuController = new RandevuController(); hastaController = new HastaController(); muayeneController = new MuayeneController(); departmanController = new DepartmanController(); departman = new DepartmanEntities(); doktor = new DoktorEntities(); randevu = new RandevuEntities(); hasta = new HastaEntities(); randevus = new List <RandevuHastaDTO>(); muaneler = new List <HastaMuaneleriDTO>(); doktor = doktorController.GetDoktor(doktorID); departman = departmanController.IDyeGoreDepartmanGetir(doktor.DepartmanID); labelDoktor.Text = departman.DepartmanAdi + " Uzmanı Dr. " + doktor.Adi + " " + doktor.Soyadi; gBoxMuaneSorgula.Hide(); gBoxHesapBilgileri.Hide(); gBoxCalismaGunu.Hide(); }
public KayıtFrm() { InitializeComponent(); hastaController = new HastaController(); }