CyManager/Print/Form1.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Print
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
// private TemplateItemList gtempItemList = default(TemplateItemList);
///保存出来的模板????打印时候的树状结构
Common.gConfigInfo = Common.GetCfgInfo(Application.StartupPath + "\\tmpcfg.cfg");
///数据库中来的订单数据。
Common.gDataInfo = Common.GetPrintData(Application.StartupPath + "\\mydata.pf");
Common.gExpandNum = (float)((double)Screen.GetWorkingArea(this).Width * 4.0 / 1280.0);
}
private void button2_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("PrintTemplateManager.exe");
}
private void button1_Click_1(object sender, EventArgs e)
{
PrintViewtttt printView = new PrintViewtttt();
if (Common.PrintWidth == "80")
{
printView.SetParam(60, Application.StartupPath + "\\templates\\payment_kc.tpl");
}
else
{
printView.SetParam(60, Application.StartupPath + "\\templates\\payment_kc_58.tpl");
}
printView.ShowDialog();
}
private void button3_Click(object sender, EventArgs e)
{
后面还有 21 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。