C# Class ZForge.Motion.Controls.CameraTree

Inheritance: System.Windows.Forms.UserControl, IGlobalization
Mostrar archivo Open project: zhuangyy/Motion

Public Methods

Method Description
CameraTree ( ) : System
Event_CameraViewAlarmCountChanged ( object sender, CameraViewAlarmCountChangedEventArgs e ) : void
FindCameraTreeNode ( ItemClass c, TreeNode node ) : CameraTreeNode
NodeReloadGlobalSettings ( ) : void
NodeReloadGlobalSettings ( CameraTreeNode p ) : void
ReloadTreeView ( ) : void
SetTreeNodeAlarmCount ( CameraClass c, int v ) : void
SetTreeNodeStatus ( CameraClass c, int status ) : void
UpdateCulture ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnCameraTreeAfterDelete ( CameraTreeEventArgs e ) : void
OnCameraTreeBeforeDelete ( CameraTreeNodeDeleteEventArgs e ) : void
OnCameraTreeOnBoard ( CameraTreeEventArgs e ) : void

Private Methods

Method Description
AtTheEdge ( ) : bool
GetSelectedGroupNode ( ) : CameraTreeNode
GetSelectedTreeNode ( ) : CameraTreeNode
InitializeComponent ( ) : void

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

NodeAdd ( ItemClass c ) : CameraTreeNode
NodeAdd ( ItemClass c, CameraTreeNode p ) : CameraTreeNode
NodeCount ( CameraTreeNode p ) : int
NodeDelete ( ) : bool
NodeDelete ( CameraTreeNode node ) : bool
NodeEdit ( ) : void
NodeOnBoard ( ) : void
NodeOnBoard ( CameraTreeNode node ) : void
PopulateTreeView ( ItemClassCollection items, TreeNode parentNode ) : void
SetToolStripButtonState ( ) : void
toolStripButtonDel_Click ( object sender, EventArgs e ) : void
toolStripButtonEdit_Click ( object sender, EventArgs e ) : void
toolStripButtonNewGroup_Click ( object sender, EventArgs e ) : void
toolStripButtonNew_Click ( object sender, EventArgs e ) : void
toolStripButtonSort_Click ( object sender, EventArgs e ) : void
toolStripButtonTest_Click ( object sender, EventArgs e ) : void
toolStripMenuItemAddMember_Click ( object sender, EventArgs e ) : void
toolStripMenuItemCameraEdit_Click ( object sender, EventArgs e ) : void
toolStripMenuItemCemeraAdd_Click ( object sender, EventArgs e ) : void
toolStripMenuItemDelete_Click ( object sender, EventArgs e ) : void
toolStripMenuItemGroupDelete_Click ( object sender, EventArgs e ) : void
toolStripMenuItemGroupEdit_Click ( object sender, EventArgs e ) : void
treeViewCamera_AfterLabelEdit ( object sender, System.Windows.Forms.NodeLabelEditEventArgs e ) : void
treeViewCamera_AfterSelect ( object sender, TreeViewEventArgs e ) : void
treeViewCamera_DragDrop ( object sender, DragEventArgs e ) : void
treeViewCamera_DragEnter ( object sender, DragEventArgs e ) : void
treeViewCamera_DragLeave ( object sender, EventArgs e ) : void
treeViewCamera_DragOver ( object sender, DragEventArgs e ) : void
treeViewCamera_ItemDrag ( object sender, ItemDragEventArgs e ) : void
treeViewCamera_MouseUp ( object sender, MouseEventArgs e ) : void
treeViewCamera_NodeMouseDoubleClick ( object sender, TreeNodeMouseClickEventArgs e ) : void

Method Details

CameraTree() public method

public CameraTree ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Event_CameraViewAlarmCountChanged() public method

public Event_CameraViewAlarmCountChanged ( object sender, CameraViewAlarmCountChangedEventArgs e ) : void
sender object
e CameraViewAlarmCountChangedEventArgs
return void

FindCameraTreeNode() public method

public FindCameraTreeNode ( ItemClass c, TreeNode node ) : CameraTreeNode
c ZForge.Motion.Core.ItemClass
node System.Windows.Forms.TreeNode
return CameraTreeNode

NodeReloadGlobalSettings() public method

public NodeReloadGlobalSettings ( ) : void
return void

NodeReloadGlobalSettings() public method

public NodeReloadGlobalSettings ( CameraTreeNode p ) : void
p CameraTreeNode
return void

OnCameraTreeAfterDelete() protected method

protected OnCameraTreeAfterDelete ( CameraTreeEventArgs e ) : void
e CameraTreeEventArgs
return void

OnCameraTreeBeforeDelete() protected method

protected OnCameraTreeBeforeDelete ( CameraTreeNodeDeleteEventArgs e ) : void
e CameraTreeNodeDeleteEventArgs
return void

OnCameraTreeOnBoard() protected method

protected OnCameraTreeOnBoard ( CameraTreeEventArgs e ) : void
e CameraTreeEventArgs
return void

ReloadTreeView() public method

public ReloadTreeView ( ) : void
return void

SetTreeNodeAlarmCount() public method

public SetTreeNodeAlarmCount ( CameraClass c, int v ) : void
c ZForge.Motion.Core.CameraClass
v int
return void

SetTreeNodeStatus() public method

public SetTreeNodeStatus ( CameraClass c, int status ) : void
c ZForge.Motion.Core.CameraClass
status int
return void

UpdateCulture() public method

public UpdateCulture ( ) : void
return void