LindonSoft.Amico.UILayer/Buy/frmBuyMaterial.cs

(开头部分) 20KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace LindonSoft.Amico.UILayer
{
    using LindonSoft.Amico.BULayer;
    using LindonSoft.Amico.BULayer.Schema;
    using LindonSoft.Common.BULayer;
    using LindonSoft.SubstrateLayer.DALayer;

    public partial class frmBuyMaterial : Form, IPage
    {
        public frmBuyMaterial()
        {
            InitializeComponent();
        }

        public string BuyMaterialID = string.Empty;

        public string SupplierID = string.Empty;

        public string SupplierName = string.Empty;

        public string MerchandisID = string.Empty;

        #region IPage 成员

        public void Add()
        {
            this.xtraTabControl1.SelectedTabPageIndex = 1;
            this.ClearText();
        }

        public void Edit()
        {
            if (this.gridView1.FocusedRowHandle < 0)
            {
                return;
            }
            this.xtraTabControl1.SelectedTabPageIndex = 1;
            this.BuyMaterialID = this.gridView1.GetDataRow(this.gridView1.FocusedRowHandle)[T_BuyMaterial.ID].ToString();
            this.SupplierID = this.gridView1.GetDataRow(this.gridView1.FocusedRowHandle)[T_BuyMaterial.SUPPLIERID].ToString();
            this.SupplierName = this.gridView1.GetDataRow(this.gridView1.FocusedRowHandle)["SUPPLIERNAME"].ToString();
            this.txtsupplier.Text = this.SupplierName;
            this.MerchandisID = this.gridView1.GetDataRow(this.gridView1.FocusedRowHandle)[T_BuyMaterial.MERCHANDISEID].ToString();
            T_MerchandiseManager _Manager = new T_MerchandiseManager();
            _Manager.Get(null, this.MerchandisID);
            this.txtCode.Text = _Manager.CODE;
            this.txtFullName.Text = _Manager.FULLNAME;
            this.txtBigType.Text = _Manager.BIGTYPE;
            this.txtType.Text = _Manager.TYPE;
            this.txtSpec.Text = _Manager.SPEC;
            this.txtMaterial.Text = _Manager.MATERIAL;
            this.txtProduce.Text = _Manager.PROCEDURENAME;
后面还有 453 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。