コード例 #1
0
ファイル: GrBoundary.cs プロジェクト: jimnash/GraphLib
 internal void Setup(GraphPanel g)
 {
     _graphPanel      = g;
     _graphParameters = _graphPanel.GraphParameters;
     _graphTabPanel   = _graphParameters.GraphTabPanel;
     Markers          = new Marker(_graphPanel);
 }
コード例 #2
0
ファイル: GraphData.cs プロジェクト: jimnash/GraphLib
 /// <summary>
 ///
 /// </summary>
 /// <param name="g"></param>
 public GraphData(GraphPanel g)
 {
     _graphPanel       = g;
     _graphParameters  = _graphPanel.GraphParameters;
     _graphTabPanel    = _graphPanel.GraphParameters.GraphTabPanel;
     InitialAllocation = 1000;
 }
コード例 #3
0
 internal void Setup(GraphPanel g)
 {
     _graphPanel       = g;
     _graphParameters  = _graphPanel.GraphParameters;
     _graphicsTabPanel = _graphPanel.GraphParameters.GraphTabPanel;
     _graphBoundary    = _graphPanel.GraphParameters.GraphBoundary;
     _tabMouse         = new TabMouseOps(g);
 }
コード例 #4
0
        public Grid(GraphPanel g)
        {
            try
            {
                var myScreen = Screen.PrimaryScreen;
                var area     = myScreen.WorkingArea;
                if (area.Size.Height < 900)
                {
                    SetSmallAxisFont();
                }
                else
                {
                    SetLargeAxisFont();
                }
            }
            catch
            {
                SetSmallAxisFont();
            }

            _graphPanel      = g;
            _graphParameters = _graphPanel.GraphParameters;
            _graphTabPanel   = _graphParameters.GraphTabPanel;
        }
コード例 #5
0
ファイル: Options.cs プロジェクト: jimnash/GraphLib
 public Options(GraphPanel g)
 {
     _graphPanel      = g;
     _graphParameters = _graphPanel.GraphParameters;
     _graphTabPanel   = _graphPanel.GraphParameters.GraphTabPanel;
 }
コード例 #6
0
ファイル: TabMouseOps.cs プロジェクト: jimnash/GraphLib
 public TabMouseOps(GraphPanel g)
 {
     _graphPanel       = g;
     _graphParameters  = _graphPanel.GraphParameters;
     _graphicsTabPanel = _graphPanel.GraphParameters.GraphTabPanel;
 }
コード例 #7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="g"></param>
 public GpContextMenu(GraphPanel g)
 {
     _graphPanel    = g;
     _graphParams   = _graphPanel.GraphParameters;
     _graphTabPanel = _graphPanel.GraphParameters.GraphTabPanel;
 }