예제 #1
0
        private void buttonL_CheckedChanged(object sender, EventArgs e)
        {
            RadioButton whButton = sender as RadioButton;

            if (whButton.Checked)
            {
                int idx = whButton.TabIndex;
                if ((idx >= 0) && (idx < commandTableLRig.Length))
                {
                    m_Setup.Command(commandTableLRig[idx] + "\r");
                }
            }
        }
예제 #2
0
        private void radioButtonL_CheckedChanged(object sender, EventArgs e)
        {
            if (m_holdChanges)
            {
                return;
            }
            RadioButton whButton = sender as RadioButton;

            if (whButton.Checked)
            {
                PrimaryIndex = whButton.TabIndex;
                IfSecondaryMatches(false);
                if (!checkBoxManual.Checked)
                {
                    m_Setup.Command(commandTable[SecondaryIndex][PrimaryIndex] + "\r");
                }
            }
        }