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
Itaia.ZedGraphWindow Class Reference
+ Inheritance diagram for Itaia.ZedGraphWindow:
+ Collaboration diagram for Itaia.ZedGraphWindow:

Public Member Functions

 ZedGraphWindow ()
 

Public Attributes

ZedGraphPlotDlg PlotDelegate = null
 

Protected Member Functions

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

Protected Attributes

ZedGraph.ZedGraphControl GraphControl
 Zedgraph control that is used for plotting. More...
 

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...
 
System.Windows.Forms.GroupBox grbox1
 
System.Windows.Forms.Panel panel1
 
System.Windows.Forms.Button btnClose
 
System.Windows.Forms.CheckBox chkBlackBg
 

Constructor & Destructor Documentation

Itaia.ZedGraphWindow.ZedGraphWindow ( )
inline

Member Function Documentation

void Itaia.ZedGraphWindow.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

References Itaia.ZedGraphWindow.SetSize().

Referenced by Itaia.ZedGraphWindow.InitializeComponent().

void Itaia.ZedGraphWindow.SetSize ( )
inlineprivate
string Itaia.ZedGraphWindow.MyPointValueHandler ( ZedGraphControl  control,
GraphPane  pane,
CurveItem  curve,
int  iPt 
)
inlineprivate

Display customized tooltips when the mouse hovers over a point

Referenced by Itaia.ZedGraphWindow.Form1_Load().

void Itaia.ZedGraphWindow.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

References Itaia.ZedGraphWindow.AddBetaPoint().

Referenced by Itaia.ZedGraphWindow.Form1_Load().

void Itaia.ZedGraphWindow.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.

References Itaia.ZedGraphWindow.GraphControl.

Referenced by Itaia.ZedGraphWindow.MyContextMenuBuilder().

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

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

References Itaia.ZedGraphWindow.components.

Referenced by Itaia.ZedGraphWindow.btnCancel_Click().

Member Data Documentation

ZedGraphPlotDlg Itaia.ZedGraphWindow.PlotDelegate = null
System.ComponentModel.IContainer Itaia.ZedGraphWindow.components = null
private

Required designer variable.

Referenced by Itaia.ZedGraphWindow.Dispose(), and Itaia.ZedGraphWindow.InitializeComponent().

ZedGraph.ZedGraphControl Itaia.ZedGraphWindow.GraphControl
protected
System.Windows.Forms.GroupBox Itaia.ZedGraphWindow.grbox1
private
System.Windows.Forms.Panel Itaia.ZedGraphWindow.panel1
private
System.Windows.Forms.Button Itaia.ZedGraphWindow.btnClose
private
System.Windows.Forms.CheckBox Itaia.ZedGraphWindow.chkBlackBg
private

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