C# 클래스 BF2Statistics.Notify

Notify is a class that queues and shows Alert "toast" messages to the user, which spawn just above the task bar, in the lower right hand side of the screen
파일 보기 프로젝트 열기: BF2Statistics/ControlCenter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultDockTime int

보호된 프로퍼티들

프로퍼티 타입 설명
Alerts Queue

공개 메소드들

메소드 설명
Show ( string Message, string SubText, AlertType Type = AlertType.Info ) : void

Shows a custom Toast message with the specified icon

보호된 메소드들

메소드 설명
CheckAlerts ( ) : void

This method is called internally to determine if a new alert can be shown from the alert queue.

비공개 메소드들

메소드 설명
AlertClosed ( object sender, EventArgs e ) : void

Event is fired whenever a Toast alert is closed. This method is responsible for displaying the next queued alert message

Notify ( ) : System

Static Constructor

메소드 상세

CheckAlerts() 보호된 정적인 메소드

This method is called internally to determine if a new alert can be shown from the alert queue.
protected static CheckAlerts ( ) : void
리턴 void

Show() 공개 정적인 메소드

Shows a custom Toast message with the specified icon
public static Show ( string Message, string SubText, AlertType Type = AlertType.Info ) : void
Message string
SubText string
Type AlertType
리턴 void

프로퍼티 상세

Alerts 보호되어 있는 정적으로 프로퍼티

A queue of alerts to display. Alerts are added here to prevent too many alerts from showing at once
protected static Queue Alerts
리턴 Queue

DefaultDockTime 공개적으로 정적으로 프로퍼티

Gets or Sets the default dock time of an alert, if one is not specified in the ShowAlert method
public static int DefaultDockTime
리턴 int