E3.Utility/clsPrintBarCode.cs

(开头部分) 4KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace E3.Utility
{
    public class clsPrintBarCode
    {
        public static bool PrintBarCode(string productcode, string cupname, string sizename, string colorname, string mbarcode, string price, bool NotNeedPrice, bool NotNeedColor, bool IsZP)
        {
            bool ret = false;
            BarTender.Application btApp = new BarTender.Application();
            BarTender.Format btFormat = new BarTender.Format();
            string strBarCode = string.Empty;
            string strSpecifition = string.Empty;
            string strRealPrice = string.Empty;
            if (IsZP)
            {
                strRealPrice = "赠品";
            }
            else
            {
                strRealPrice = "¥" + price;
            }
            if (cupname != "无")
            {
                if (colorname != "无")
                {
                    if (!NotNeedColor)
                    {
                        if (productcode.Substring(1, 1) == "K")
                        {
                            strSpecifition = sizename + "/" + colorname;
                        }
                        else
                        {
                            strSpecifition = cupname + sizename + "/" + colorname;
                        }
                        
                    }
                    else
                    {
                        if (productcode.Substring(1, 1) == "K")
                        {
                            strSpecifition = sizename;
                        }
                        else
                        {
                            strSpecifition = cupname + sizename;
                        }

                        
                    }
                }
                else
                {
                    if (productcode.Substring(1, 1) == "K")
                    {
后面还有 67 行代码,购买后查看完整代码

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

AI 解读 AI

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

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