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);
 }
        public frmDizaynGenel(int dizaynNo)
        {
            InitializeComponent();
            mng            = new ManagerFactory(Engine.GetConString(), Engine.GetSqlServerType());
            mngDizaynGenel = mng.GetDizaynGenelManager();
            _dizaynNo      = dizaynNo;



            frmLogin.CheckForIllegalCrossThreadCalls = false;
            ThreadStart ths = new ThreadStart(LoadYaziciListesi);

            th = new Thread(ths);
            th.Start();
            SetDatalari();
            //LoadYaziciListesi();
        }