public FormOutput_PWM_FM(CardWindow AIParentWindow)
 {
     InitializeComponent();
     m_ParentWindow = AIParentWindow;
     m_ParentWindow.checkBoxUpdate.Checked = false;
     flpChannels.Controls.Clear();
     for (int i = 0; i < m_ParentWindow.MAIDevice.PWMChannels.Count; i++) {
         UCOutputSettingsPWMChannel cv = new UCOutputSettingsPWMChannel();
         cv.SetNameAndChannel("Channel " + i.ToString(), m_ParentWindow.MAIDevice.PWMChannels[i]);
         flpChannels.Controls.Add(cv);
     }
 }
 public FormOutput_PWM_FM(CardWindow AIParentWindow)
 {
     InitializeComponent();
     m_ParentWindow = AIParentWindow;
     m_ParentWindow.checkBoxUpdate.Checked = false;
     flpChannels.Controls.Clear();
     for (int i = 0; i < m_ParentWindow.MAIDevice.PWMChannels.Count; i++)
     {
         UCOutputSettingsPWMChannel cv = new UCOutputSettingsPWMChannel();
         cv.SetNameAndChannel("Channel " + i.ToString(), m_ParentWindow.MAIDevice.PWMChannels[i]);
         flpChannels.Controls.Add(cv);
     }
 }