Ejemplo n.º 1
0
        private void btnBTPrinter_Click(object sender, EventArgs e)
        {
            Comm.BT.BTPort   btPort = new Comm.BT.BTPort();
            BluetoothConnect dlg    = new BluetoothConnect(ref btPort);

            dlg.ShowDialog();
        }
Ejemplo n.º 2
0
        public BluetoothConnect(ref Comm.BT.BTPort btport)
        {
            _btport = btport;
            InitializeComponent();
#if DEBUG
            txtBTAddress.Text = "0006660309E8";
#endif
        }
        public BluetoothConnect(ref Comm.BT.BTPort btport)
        {
            _btport = btport;
            InitializeComponent();
#if DEBUG
            txtBTAddress.Text = "0006660309E8";
#endif
        }
Ejemplo n.º 4
0
        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
        }
Ejemplo n.º 5
0
        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
        }
Ejemplo n.º 6
0
        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];
        }
Ejemplo n.º 7
0
        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];
        }
Ejemplo n.º 8
0
 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)
         ;
 }