public FlexControlBasicForm(Console c) { InitializeComponent(); console = c; // setup the actual FlexControl Interface fc_interface = new FlexControlInterface2(c); // populate knob combobox controls foreach (FlexControlKnobFunction function in Enum.GetValues(typeof(FlexControlKnobFunction))) { string s = KnobFunction2String(function); comboButtonLeft.Items.Add(s); comboButtonMid.Items.Add(s); comboButtonRight.Items.Add(s); comboButtonKnob.Items.Add(s); } // setup defaults comboButtonLeft.Text = "Tune RIT"; comboButtonMid.Text = "Audio Gain"; comboButtonRight.Text = "Tune VFO B"; comboButtonKnob.Text = "Tune VFO A"; // restore any saved configuration Common.RestoreForm(this, "FlexControlBasicForm", false); }