This commit is contained in:
Maff 2019-09-19 00:58:48 +01:00
parent d8fa08de75
commit b1f08472da
2 changed files with 7 additions and 3 deletions

View File

@ -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();

View File

@ -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() {