MES/BusinessManger/SaleOutWareHouseManger/SaleBillOutWareHouse_Form.cs
(开头部分) 13KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using DevExpress.XtraGrid.Views.Grid;
using MES.BaseOperater;
using MES.BLL.BusinessBLL;
using MES.Model;
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;
using WRZS.Common.Common;
namespace MES.BusinessManger.SaleOutWareHouseManger
{
public partial class SaleBillOutWareHouse_Form : Form
{
public SaleBillOutWareHouse_Form()
{
InitializeComponent();
}
#region //设置对象
public T_SaleOut_WareHouse CurrentEntity { get; set; }
public OperationMessageType CurrentType { get; set; }
public T_User CurrentUser { get; set; }
public List<T_SaleOut_WareHouse_Detail> list { get; set; }
public DataTable SaleBillDetailDataTable { get; set; }
#endregion
#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();
}
}
#endregion
#region//保存信息,更新 添加信息
protected override void OnClosing(CancelEventArgs e)
{
if (DialogResult != DialogResult.OK) return;
if (string.IsNullOrWhiteSpace(txtSaleBillOut_Code.Text))
{
MessageBoxHelper.ShowError("入库编码不能为空!");
e.Cancel = true;
return;
}
if (searchStore.EditValue == null)
{
MessageBoxHelper.ShowError("仓位名称不能为空!");
e.Cancel = true;
return;
}
int iGridViewCount = gridControlBase.DefaultView.RowCount;
if (iGridViewCount == 0)
{
后面还有 239 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
