コード例 #1
0
        public void InitializeComponentManual()
        {
            this.Text = "BRB3 " + Global.eTypeTerminal.ToString();

            this.miExit.Text += " " + HotKey.strSearch_Exit;

            this.mplDeviceName.Text = Global.eTypeTerminal.ToString() + " ";
            this.mplDeviceID.Text   = " " + PocketID.GetDeviceID();

            if (Global.eTypeTerminal == TypeTerminal.BitatekIT8000)
            {
                this.WindowState = FormWindowState.Maximized;
            }
        }
コード例 #2
0
 private void Settings_Load(object sender, EventArgs e)
 {
     string [] inventory = Global.ShopInventory.Split('-');
     if (inventory.Length == 2)
     {
         this.tctbTMInvDoc.Text = inventory[0];
         this.tctbTMInvTM.Text  = inventory[1];
     }
     this.tclDeviceName.Text = " " + Global.eTypeTerminal.ToString();
     this.tclSerial.Text     = " " + PocketID.GetDeviceID();
     this.tclTM.Text         = " " + Global.ShopName;
     this.tclFile.Text       = " " + Global.RemouteFile;
     this.tclDownload.Text   = " " + Global.Directory;
     this.tcdbBase.Text      = Global.dbPathBRB;
     this.tcdbSync.Text      = Global.ServiceUrl;
 }