CyManager/updateDepot.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BLL;
using Common;
using DA;
namespace CyManager
{
public partial class updateDepot : Form
{
private CDepotStandard cs,newcs;
private int orderId;
private int oldQty11;
private int oldProductId;
private int newProductId;
int oldQty;
public updateDepot()
{
InitializeComponent();
}
public updateDepot(CDepotStandard cd)
{
this.cs = cd;
newcs=new CDepotStandard();
InitializeComponent();
}
private void updateDepot_Load(object sender, EventArgs e)
{
oldQty = cs.Qty11;
try
{
if (BLLDepot.BLLProductQuery(cs.ProductID))
{
txtQty11.Text = cs.Qty11.ToString();
}
List<CProduct> CProductList = new List<CProduct>();
CProductList = BLLProduct.BLLProductQuery();
this.comboProductName.DisplayMember = "ProductName1";//获取产品名称
this.comboProductName.ValueMember = "ProductID1";
this.comboProductName.DataSource = CProductList;
this.comboProductName.SelectedIndex = cs.ProductID-1;//显示产品名称
}
catch (Exception poiuy) { }
}
/// <summary>
/// 确认修改参数
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
后面还有 83 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。