Esempio n. 1
0
        public Form1()
        {
            InitializeComponent();
            _resClass = ResClass2.getInstance();
            _resClass.colorizeForm(this);

            pictureBox1.Image    = _resClass.getImage();
            mnuConnectBT.Enabled = false;   //currently no BT direct socket printing
        }
Esempio n. 2
0
        public Form1()
        {
            InitializeComponent();
            _resClass = ResClass2.getInstance();
            _resClass.colorizeForm(this);

            pictureBox1.Image = _resClass.getImage();
            mnuConnectBT.Enabled = false;   //currently no BT direct socket printing
        }
Esempio n. 3
0
        public frmLanguage(ref SerialPort sp, ref BTPort bt)
        {
            InitializeComponent();
            _sp = sp;
            _bt = bt;
            ResClass2 res = ResClass2.getInstance();

            res.colorizeForm(this);

            btnLangDE.Text = res._buttonTexts[0];
            btnLangEN.Text = res._buttonTexts[1];
            btnLangES.Text = res._buttonTexts[2];
        }
Esempio n. 4
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];
        }
Esempio n. 5
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];
        }