/// <summary>
        /// 修改岩层事件委托
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="args"></param>
        private void ModifyRockFormationDelegate(object sender, CreateRockFormation.DrawEventArgs args)
        {
            RockFormation rockFormation = new RockFormation(args.Name, args.Speed, args.Density, args.Color);

            rockFormations[args.Index] = rockFormation;
            GraphPane myPane  = zedGraphControl.GraphPane;
            LineItem  myCurve = (LineItem)myPane.CurveList[args.Index];

            myCurve.Line.Fill = new Fill(args.Color);
            CreateRockFormation createRockFormation = (CreateRockFormation)sender;

            createRockFormation.Close();
            zedGraphControl.Refresh();
        }
        /// <summary>
        /// 新建岩层窗口确定事件委托
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="args"></param>
        private void CreateRockFormationDelegate(object sender, CreateRockFormation.DrawEventArgs args)
        {
            PointPairList list = new PointPairList();
            // get a reference to the GraphPane
            GraphPane myPane  = zedGraphControl.GraphPane;
            LineItem  myCurve = myPane.AddCurve("",
                                                list, LineColor, SymbolType.None);

            // add data to rockFormations
            rockFormations.Add(new RockFormation(args.Name, args.Speed, args.Density, args.Color));
            CreateRockFormation createRockFormation = (CreateRockFormation)sender;

            createRockFormation.Close();
            startDraw.Enabled = true;
            Modify.Enabled    = false;
            Create.Enabled    = false;
            Goback.Enabled    = false;
            Clear.Enabled     = false;
        }