嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559
本次赞助数额为: 4 元微信扫码支付:4 元
请留下您的邮箱,我们将在2小时内将文件发到您的邮箱
门诊就诊号条形码打印
public Form1()
{
InitializeComponent();
}
private DocementBase _docement;
private BarCodeClass bcc = new BarCodeClass();
private void button1_Click(object sender, EventArgs e)
{
bcc.CreateBarCode(pictureQR, textQrString.Text);
}
private void Form1_Load(object sender, EventArgs e)
{
textQrString.Text = System.DateTime.Now.ToString("yyyyMMddhhmmss").Substring(0, 12);
}
private void button2_Click(object sender, EventArgs e)
{
bcc.CreateQuickMark(pictureQR, textQrString.Text);
}
private void button3_Click(object sender, EventArgs e)
{
if (pictureQR.Image == null)
{
MessageBox.Show("请录入图像后再进行解码!");
return;
}
BarcodeReader reader = new BarcodeReader();
Result result = reader.Decode((Bitmap)pictureQR.Image);
MessageBox.Show(result.Text);
}
//打印
private void button4_Click(object sender, EventArgs e)
{
if (pictureQR.Image == null)
{
MessageBox.Show("You Must Load an Image first!");
return;
}
else
{
_docement = new imageDocument(pictureQR.Image);
}
DialogResult regult = _docement.printsetup();
if (regult == DialogResult.OK)
{
DialogResult regult2 = _docement.ShowPageSettingsDialog();
if (regult2 == DialogResult.OK)
{
_docement.showPrintPreviewDialog();
}
return;
}
.
├── 好例子网_门诊就诊号条形码打印.rar
└── 门诊就诊号条形码打印
├── 门诊就诊号条形码打印
│ ├── App.config
│ ├── BarCodeClass.cs
│ ├── DocementBase.cs
│ ├── Form1.Designer.cs
│ ├── Form1.cs
│ ├── Form1.resx
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── bin
│ │ ├── Debug
│ │ │ ├── zxing.dll
│ │ │ ├── 门诊就诊号条形码打印.exe
│ │ │ ├── 门诊就诊号条形码打印.exe.config
│ │ │ ├── 门诊就诊号条形码打印.pdb
│ │ │ ├── 门诊就诊号条形码打印.vshost.exe
│ │ │ └── 门诊就诊号条形码打印.vshost.exe.config
│ │ └── Release
│ ├── imageDocument.cs
│ ├── obj
│ │ └── Debug
│ │ ├── DesignTimeResolveAssemblyReferences.cache
│ │ ├── DesignTimeResolveAssemblyReferencesInput.cache
│ │ ├── TempPE
│ │ ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│ │ ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│ │ ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│ │ ├── 门诊就诊号条形码打印.Form1.resources
│ │ ├── 门诊就诊号条形码打印.Properties.Resources.resources
│ │ ├── 门诊就诊号条形码打印.csproj.FileListAbsolute.txt
│ │ ├── 门诊就诊号条形码打印.csproj.GenerateResource.Cache
│ │ ├── 门诊就诊号条形码打印.csprojResolveAssemblyReference.cache
│ │ ├── 门诊就诊号条形码打印.exe
│ │ └── 门诊就诊号条形码打印.pdb
│ ├── zxing.dll
│ └── 门诊就诊号条形码打印.csproj
├── 门诊就诊号条形码打印.sln
└── 门诊就诊号条形码打印.v12.suo
9 directories, 36 files