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