36 lines
800 B
C#
36 lines
800 B
C#
|
|
using System;
|
|||
|
|
using System.Drawing;
|
|||
|
|
using System.Collections;
|
|||
|
|
using System.ComponentModel;
|
|||
|
|
using DevExpress.XtraReports.UI;
|
|||
|
|
|
|||
|
|
namespace WMS.FrmPrint
|
|||
|
|
{
|
|||
|
|
public partial class BarCodeReport : DevExpress.XtraReports.UI.XtraReport
|
|||
|
|
{
|
|||
|
|
public BarCodeReport()
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
InitializeComponent();
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 实例化BarCodeReport的一个对象
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns>BarCodeReport对象</returns>
|
|||
|
|
public void GetInstance(string barCodeText,float barCodeModule)
|
|||
|
|
{
|
|||
|
|
lock (this)
|
|||
|
|
{
|
|||
|
|
lblBarCodeText.Text = barCodeText;
|
|||
|
|
lblBarCodeText.Module = barCodeModule;
|
|||
|
|
this.Print();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|