C# 클래스 Support.UI.QueryPanelDialog

상속: QueryPanel
파일 보기 프로젝트 열기: nhmkdev/cardmaker 1 사용 예제들

공개 메소드들

메소드 설명
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