CyManager/UCancelSure.cs

(开头部分) 9KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Printing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BLL;
using Common;

namespace CyManager
{
    public partial class UCancelSure : Form
    {
        private COpenBills bills;
        private PrintPreviewDialog ppd = new PrintPreviewDialog();
        private PrintDialog pdg = new PrintDialog();
        private PrintDocument pd = new PrintDocument();
        private PageSetupDialog psd = new PageSetupDialog();

        public event UpdateBills updateBills;

        public UCancelSure(COpenBills bills)
        {
            InitializeComponent();
            pd.PrintPage += new PrintPageEventHandler(printDocument1_PrintPage);
            pdg.Document = pd;
            //pd.OriginAtMargins = true;
            //ppd.UseAntiAlias = true;
            ppd.Document = pd;
            this.bills = bills;
            TbId.Text = bills.CobId1;
            TbType.Text = bills.TName;
            TbOpMoney.Text = string.Format("{0:N}",bills.CopMoney1);
            TbClientPay.Text = string.Format("{0:N}", bills.CopClientPay1);
            //如果是会员,实收金额为0 这时候 实收为应收的金钱
            if (bills.CopClientPay1 <= 0)
            {
                bills.CopClientPay1 = bills.CopClientPay1;
            }
            TbBack.Text = string.Format("{0:N}", bills.CopClientPay1);
        }

        private void BtnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private DataSet memberSet;

        private void BtnSure_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(TbRemark.Text))
            {
                MessageBox.Show("请输入退单说明!");
                return;
            }
            CUsers u = new CUsers();
后面还有 172 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。