Пример #1
0
        public frmAddDesign()
        {
            InitializeComponent();
            ManufacturerTable ma = new ManufacturerTable();
            GroupTable        gr = new GroupTable();

            Suport.FillCombox(cmbGroup, gr.GetTable(), "describeGroup", "coudeGroup");
            Suport.FillCombox(cmbManufactore, ma.GetTable(), "nameManufacturer", "coudeManufacturer");
        }
Пример #2
0
        public void Initialice(string applicationPath, string applicationDataPath)
        {
            this.m_comLockObj          = Guid.NewGuid();
            this.m_applicationPath     = applicationPath;
            this.m_applicationDataPath = applicationDataPath;

            this.m_masterData = new Working.MasterData();
            this.m_supplier   = new Working.Supplier();
            this.m_position   = new Working.Positions();

            this.m_materialCategoryTable = BasicTable.OpenDataTable <MaterialCategoryTable>(applicationDataPath);
            this.m_manufacturerTable     = BasicTable.OpenDataTable <ManufacturerTable>(applicationDataPath);
            this.m_supplierTable         = BasicTable.OpenDataTable <SupplierTable>(applicationDataPath);
            this.m_positionsTable        = BasicTable.OpenDataTable <PositionsTable>(applicationDataPath);
        }