Ejemplo n.º 1
0
 private void GetNewGraph()
 {
     try
     {
         selChanObj = new selectChannel();
         //start new thread to plot the selected channels
         foreach (int stream in Globals.channelsSelected.Keys)
         {
             if (Globals.channelsSelected[stream].Count != 0)
             {
                 GraphPlot = new PlotData(stream);
                 GraphPlot.SuspendLayout();
                 GraphPlot.ResumeLayout(false);
                 GraphPlot.ShowDialog();
             }
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }