예제 #1
0
 public DrawAddForm(String p_ProductId)
 {
     InitializeComponent();
     m_AllProductService = EAS.Services.ServiceContainer.GetService<IAllProductService>();
     m_Product = m_AllProductService.GetById(p_ProductId);
     this.tsb_type.SelectedIndex = 0;
     DocList_Init();
 }
예제 #2
0
        /// <summary>
        /// 初始化
        /// </summary>
        private void  common_Init(string p_firstId, string p_secondId)
        {
            m_StructService     = EAS.Services.ServiceContainer.GetService <IStructService>();
            m_AllProductService = EAS.Services.ServiceContainer.GetService <IAllProductService>();
            m_firstObj          = m_AllProductService.GetById(p_firstId);
            m_secondObj         = m_AllProductService.GetById(p_secondId);

            this.tb_firstNo.Text      = m_firstObj.PRODUCTNO;
            this.tb_firstMemo.Text    = m_firstObj.MEMO_ZH;
            this.tb_firstVersion.Text = m_firstObj.VERSION;

            this.tb_secondNo.Text      = m_secondObj.PRODUCTNO;
            this.tb_secondMemo.Text    = m_secondObj.MEMO_ZH;
            this.tb_secondVersion.Text = m_secondObj.VERSION;
        }
예제 #3
0
 private void InitList()
 {
     this.m_AllProductService = EAS.Services.ServiceContainer.GetService <IAllProductService>();
     InitGridList();
 }
예제 #4
0
 private void InitList()
 {
     this.m_AllProductService = EAS.Services.ServiceContainer.GetService<IAllProductService>();
     InitGridList();
 }
예제 #5
0
 /// <summary>
 /// //初始化服务类
 /// </summary>
 private void service_Init()
 {
     m_AllProductService = EAS.Services.ServiceContainer.GetService <IAllProductService>();
     m_StructService     = EAS.Services.ServiceContainer.GetService <IStructService>();
     m_proRecordService  = EAS.Services.ServiceContainer.GetService <IProductProRecordService>();
 }
예제 #6
0
        /// <summary>
        /// 初始化
        /// </summary>
        private void common_Init(string p_firstId, string p_secondId)
        {
            m_StructService = EAS.Services.ServiceContainer.GetService<IStructService>();
            m_AllProductService = EAS.Services.ServiceContainer.GetService<IAllProductService>();
            m_firstObj = m_AllProductService.GetById(p_firstId);
            m_secondObj = m_AllProductService.GetById(p_secondId);

            this.tb_firstNo.Text = m_firstObj.PRODUCTNO;
            this.tb_firstMemo.Text = m_firstObj.MEMO_ZH;
            this.tb_firstVersion.Text = m_firstObj.VERSION;

            this.tb_secondNo.Text = m_secondObj.PRODUCTNO;
            this.tb_secondMemo.Text = m_secondObj.MEMO_ZH;
            this.tb_secondVersion.Text = m_secondObj.VERSION;
        }
예제 #7
0
 /// <summary>
 /// //初始化服务类
 /// </summary>
 private void service_Init()
 {
     m_AllProductService = EAS.Services.ServiceContainer.GetService<IAllProductService>();
     m_StructService = EAS.Services.ServiceContainer.GetService<IStructService>();
     m_proRecordService = EAS.Services.ServiceContainer.GetService<IProductProRecordService>();
 }