C# Класс Support.UI.QueryPanelDialog

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

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

Метод Описание
AllowResize ( ) : void

Allows the form to be resized. This should be used after all of the controls have been added to set the minimum size.

GetButtonPressedString ( ) : string

Returns the string on the button pressed on exit.

QueryPanelDialog ( string sTitle, int nWidth, bool bTabbed ) : System

Constructor

QueryPanelDialog ( string sTitle, int nWidth, int nLabelWidth, bool bTabbed ) : System

Constructor

QueryPanelDialog ( string sTitle, int nWidth, int nLabelWidth, bool bTabbed, string arrayButtons ) : System

Constructor

QueryPanelDialog ( string sTitle, int nWidth, int nLabelWidth, bool bTabbed, string arrayButtons, EventHandler arrayHandlers ) : System

Constructor

SetIcon ( Icon zIcon ) : void

Sets the icon for the form

SetMaxHeight ( int nMaxHeight ) : void

Sets the max desired height for the dialog.

SetTitleText ( string sTitle ) : void

Sets the title text of the dialog.

ShowDialog ( IWin32Window zParentForm ) : DialogResult

Shows the dialog (much like the Form.ShowDialog method)

ShowInTaskBar ( bool bShow ) : void

Flags the dialog to be shown in the task bar.

m_zPanel_Resize ( object sender, EventArgs e ) : void

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

Метод Описание
InitForm ( string sTitle, int nWidth, string arrayButtons, EventHandler arrayHandlers ) : void

Initializes the form associated with this QueryDialog

QueryDialog_Load ( object sender, EventArgs e ) : void

The dialog load event

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Cancel button press.

btnGeneric_Click ( object sender, EventArgs e ) : void

Handles generic button presses (for those on the bottom of the dialog)

btnOk_Click ( object sender, EventArgs e ) : void

Handles the Ok button press.

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

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

Allows the form to be resized. This should be used after all of the controls have been added to set the minimum size.
public AllowResize ( ) : void
Результат void

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

Returns the string on the button pressed on exit.
public GetButtonPressedString ( ) : string
Результат string

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

Constructor
public QueryPanelDialog ( string sTitle, int nWidth, bool bTabbed ) : System
sTitle string Title of the dialog
nWidth int Width of the dialog
bTabbed bool Whether the panel should be tabbed
Результат System

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

Constructor
public QueryPanelDialog ( string sTitle, int nWidth, int nLabelWidth, bool bTabbed ) : System
sTitle string Title of the dialog
nWidth int Width of the dialog
nLabelWidth int Width of labels
bTabbed bool Flag indicating whether this should support tabs
Результат System

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

Constructor
public QueryPanelDialog ( string sTitle, int nWidth, int nLabelWidth, bool bTabbed, string arrayButtons ) : System
sTitle string Title of the dialog
nWidth int Width of the dialog
nLabelWidth int Width of labels
bTabbed bool Flag indicating whether this should support tabs
arrayButtons string Array of button names to support
Результат System

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

Constructor
public QueryPanelDialog ( string sTitle, int nWidth, int nLabelWidth, bool bTabbed, string arrayButtons, EventHandler arrayHandlers ) : System
sTitle string Title of the dialog
nWidth int Width of the dialog
nLabelWidth int Width of labels
bTabbed bool Flag indicating whether this should support tabs
arrayButtons string Array of button names to support
arrayHandlers EventHandler The handlers to associated with the buttons (order match with buttons, null is allowed for an event handler)
Результат System

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

Sets the icon for the form
public SetIcon ( Icon zIcon ) : void
zIcon System.Drawing.Icon The icon to use for the dialog. If null is specified the icon is hidden.
Результат void

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

Sets the max desired height for the dialog.
public SetMaxHeight ( int nMaxHeight ) : void
nMaxHeight int
Результат void

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

Sets the title text of the dialog.
public SetTitleText ( string sTitle ) : void
sTitle string
Результат void

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

Shows the dialog (much like the Form.ShowDialog method)
public ShowDialog ( IWin32Window zParentForm ) : DialogResult
zParentForm IWin32Window
Результат DialogResult

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

Flags the dialog to be shown in the task bar.
public ShowInTaskBar ( bool bShow ) : void
bShow bool
Результат void

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

public m_zPanel_Resize ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void