private void 添加负荷ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TreeListNode tln = treeList2.FocusedNode;

            if (tln == null)
            {
                return;
            }

            TreeListColumn tnc = treeList2.FocusedColumn;

            if (tnc.Caption.IndexOf("年") < 0)
            {
                return;
            }


            FormNewFuhe fnf = new FormNewFuhe();

            if (fnf.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            double fuhe = fnf.Fuhe;


            int a = 0;

            try { a = int.Parse(tnc.Caption.Replace("年", "")); }
            catch { }
            int b = forecastReport.EndYear;

            double fh = 0;


            for (int i = a; i <= b; i++)
            {
                fh = 0;
                try { fh = (double)tln[i + "年"]; }
                catch { }

                tln.SetValue(i + "年", fh + fuhe);
            }


            treeList1.BeginUpdate();
            LoadData();
            treeList1.EndUpdate();
            RefreshChart();
        }
        private void 添加负荷ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TreeListNode tln = treeList2.FocusedNode;
            if (tln == null)
                return;

            TreeListColumn tnc = treeList2.FocusedColumn;
            if (tnc.Caption.IndexOf("年") < 0)
                return;

            FormNewFuhe fnf = new FormNewFuhe();

            if (fnf.ShowDialog() != DialogResult.OK)
                return;

            double fuhe = fnf.Fuhe;

            int a = 0;
            try { a = int.Parse(tnc.Caption.Replace("年", "")); }
            catch { }
            int b = forecastReport.EndYear;

            double fh = 0;

            for (int i = a; i <= b; i++)
            {
                fh = 0;
                try { fh = (double)tln[i + "年"]; }
                catch { }

                tln.SetValue(i + "年", fh + fuhe);
            }

            treeList1.BeginUpdate();
            LoadData();
            treeList1.EndUpdate();
            RefreshChart();
        }