private void btnBTPrinter_Click(object sender, EventArgs e) { Comm.BT.BTPort btPort = new Comm.BT.BTPort(); BluetoothConnect dlg = new BluetoothConnect(ref btPort); dlg.ShowDialog(); }
public BluetoothConnect(ref Comm.BT.BTPort btport) { _btport = btport; InitializeComponent(); #if DEBUG txtBTAddress.Text = "0006660309E8"; #endif }
public BluetoothConnect(ref Comm.BT.BTPort btport) { PriceMarkdown.ResClass2 _resClass = PriceMarkdown.ResClass2.getInstance(); _resClass.colorizeForm(this); _btport = btport; InitializeComponent(); #if DEBUG txtBTAddress.Text = "000666025f1d"; #endif }
public frmPrint(ref Comm.BT.BTPort btPort, ref System.IO.Ports.SerialPort serPort, int iLang) { InitializeComponent(); _iLang = iLang; _btPort = btPort; _serPort = serPort; res = ResClass2.getInstance(); res.colorizeForm(this); lblOldPrice.Text = res._labelsText(ResClass2.frmPrintText.oldPrice, iLang); lblNewPrice.Text = res._labelsText(ResClass2.frmPrintText.newPrice, iLang); btnPrint.Text = res._labelsText(ResClass2.frmPrintText.printButton, iLang); varLabel = res._reducedText(iLang);// getVarLabel(iLang); lblCurrencyOld.Text = ResClass2.sCurrency[iLang]; lblCurrencyNew.Text = ResClass2.sCurrency[iLang]; }
private void btnBTPrinter_Click(object sender, EventArgs e) { Comm.BT.BTPort btPort = new Comm.BT.BTPort(); BluetoothConnect dlg = new BluetoothConnect(ref btPort); dlg.ShowDialog(); if (dlg.DialogResult == DialogResult.OK) ; }