C# 클래스 UICommons.AddPageForm

파일 보기 프로젝트 열기: xwiki-contrib/xwiki-office 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OnAdd EventHandler

공개 메소드들

메소드 설명
AddPageForm ( Wiki &_wiki ) : System
AddPageForm ( Wiki &_wiki, String _spaceName ) : System
AddPageForm ( Wiki &_wiki, bool newSpace, bool _exportMode ) : System
comboBox1_SelectedIndexChanged ( object sender, EventArgs e ) : void

Sets the instance of the selected space when the combo box selection is changed

보호된 메소드들

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

Clean up any resources being used.

비공개 메소드들

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

Event triggered when the form is loading.

InitializeComponent ( ) : void

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

LoadSpaces ( ) : void

Loads the spaces into the combo.

ValidateFormData ( ) : bool

Validates the data.

btnAddPage_Click ( object sender, EventArgs e ) : void

Event triggered when the "Add page" button is pressed.

btnCancel_Click ( object sender, EventArgs e ) : void

Closes the form.

radioButton1_CheckedChanged ( object sender, EventArgs e ) : void

Refreshes the UI to the coresponding option regarding the space.

메소드 상세

AddPageForm() 공개 메소드

public AddPageForm ( Wiki &_wiki ) : System
_wiki Wiki A reference to the currently loaded wiki structure.
리턴 System

AddPageForm() 공개 메소드

public AddPageForm ( Wiki &_wiki, String _spaceName ) : System
_wiki Wiki A reference to the currently loaded wiki structure.
_spaceName String /// The default space name in which the new page will be created ///
리턴 System

AddPageForm() 공개 메소드

public AddPageForm ( Wiki &_wiki, bool newSpace, bool _exportMode ) : System
_wiki Wiki A reference to the currently loaded wiki structure.
newSpace bool Specifies if a new space will be created.
_exportMode bool /// Specifies if the form is used to assign an export destination /// for a document ///
리턴 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

comboBox1_SelectedIndexChanged() 공개 메소드

Sets the instance of the selected space when the combo box selection is changed
public comboBox1_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
리턴 void

프로퍼티 상세

OnAdd 공개적으로 프로퍼티

public EventHandler OnAdd
리턴 EventHandler