MES/BusinessManger/QuantityTestManger/Purchase_QuantityTest_List.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
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.QuantityTestManger
{
public partial class Purchase_QuantityTest_List : FartherWindow
{
public Purchase_QuantityTest_List()
{
InitializeComponent();
}
#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//具体的操作方法
private void OpearterData(OperationMessageType operationMessageType)
{
T_Purchase_Quantity info = new T_Purchase_Quantity();
switch (operationMessageType)
{
#region //添加窗体
case OperationMessageType.CommonAdd:
Purchase_QuantityTest_Form purchase_Form = new Purchase_QuantityTest_Form();
purchase_Form.Text = "质检添加";
purchase_Form.CurrentUser = this.CurrentUser;
purchase_Form.CurrentType = operationMessageType;
if (purchase_Form.ShowDialog() != DialogResult.OK)
return;
QueryDataList();
break;
#endregion
#region //修改删除
case OperationMessageType.CommonEdit:
case OperationMessageType.CommonDelete:
DataRow _dataRow = gridViewBase.GetDataRow(gridViewBase.FocusedRowHandle);
if (_dataRow == null)
{
后面还有 105 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
