MES/BusinessManger/ProductInWareHouseManager/SelectProductInWareHouse_Form.cs

(开头部分) 2KB

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

using MES.BaseOperater;
using MES.BLL.BusinessBLL;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MES.BusinessManger.ProductInWareHouseManager
{
    public partial class SelectProductInWareHouse_Form : Form
    {
        public DataTable SelectProductInWareHouseTable { get; set; }

        public SelectProductInWareHouse_Form()
        {
            InitializeComponent();
        }
        #region //显示查询数据
        private void btnCheck_Click(object sender, EventArgs e)
        {
            StringBuilder strBuilder = new StringBuilder();
            strBuilder.Append(" and a.create_time between '" + dateStart.Text + "' and '" + dateEnd.Text + "'");
            strBuilder.Append(" and a.ProductInWareHouse_Type=1 order by a.create_time desc");

            int index = gridViewBase.FocusedRowHandle;
            gridControlBase.DataSource = new ProductInWareHouseBLL().GetProductInWareHouseListByCondtion(strBuilder.ToString());
            gridViewBase.FocusedRowHandle = index;
        }
        #endregion

        private void btnSelect_Click(object sender, EventArgs e)
        {

        }

        #region //显示行号
        private void gridViewBase_CustomDrawRowIndicator(object sender, DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e)
        {
            if (e.Info.IsRowIndicator && e.RowHandle > -1)
            {
                e.Info.DisplayText = (e.RowHandle + 1).ToString();
            }
        }
        //显示行号
        private void gridViewMaterial_CustomDrawRowIndicator(object sender, DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e)
        {
            if (e.Info.IsRowIndicator && e.RowHandle > -1)
            {
                e.Info.DisplayText = (e.RowHandle + 1).ToString();
            }
        }
        #endregion
        #region //根据入库单显示明细信息
        private void gridViewBase_RowClick(object sender, DevExpress.XtraGrid.Views.Grid.RowClickEventArgs e)
        {
后面还有 14 行代码,购买后查看完整代码

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

AI 解读

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

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