示例#1
0
 public MainFrm()
 {
     InitializeComponent();
     hastaController  = new HastaController();
     doktorController = new DoktorController();
     eczaciController = new EczaciController();
     login            = new LoginDTO();
 }
示例#2
0
 public RandevuFrm(int hastaID)
 {
     InitializeComponent();
     _hastaneController             = new HastaneController();
     _poliklinikController          = new PoliklinikController();
     _departmanController           = new DepartmanController();
     _poliklinikDepartmanController = new PoliklinikDepartmanController();
     _doktorController  = new DoktorController();
     _randevuController = new RandevuController();
     _hastaID           = hastaID;
 }
示例#3
0
        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();
        }