Example #1
0
 private void CreateChartBtn_Click(object sender, EventArgs e)
 {
     ChartSelectionList.Clear();
     ChartSelectionList.Add("Timestamp");
     for (int i = 0; i < ChartSelectionChLbAxis1.Items.Count; i++)
     {
         if (ChartSelectionChLbAxis1.GetItemChecked(i))
         {
             ChartSelectionList.Add(ChartSelectionChLbAxis1.Items[i].ToString());
         }
         if (ChartSelectionChLbAxis2.GetItemChecked(i))
         {
             ChartSelectionList.Add("-" + ChartSelectionChLbAxis2.Items[i].ToString());
         }
     }
     Closing_Action = 1;
     Close();
 }