public MainFrm() { InitializeComponent(); hastaController = new HastaController(); doktorController = new DoktorController(); eczaciController = new EczaciController(); login = new LoginDTO(); }
public EczaciFrm(int eczaciID) { InitializeComponent(); _receteController = new ReceteController(); receteIlaclari = new List <ReceteIlaclariDTO>(); hastaReceteleri = new List <HastayaGoreReceteDTO>(); eczaciController = new EczaciController(); eczaci = new EczaciEntities(); eczaci = eczaciController.GetEczaci(eczaciID); labelEczaci.Text = "Eczaci " + eczaci.Adi + " " + eczaci.Soyadi; }