Exemple #1
0
        public frmMainMenu()
        {
            this.Enabled = false;

            InitializeComponent();

            base.UpdateResourcesInForm(GlobalVariable.LanguageSelect);
            FullScreenHandle.StartFullScreen(this);

            this.lblVersion.Text = string.Format("V. {0}",
                                                 System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString());
            this.lblIPAddress.Text = "IP: " + string.Format("{0}", GlobalVariable.GetIPAddress());
        }
Exemple #2
0
        public frmMixing()
        {
            InitializeComponent();
            this.InitialClearDataInform();

            base.UpdateResourcesInForm(GlobalVariable.LanguageSelect);

            try
            {
                this.MsgWin              = new MsgWindow();
                this.MsgWin.BarcodeRead += new Action(MsgWin_BarcodeRead);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

            FullScreenHandle.StartFullScreen(this);
        }
        public frmReplenish()
        {
            InitializeComponent();
            this.InitialClearDataInform();

            base.UpdateResourcesInForm(GlobalVariable.LanguageSelect);

            try
            {
                this.MsgWin              = new MsgWindow();
                this.MsgWin.BarcodeRead += new Action(MsgWin_BarcodeRead);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

            this.SetActiveColor("txtJobNo");
            this.SetTextFocusControl(this.txtJobNo, true);
            FullScreenHandle.StartFullScreen(this);
        }