private void ckbShowInvaildData_CheckedChanged(object sender, EventArgs e)
 {
     try
     {
         ConfigManger.SaveConfigData(MainForm.WaveformConfigData);
         MainForm.sMainform.picMainGraphics.Invalidate();
     }
     catch (Exception ex)
     {
         MyLogger.logger.Error("保存配置文件-显示无效数据:" + ex.Message + ",堆栈:" + ex.StackTrace);
     }
 }
 private void ckbAutoSave_CheckedChanged(object sender, EventArgs e)
 {
     try
     {
         MainForm.WaveformConfigData.IsAutoSaveConfig = ckbAutoSave.Checked;
         ConfigManger.SaveConfigData(MainForm.WaveformConfigData);
     }
     catch (Exception ex)
     {
         MyLogger.logger.Error("保存配置文件-自动保存失败:" + ex.Message + ",堆栈:" + ex.StackTrace);
     }
 }