예제 #1
0
        private void Mail_tabControl_SelectedIndexChanged(object sender, EventArgs e)
        {
            switch (Mail_tabControl.SelectedIndex)
            {
            case 0:
                radioButton_Received.Focus();
                break;

            case 1:
                CmbInternalCC.Focus();
                break;

            case 2:
                txtReferText.Focus();
                break;

            case 3:
                txtSingerName.Focus();
                break;

            case 4:
                BtnBrowseFile.Focus();
                break;
            }
        }
예제 #2
0
        private void Mail_tabControl_SelectedIndexChanged(object sender, EventArgs e)
        {
            switch (Mail_tabControl.SelectedIndex)
            {
            case 0:
                txtName.Focus();
                break;

            case 1:
                CmbInternalCC.Focus();
                break;

            case 2:
                richTextBox1.Focus();
                break;

            case 3:
                txtSingerName.Focus();
                break;

            case 4:
                BtnBrowseFile.Focus();
                break;
            }
        }