C# 클래스 MongoGUIView.CtlDocumentView

파일 보기 프로젝트 열기: magicdict/MongoCola 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ElementOp Action
_getDocument Func

공개 메소드들

메소드 설명
CtlDocumentView ( DataViewInfo dataViewInfo ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

lstData_MouseClick ( object sender, MouseEventArgs e ) : void

数据列表右键菜单

lstData_MouseDoubleClick ( object sender, MouseEventArgs e ) : void

双击列表

비공개 메소드들

메소드 설명
AddElementToolStripMenuItem_Click ( object sender, EventArgs e ) : void

添加元素

CopyElementToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Copy Element

CutElementToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Cut Element

DelSelectRecordToolStripButton_Click ( object sender, EventArgs e ) : void

Delete Selected Documents

DropElementToolStripMenuItem_Click ( object sender, EventArgs e ) : void

删除元素

FindRootNode ( TreeNode node ) : TreeNode

获取树形的根

InitToolAndMenu ( ) : void
InitializeComponent ( ) : void

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

ModifyElementToolStripMenuItem_Click ( object sender, EventArgs e ) : void

修改元素

NewDocumentStripButton_Click ( object sender, EventArgs e ) : void

Add New Document

OpenDocInEditorDocStripButton_Click ( object sender, EventArgs e ) : void

PasteElementToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Paste Element

SetCurrentDocument ( TreeNode currentNode, MongoCollection mongoCol ) : void

Set Current Document

ctlDocumentView_Load ( object sender, EventArgs e ) : void
lstData_SelectedIndexChanged ( object sender, EventArgs e ) : void

数据列表选中索引变换

trvData_AfterCollapse ( object sender, TreeViewEventArgs e ) : void

trvData_AfterExpand ( object sender, TreeViewEventArgs e ) : void

展开节点后的动作

trvData_AfterSelect_NotTop ( ) : bool

数据树形被选择后(非TOP)

trvData_AfterSelect_Top ( object sender, TreeViewEventArgs e ) : void

数据树形被选择后(TOP)

trvData_KeyDown ( object sender, KeyEventArgs e ) : void

键盘动作

trvData_MouseClick_NotTop ( MouseEventArgs e ) : void

鼠标动作(非顶层)

trvData_MouseClick_Top ( object sender, MouseEventArgs e ) : void

鼠标动作(顶层)

메소드 상세

CtlDocumentView() 공개 메소드

public CtlDocumentView ( DataViewInfo dataViewInfo ) : System
dataViewInfo DataViewInfo
리턴 System

Dispose() 보호된 메소드

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

lstData_MouseClick() 보호된 메소드

数据列表右键菜单
protected lstData_MouseClick ( object sender, MouseEventArgs e ) : void
sender object
e System.Windows.Forms.MouseEventArgs
리턴 void

lstData_MouseDoubleClick() 보호된 메소드

双击列表
protected lstData_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
sender object
e System.Windows.Forms.MouseEventArgs
리턴 void

프로퍼티 상세

ElementOp 공개적으로 정적으로 프로퍼티

增加或者删除元素 参数frmElement
public static Action ElementOp
리턴 Action

_getDocument 공개적으로 정적으로 프로퍼티

public static Func _getDocument
리턴 Func