C# Класс UICommons.AddPageForm

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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