Example #1
0
 public FormPersonelGoruntule(int olusturanPersonel)
 {
     InitializeComponent();
     _unC    = new UnvanController();
     _depC   = new DepartmanController();
     _pc     = new PersonelController();
     _pgDTOc = new PersonelGoruntuleDTOController();
     _persID = olusturanPersonel;
     _cc     = new CariUyeController();
     _pitc   = new PersonelIsTanimController();
     _cubc   = new CariUyeBilgileriController();
 }
Example #2
0
 public FormPersonelEkle(int olusturanPersenel)
 {
     InitializeComponent();
     _pcDtoCon = new PersonelCariDtoController();
     _pcDto    = new PersonelCariDTO();
     _uc       = new UnvanController();
     _dc       = new DepartmanController();
     _pc       = new PersonelController();
     _btc      = new BankaTanimController();
     _pcDto.OlusturanPersonelID = olusturanPersenel;
     Helper.BindComboBox <Unvan>(_uc.GetUnvan(), cmbUnvan, "GorevAdi", "Id");
     Helper.BindComboBox <Departman>(_dc.AktifDepartmanlariGetir(), cmbDepartman, "DepartmanAdi", "Id");
     Helper.BindComboBox <Personel>(_pc.AktifPersonelleriGetir(), cmbYonetici, "FullName", "Id");
     Helper.BindComboBox <BankaTanim>(_btc.AktifBankaGetir(), cmbBankaAdi, "BankaAdi", "ID");
     cmbUnvan.SelectedIndex     = -1;
     cmbDepartman.SelectedIndex = -1;
     cmbYonetici.SelectedIndex  = -1;
     cmbBankaAdi.SelectedIndex  = -1;
 }
Example #3
0
 public FormUnvanEkleSil(int personelId)
 {
     InitializeComponent();
     _unvan = new UnvanController();
     islemiYapanPersonlId = personelId;
 }