C# Класс UICommons.AddinSettingsForm

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

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

Свойство Тип Описание
IsShown bool
OnApply EventHandler
OnCancel EventHandler
OnFormLoad EventHandler
OnOK EventHandler
OnProtocolChange EventHandler
txtPrefetchInterval System.Windows.Forms.TextBox
txtPrefetchPagesSetSize System.Windows.Forms.TextBox

Открытые методы

Метод Описание
AddinSettingsForm ( ) : System

Default constructor. Initializes all components.

ValidatePath ( String path ) : bool

Checks if a path is valid

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
AddinSettingsForm_FormClosed ( object sender, FormClosedEventArgs e ) : void
AddinSettingsForm_Shown ( object sender, EventArgs e ) : void
ConnectionSettingsForm_Load ( object sender, EventArgs e ) : void

Event that is automatically triggered the Form is loading.

InitializeComponent ( ) : void

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

PrefechSettingChanged ( object sender, EventArgs e ) : void
ValidateURL ( String url ) : bool

Checks if a url is valid.

anyRepoSettingChanged_TextChanged ( object sender, EventArgs e ) : void

Event triggered when a repository setting is changed.

btnApply_Click ( object sender, EventArgs e ) : void

Event triggered when the "Apply" button is clicked.

btnAttachmentsRepo_Click ( object sender, EventArgs e ) : void

Event triggered when the select downloaded attachments repository is clicked.

btnCancel_Click ( object sender, EventArgs e ) : void

Event triggered when the "Cancel button is pressed.

btnOK_Click ( object sender, EventArgs e ) : void

Event triggered when the OK button is pressed.

btnPagesRepo_Click ( object sender, EventArgs e ) : void

Event triggered when the select pages repository is clicked.

comboProtocol_SelectedIndexChanged ( object sender, EventArgs e ) : void
linkConnectDoc_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
txtAnyConnectionSetting_TextChanged ( object sender, EventArgs e ) : void

Event triggered when a connection setting is changed.

txtAttachmentsRepo_Leave ( object sender, EventArgs e ) : void

Event triggered when the textbox loses the focus.

txtPagesRepo_Leave ( object sender, EventArgs e ) : void

Event triggered when the textbox loses the focus.

Описание методов

AddinSettingsForm() публичный Метод

Default constructor. Initializes all components.
public AddinSettingsForm ( ) : System
Результат 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

ValidatePath() публичный Метод

Checks if a path is valid
public ValidatePath ( String path ) : bool
path String The value of the path.
Результат bool

Описание свойств

IsShown публичное статическое свойство

Specifies if at least an instance of the form is visible.
public static bool IsShown
Результат bool

OnApply публичное свойство

Actions to perform when applying settings.
public EventHandler OnApply
Результат EventHandler

OnCancel публичное свойство

Actions to perform on canceling settings.
public EventHandler OnCancel
Результат EventHandler

OnFormLoad публичное свойство

Actions to perform when on form load.
public EventHandler OnFormLoad
Результат EventHandler

OnOK публичное свойство

Actions to perform when OK button was pressed.
public EventHandler OnOK
Результат EventHandler

OnProtocolChange публичное свойство

Actions to perform when user changes the protocol.
public EventHandler OnProtocolChange
Результат EventHandler

txtPrefetchInterval публичное свойство

public System.Windows.Forms.TextBox txtPrefetchInterval
Результат System.Windows.Forms.TextBox

txtPrefetchPagesSetSize публичное свойство

public System.Windows.Forms.TextBox txtPrefetchPagesSetSize
Результат System.Windows.Forms.TextBox