Пример #1
0
 public frmDizaynKalem(int genelNo)
 {
     InitializeComponent();
     _genelNo       = genelNo;
     mng            = new ManagerFactory(Engine.GetConString(), Engine.GetSqlServerType());
     mngDizaynKalem = mng.GetDizaynKalemManager();
     LoadKalemList();
 }
Пример #2
0
 public PrintFatIrs(IManagerFactory mngFac, FatIrsUst fatIrsUst, Dizayn dizayn, IList <StokHarRpr> stokListe, HesaplaGenelToplam genelToplam)
 {
     _mngFac      = mngFac;
     _fatIrsUst   = fatIrsUst;
     _dizayn      = dizayn;
     _genelToplam = genelToplam;
     _stokListe   = stokListe;
     _mngDizGenel = _mngFac.GetDizaynGenelManager();
     _mngCari     = _mngFac.GetCariManager();
     _mngCariHar  = _mngFac.GetCariHareketManager();
     _mngKal      = _mngFac.GetDizaynKalemManager();
     if (_fatIrsUst.KdvDahilmi.Value)
     {
         ChangePrice();
     }
     printDoc.PrintPage += new PrintPageEventHandler(OnPrintDoc);
 }