IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
IG.Forms.GraphWindow Class Reference
+ Inheritance diagram for IG.Forms.GraphWindow:
+ Collaboration diagram for IG.Forms.GraphWindow:

Public Member Functions

 GraphWindow ()
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Properties

ZedGraphControl GraphControl [get, set]
 

Private Member Functions

void Form1_Load (object sender, EventArgs e)
 
void Form1_Resize (object sender, EventArgs e)
 On resize action, resize the ZedGraphControl to fill most of the Form, with a small margin around the outside More...
 
void SetSize ()
 
string MyPointValueHandler (ZedGraphControl control, GraphPane pane, CurveItem curve, int iPt)
 Display customized tooltips when the mouse hovers over a point. More...
 
void MyContextMenuBuilder (ZedGraphControl control, ContextMenuStrip menuStrip, Point mousePt, ZedGraphControl.ContextMenuObjectState objState)
 Customize the context menu by adding a new item to the end of the menu. More...
 
void AddBetaPoint (object sender, EventArgs args)
 Handle the "Add New Beta Point" context menu item. This finds the curve with the CurveItem.Label = "Beta", and adds a new point to it. More...
 
void MyZoomEvent (ZedGraphControl control, ZoomState oldState, ZoomState newState)
 
void btnCancel_Click (object sender, EventArgs e)
 
void chkBlackBg_CheckedChanged (object sender, EventArgs e)
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 

Private Attributes

System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
ZedGraph.ZedGraphControl _graphControl
 Zedgraph control that is used for plotting. More...
 
System.Windows.Forms.GroupBox grbox1
 
System.Windows.Forms.Panel panel1
 
System.Windows.Forms.Button btnClose
 
System.Windows.Forms.CheckBox chkBlackBg
 

Constructor & Destructor Documentation

IG.Forms.GraphWindow.GraphWindow ( )
inline

Member Function Documentation

void IG.Forms.GraphWindow.Form1_Load ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.GraphWindow.Form1_Resize ( object  sender,
EventArgs  e 
)
inlineprivate

On resize action, resize the ZedGraphControl to fill most of the Form, with a small margin around the outside

void IG.Forms.GraphWindow.SetSize ( )
inlineprivate
string IG.Forms.GraphWindow.MyPointValueHandler ( ZedGraphControl  control,
GraphPane  pane,
CurveItem  curve,
int  iPt 
)
inlineprivate

Display customized tooltips when the mouse hovers over a point.

void IG.Forms.GraphWindow.MyContextMenuBuilder ( ZedGraphControl  control,
ContextMenuStrip  menuStrip,
Point  mousePt,
ZedGraphControl.ContextMenuObjectState  objState 
)
inlineprivate

Customize the context menu by adding a new item to the end of the menu.

void IG.Forms.GraphWindow.AddBetaPoint ( object  sender,
EventArgs  args 
)
inlineprivate

Handle the "Add New Beta Point" context menu item. This finds the curve with the CurveItem.Label = "Beta", and adds a new point to it.

void IG.Forms.GraphWindow.MyZoomEvent ( ZedGraphControl  control,
ZoomState  oldState,
ZoomState  newState 
)
inlineprivate
void IG.Forms.GraphWindow.btnCancel_Click ( object  sender,
EventArgs  e 
)
inlineprivate
void IG.Forms.GraphWindow.chkBlackBg_CheckedChanged ( object  sender,
EventArgs  e 
)
inlineprivate
override void IG.Forms.GraphWindow.Dispose ( bool  disposing)
inlineprotected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
void IG.Forms.GraphWindow.InitializeComponent ( )
inlineprivate

Required method for Designer support - do not modify the contents of this method with the code editor.

Member Data Documentation

System.ComponentModel.IContainer IG.Forms.GraphWindow.components = null
private

Required designer variable.

ZedGraph.ZedGraphControl IG.Forms.GraphWindow._graphControl
private

Zedgraph control that is used for plotting.

System.Windows.Forms.GroupBox IG.Forms.GraphWindow.grbox1
private
System.Windows.Forms.Panel IG.Forms.GraphWindow.panel1
private
System.Windows.Forms.Button IG.Forms.GraphWindow.btnClose
private
System.Windows.Forms.CheckBox IG.Forms.GraphWindow.chkBlackBg
private

Property Documentation

ZedGraphControl IG.Forms.GraphWindow.GraphControl
getset

The documentation for this class was generated from the following files: