示例#1
0
        private void FormEKey_Load(object sender, EventArgs e)
        {
            this.Icon           = Fixer4Main.FormIcon();
            this.labelPath.Text = new string(this.m_Ekey.cmdPath);
            this.setViewText8Locale();
            this.BringToFront();
            this.comboBoxStr.Items.Clear();
            this.comboBoxStr.MeasureItem += new MeasureItemEventHandler(this.comboBoxStr_MeasureItem);
            for (int index = 0; index < KBTable.KeyBoards.Count; ++index)
            {
                KBTable keyBoard = KBTable.KeyBoards[index];
                this.comboBoxStr.Items.Add((object)keyBoard);
                if ((int)this.m_Ekey.kbtn.kbKeys[0] == (int)keyBoard.keyCode)
                {
                    this.comboBoxStr.Text = keyBoard.ToString();
                }
            }

            this.updateHNConfigToView();
        }
示例#2
0
 private void FormUpdater_Load(object sender, EventArgs e)
 {
     this.Text = "在线更新";
     this.Icon = Fixer4Main.FormIcon();
 }