WinPSI/BM/FrmPayFor.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using PSI.BLL;
using PSI.Models.DModels;
using WinPSI.FModels;
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 PSI.Models.UIModels;
using WinPSI.Perchase;
using WinPSI.Sale;
namespace WinPSI.BM
{
public partial class FrmPayFor : Form
{
public FrmPayFor()
{
InitializeComponent();
}
//设置付款
public event Action SetPayInfo;//设置付款信息
private PayBLL payBLL = new PayBLL();
private string paytype = "";
private Form fInfo = null;
private string strPayFor = "";
private void FrmPayFor_Load(object sender, EventArgs e)
{
if (this.Tag != null)
{
PayModel pModel = this.Tag as PayModel;
if (pModel != null)
{
paytype = pModel.PayType;
fInfo = pModel.FGet;
strPayFor = pModel.StrPayFor;
}
List<PayInfoModel> payList = payBLL.GetFirstPayInfos(paytype, strPayFor);
dgvPay.AutoGenerateColumns = false;
dgvPay.DataSource = payList;
if (string.IsNullOrEmpty(strPayFor))
{
lblTotal.Text = "0";
}
else
lblTotal.Text = GetTotal(payList).ToString();
}
}
/// <summary>
/// 总计金额
/// </summary>
/// <param name="payList"></param>
/// <returns></returns>
后面还有 60 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。