Exemplo n.º 1
0
 public DocAddForm(String p_ProductId)
 {
     InitializeComponent();
     m_AllPartsService = EAS.Services.ServiceContainer.GetService<IAllPartsService>();
     m_Product = m_AllPartsService.GetById(p_ProductId);
     this.tsb_type.SelectedIndex = 0;
     DocList_Init();
 }
Exemplo n.º 2
0
        /// <summary>
        /// 初始化
        /// </summary>
        private void  common_Init(string p_firstId, string p_secondId)
        {
            m_StructService   = EAS.Services.ServiceContainer.GetService <IStructService>();
            m_AllPartsService = EAS.Services.ServiceContainer.GetService <IAllPartsService>();
            m_firstObj        = m_AllPartsService.GetById(p_firstId);
            m_secondObj       = m_AllPartsService.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;
        }
Exemplo n.º 3
0
 private void InitList()
 {
     this.m_AllPartsService = EAS.Services.ServiceContainer.GetService <IAllPartsService>();
     InitGridList();
 }
Exemplo n.º 4
0
 private void InitList()
 {
     this.m_AllPartsService = EAS.Services.ServiceContainer.GetService<IAllPartsService>();
     InitGridList();
 }
Exemplo n.º 5
0
 /// <summary>
 /// //初始化服务类
 /// </summary>
 private void service_Init()
 {
     m_AllPartsService  = EAS.Services.ServiceContainer.GetService <IAllPartsService>();
     m_StructService    = EAS.Services.ServiceContainer.GetService <IStructService>();
     m_proRecordService = EAS.Services.ServiceContainer.GetService <IProductProRecordService>();
 }
Exemplo n.º 6
0
        /// <summary>
        /// 初始化
        /// </summary>
        private void common_Init(string p_firstId, string p_secondId)
        {
            m_StructService = EAS.Services.ServiceContainer.GetService<IStructService>();
            m_AllPartsService = EAS.Services.ServiceContainer.GetService<IAllPartsService>();
            m_firstObj = m_AllPartsService.GetById(p_firstId);
            m_secondObj = m_AllPartsService.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;
        }
Exemplo n.º 7
0
 /// <summary>
 /// //初始化服务类
 /// </summary>
 private void service_Init()
 {
     m_AllPartsService = EAS.Services.ServiceContainer.GetService<IAllPartsService>();
     m_StructService = EAS.Services.ServiceContainer.GetService<IStructService>();
     m_proRecordService = EAS.Services.ServiceContainer.GetService<IProductProRecordService>();
 }