示例#1
0
        private void focusList()
        {
            this.listInstanceMainPanel.Focus();
            LotteryListControl listControl = this.getCurrentListControl();

            if (listControl != null)
            {
                listControl.Focus();
            }
        }
示例#2
0
 public void addControls()
 {
     //LotteryListControl lotteryListControl = new LotteryListControl();
     lotteryListControl          = new LotteryListControl();
     lotteryListControl.TabIndex = 0;
     lotteryListControl.Focus();
     //lotteryListControl.resetCurrentCell();
     this.listInstanceMainPanel.Controls.Add(lotteryListControl);
     this.listInstanceMainPanel.Focus();
 }