fgghj
This commit is contained in:
parent
d8fa08de75
commit
b1f08472da
|
@ -73,8 +73,12 @@ namespace libsharperang {
|
|||
public List<UsbRegistry> Devices;
|
||||
|
||||
public USBPrinter() {
|
||||
ActiveConnectionType=ConnectionType.USB;
|
||||
ImageWidth=72;
|
||||
ActiveConnectionType = ConnectionType.USB;
|
||||
ImageWidth = 72;
|
||||
}
|
||||
public USBPrinter(int w) {
|
||||
ActiveConnectionType = ConnectionType.USB;
|
||||
ImageWidth = w;
|
||||
}
|
||||
~USBPrinter() {
|
||||
Close();
|
||||
|
|
|
@ -10,7 +10,7 @@ using System.IO;
|
|||
namespace sharperang {
|
||||
public partial class MainWindow : Window {
|
||||
private LogBridge logger;
|
||||
private USBPrinter printer=new USBPrinter();
|
||||
private USBPrinter printer=new USBPrinter(48);
|
||||
private Bitmap bimg;
|
||||
|
||||
public MainWindow() {
|
||||
|
|
Loading…
Reference in New Issue