public void restoreData()
        {
            InitializeInputFields();
            DtPlots1 = new DtPlots(InputFields1, new DataGridView[] { SumdataGridView, HighSummaryDataGridView, FilterdataGridView, BpdataGridView, EditdataGridView }, chart1);

            DtPlots1.summaryInit();
            SummaryPlotInit();
            toolStripStatusLabel1.Text = DtPlots1.toolStripStatusLabel;
        }
        public void SummaryToolFrmFresh()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
            SubscribePopups();
            InitializeInputFields();
            DtPlots1 = new DtPlots(InputFields1, new DataGridView[] { SumdataGridView, HighSummaryDataGridView, FilterdataGridView, BpdataGridView, EditdataGridView }, chart1);
        }
        public SummaryToolFrm()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //

            SubscribePopups();
            InitializeInputFields();
            DtPlots1 = new DtPlots(InputFields1, new DataGridView[] { SumdataGridView, HighSummaryDataGridView, FilterdataGridView, BpdataGridView, EditdataGridView }, chart1);

            DtPlots1.summaryInit();
            FormSerializor.FormSerilizor.DeSerialise(this);

            //Check the minimum inputs needed to plot/summary
            if (InputRowDNDLV.Items.Count == 0 & AllEntryDNDLV.Items.Count == 0 & XaxisRowDNDLV.Items.Count == 0 & YAxisOutputDNDLV.Items.Count == 0 & InputRowDNDLV.Items.Count == 0 &
                 InputColumnDNDLV.Items.Count == 0 & YAxisOutputDNDLV.Items.Count == 0 & YAxisCombinedOutputDNDLV.Items.Count == 0 & XaxisColumnDNDLV.Items.Count == 0)
            {
                SummaryPlotInit();
            }

            AdminForminit();
            try
            { refreshDgv(); }
            catch { InitializeInputFields(); }
        }