WFA_psychometric_chart.Form1_main.RefreshGraph C# (CSharp) Method

RefreshGraph() public method

public RefreshGraph ( ) : void
return void
        public void RefreshGraph()
        {
           // lock (this) { 
            //try
            //{
                this.Invalidate();
                chart1.Invalidate();
                // chart1.Dispose();//--Releases all the resources used by the chart...
                plot_new_graph();

                //--Reseting the menustrip values for new plotting....
                menuStripNodeLineInfoValues.Clear();
                menuStripNodeInfoValues.Clear();
                index = 0;  //This is resetting the index values
                incrementIndex = 0;
            ReloadComfortZoneForBackGroundWorker();
            // }
            //catch (Exception ex)
            //{
            //    MessageBox.Show(ex.Message);
            //}
            // }//--Close of lock
        }
Form1_main