public DocumentTransmitter(IImagesDal imagesDal, IVaulter vaulter, IXmitRequestDal xmitRequestDal, TransmitDestination transmitDestination = null) { this.imagesDal = imagesDal; this.transmitDestination = transmitDestination; this.vaulter = vaulter; this.xmitRequestDal = xmitRequestDal; }
public InboundQTabPnll(string pSqlConnectionString, string pUserId) { TabFilter = ""; DefaultView = null; CptyLkupTable = null; InitializeComponent(); sqlConnectionString = pSqlConnectionString; imagesDal = new ImagesDal(sqlConnectionString); this.Dock = DockStyle.Fill; p_UserId = pUserId; inboundDocsDal = new InboundDocsDal(sqlConnectionString); vaulter = new Vaulter(sqlConnectionString); xmitRequestDal = new XmitRequestDal(sqlConnectionString); }
public ImageManager(IImagesDal imagesDal) { _imagesDal = imagesDal; }
public InboundPnl(string pSqlConnectionString, ref DSManager dsManager, ref DataSet masterDataSet, IsDocumentModifiedDelegate isDocumentModified) { CdtyCodeTbl = null; UserUpdateAccces = false; try { sqlConnectionString = pSqlConnectionString; DsManager = dsManager; InboundPnl.masterDataSet = masterDataSet; IsDocumentEdited = isDocumentModified; InitializeComponent(); mImagesDal = new ImagesDal(pSqlConnectionString); vaulter = new Vaulter(pSqlConnectionString); xmitRequestDal = new XmitRequestDal(pSqlConnectionString); //Israel 12/16/2015 -- Implement configurable root directory. string configFileRootDir = InboundSettings.UserSettingsRootDir; if (String.IsNullOrEmpty(configFileRootDir)) { configFileRootDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); } else { string pathUserId = GetUserNameWithoutDomain(p_UserId); configFileRootDir = Path.Combine(configFileRootDir, pathUserId); } string roamingFolderLocation = Path.Combine(configFileRootDir, PRODUCT_COMPANY, PRODUCT_BRAND, PRODUCT_GROUP); //var roamingFolderLocation = // Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), // PRODUCT_COMPANY, PRODUCT_BRAND, PRODUCT_GROUP); appSettingsDir = Path.Combine(roamingFolderLocation, PRODUCT_NAME, PRODUCT_SETTINGS); appTempDir = Path.Combine(roamingFolderLocation, PRODUCT_NAME, PRODUCT_TEMP); if (!Directory.Exists(appSettingsDir)) { Directory.CreateDirectory(appSettingsDir); } if (!Directory.Exists(appTempDir)) { Directory.CreateDirectory(appTempDir); } Dock = DockStyle.Fill; xtraTabCntrlInboundDocs.HeaderLocation = TabHeaderLocation.Left; xtraTabCntrlInboundDocs.HeaderOrientation = TabOrientation.Horizontal; //InitWebServices(); AddInboundDocQPnl(DEFAULTDOCS); AddInboundDocQPnl(DISCARDEDDOCS); AddInboundDocQPnl(IGNOREDDOCS); InitMasterDataSet(); RegisterGrids(); LoadGridSettings(); barEditDocumentView.EditValue = "All"; } catch (Exception ex) { //throw ex; throw new Exception("An error occurred while constructing the Inbound Panel." + Environment.NewLine + "Error CNF-428 in " + FORM_NAME + ".InboundPnl(): " + ex.Message); } }
public ImagesManager(IImagesDal carImageDAL) { _carImageDAL = carImageDAL; }
public ImagesManager(IImagesDal filmImagesDal) { _filmImagesDal = filmImagesDal; }