コード例 #1
0
        private Axis yAxis2ZoomCache_; // zooming, etc

        #endregion Fields

        #region Constructors

        /// <summary>
        /// Default constructor.
        /// </summary>
        public InteractivePlotSurface2D()
            : base()
        {
            // Create empty InteractionOccurred and PreRefresh Event handlers
            InteractionOccurred += new InteractionHandler (OnInteractionOccurred);
            PreRefresh += new PreRefreshHandler( OnPreRefresh );
        }
コード例 #2
0
 public PlotCanvas() : base()
 {
     // Create Drawing Surface with a reference to this PlotCanvas
     canvas = new DrawingSurface(this);
     // Create empty InteractionOccurred and PreRefresh Event handlers
     InteractionOccurred += new InteractionHandler(OnInteractionOccurred);
     PreRefresh          += new PreRefreshHandler(OnPreRefresh);
 }
コード例 #3
0
ファイル: PlotCanvas.cs プロジェクト: hwthomas/XwPlot
        private Axis yAxis2Cache; // zooming, panning, etc

        #endregion Fields

        #region Constructors

        public PlotCanvas()
            : base()
        {
            // Create Drawing Surface with a reference to this PlotCanvas
            canvas = new DrawingSurface (this);
            // Create empty InteractionOccurred and PreRefresh Event handlers
            InteractionOccurred += new InteractionHandler (OnInteractionOccurred);
            PreRefresh += new PreRefreshHandler (OnPreRefresh);
        }