NewOrderCode/frmOrderCodeSetting.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Windows.Forms;
using Common;
namespace NewOrderCode
{
partial class frmOrderCodeSetting
{
/// <summary>
/// 初始化实例
/// </summary>
/// <param name="VouchType">单据类型</param>
/// <remarks></remarks>
public frmOrderCodeSetting(string VouchType)
{
// 此调用是 Windows 窗体设计器所必需的。
InitializeComponent();
// 在 InitializeComponent() 调用之后添加任何初始化。
this.IniControl();
this.VouchType = VouchType;
}
private string _VouchType;
/// <summary>
/// 单据类型
/// </summary>
/// <value></value>
/// <returns></returns>
/// <remarks></remarks>
private string VouchType
{
get
{
return _VouchType;
}
set
{
_VouchType = value;
global::Variable.OrderCodeRule.OrderCodeInfo mdl = global::Variable.OrderCodeRule.getValue(value);
this.txtPrefixion.Text = mdl.Prefixion;
if (mdl.DatePart == Variable.OrderCodeRule.DatePart.None)
{
this.cboDatePart.Text = "无";
}
else if (mdl.DatePart == Variable.OrderCodeRule.DatePart.YY)
{
this.cboDatePart.Text = "YY";
}
else if (mdl.DatePart == Variable.OrderCodeRule.DatePart.YYMM)
{
this.cboDatePart.Text = "YYMM";
}
else if (mdl.DatePart == Variable.OrderCodeRule.DatePart.YYMMDD)
{
this.cboDatePart.Text = "YYMMDD";
}
else if (mdl.DatePart == Variable.OrderCodeRule.DatePart.YYYY)
后面还有 113 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
