private void btLoadDetails_Click(object sender, EventArgs e) { try { SparkConditionRecord rec; rec = Data[chlPairList.SelectedIndex]; GLog.Setup(rec.Log, SparkConditionRecord.LogSectionName); } catch (Exception ex) { Common.Log(ex); } }