Ejemplo n.º 1
0
 /// <summary>
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">The ArrowList object from which to copy</param>
 public ArrowList(ArrowList rhs)
 {
     foreach (ArrowItem item in rhs)
     {
         this.Add(new ArrowItem(item));
     }
 }
Ejemplo n.º 2
0
        public AldysPane(RectangleF paneRect, string paneTitle,
                         string xTitle, string yTitle, AldysGraph objAld)
        {
            statusflag = true;
            bPeakEdit  = false;
            cursor     = Cursors.NoMove2D;
            this.peakX = new ArrayList();
            this.peakY = new ArrayList();

            //Added By Mangesh S. on 25-Nov-2006
            peakInfoX = new ArrayList();
            peakInfoY = new ArrayList();
            //Added By Mangesh S. on 25-Nov-2006

            this.paneRect    = paneRect;
            this.axisRect    = axisRect;
            xAxis            = new XAxis();
            yAxis            = new YAxis();
            legend           = new Legend();
            curveList        = new CurveList();
            textList         = new TextList();
            arrowList        = new ArrowList();
            xAxis.Title      = xTitle;
            yAxis.Title      = xTitle;
            this.title       = paneTitle;
            this.isShowTitle = Defaults.Pane.ShowTitle;
            this.fontSpec    = new FontSpecs(Defaults.Pane.FontFamily,
                                             Defaults.Pane.FontSize, Defaults.Pane.FontColor, Defaults.Pane.FontBold,
                                             Defaults.Pane.FontItalic, Defaults.Pane.FontUnderline);
            this.fontSpec.IsFilled = false;
            this.fontSpec.IsFramed = false;

            this.isIgnoreInitial = Defaults.Axis.IgnoreInitial;

            this.isPaneFramed      = Defaults.Pane.IsFramed;
            this.paneFrameColor    = Defaults.Pane.FrameColor;
            this.paneFramePenWidth = Defaults.Pane.FramePenWidth;
            this.paneBackColor     = Defaults.Pane.BackColor;

            this.isAxisFramed      = Defaults.Axis.IsFramed;
            this.axisFrameColor    = Defaults.Axis.FrameColor;
            this.axisFramePenWidth = Defaults.Axis.FramePenWidth;
            this.axisBackColor     = Defaults.Axis.BackColor;

            this.baseDimension    = Defaults.Pane.BaseDimension;
            this.paneGap          = Defaults.Pane.Gap;
            this.objAldysGraphTmp = objAld;
        }
Ejemplo n.º 3
0
//		public AldysPane()
//		{
//			//
//			// TODO: Add constructor logic here
//			//
//		}
        /// <summary>
        /// The Copy Constructor
        /// </summary>
        /// <param name="rhs">The GraphPane object from which to copy</param>
        public AldysPane(AldysPane rhs)
        {
            statusflag = rhs.statusflag;
            bPeakEdit  = rhs.bPeakEdit;
            cursor     = Cursors.NoMove2D;
            this.peakX = rhs.peakX;
            this.peakY = rhs.peakY;

            //Added By Mangesh S. on 25-Nov-2006
            this.peakInfoX = rhs.peakInfoX;
            this.peakInfoY = rhs.peakInfoY;
            //Added By Mangesh S. on 25-Nov-2006

            paneRect  = rhs.PaneRect;
            axisRect  = rhs.AxisRect;
            xAxis     = new XAxis(rhs.XAxis);
            yAxis     = new YAxis(rhs.YAxis);
            legend    = new Legend(rhs.Legend);
            curveList = new CurveList(rhs.CurveList);
            textList  = new TextList(rhs.TextList);
            arrowList = new ArrowList(rhs.ArrowList);

            this.title       = rhs.Title;
            this.isShowTitle = rhs.IsShowTitle;
            this.fontSpec    = new FontSpecs(rhs.fontSpec);

            this.isIgnoreInitial = rhs.IsIgnoreInitial;

            this.isPaneFramed      = rhs.IsPaneFramed;
            this.paneFrameColor    = rhs.PaneFrameColor;
            this.paneFramePenWidth = rhs.PaneFramePenWidth;
            this.paneBackColor     = rhs.PaneBackColor;

            this.isAxisFramed      = rhs.IsAxisFramed;
            this.axisFrameColor    = rhs.AxisFrameColor;
            this.axisFramePenWidth = rhs.AxisFramePenWidth;
            this.axisBackColor     = rhs.AxisBackColor;

            this.baseDimension    = rhs.BaseDimension;
            this.paneGap          = rhs.PaneGap;
            this.objAldysGraphTmp = rhs.objAldysGraphTmp;
            this.ShowCurveLabels  = rhs.ShowCurveLabels;
        }