C# 클래스 Mono.Terminal.Dialog

A Dialog is a container that can also have a number of buttons at the bottom

Dialogs are containers that can have a set of buttons at the bottom. Dialogs are automatically centered on the screen, and on screen changes the buttons are relaid out.

To make the dialog box run until an option has been executed, you would typically create the dialog box and then call Application.Run on the Dialog instance.

상속: Frame
파일 보기 프로젝트 열기: mono/mono-curses 1 사용 예제들

공개 메소드들

메소드 설명
AddButton ( Button b ) : void

Adds a button to the dialog

ContainerMove ( int row, int col ) : void
Dialog ( int w, int h, string title ) : System

Public constructor.

DoSizeChanged ( ) : void
ErrorColors ( ) : void

Makes the default style for the dialog use the error colors.

GetBase ( int &row, int &col ) : void
Prepare ( ) : void
ProcessKey ( int key ) : bool
Redraw ( ) : void

비공개 메소드들

메소드 설명
LayoutButtons ( ) : void

메소드 상세

AddButton() 공개 메소드

Adds a button to the dialog
public AddButton ( Button b ) : void
b Button
리턴 void

ContainerMove() 공개 메소드

public ContainerMove ( int row, int col ) : void
row int
col int
리턴 void

Dialog() 공개 메소드

Public constructor.
public Dialog ( int w, int h, string title ) : System
w int
h int
title string
리턴 System

DoSizeChanged() 공개 메소드

public DoSizeChanged ( ) : void
리턴 void

ErrorColors() 공개 메소드

Makes the default style for the dialog use the error colors.
public ErrorColors ( ) : void
리턴 void

GetBase() 공개 메소드

public GetBase ( int &row, int &col ) : void
row int
col int
리턴 void

Prepare() 공개 메소드

public Prepare ( ) : void
리턴 void

ProcessKey() 공개 메소드

public ProcessKey ( int key ) : bool
key int
리턴 bool

Redraw() 공개 메소드

public Redraw ( ) : void
리턴 void