C# 클래스 SteamDesktopAuth.PopupForm

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: Ezzpify/SteamAuthenticator 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
tradeId string
wasAccepted bool
wasCancelled bool
wasClosed bool

공개 메소드들

메소드 설명
PopupForm ( string head, string tradeid, string account, Point location ) : System

Constructor

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
FadeOut ( int interval = 80 ) : void

Function to fade out

InitializeComponent ( ) : void

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

PopupForm_Load ( object sender, EventArgs e ) : void

Form load event Set location of form

PopupForm_MouseEnter ( object sender, EventArgs e ) : void

Mouseenter event Will stop fading and bring back to 100 opaciity

cancelButton_Click ( object sender, EventArgs e ) : void

Cancel button This will cancel the trade offer

confirmButton_Click ( object sender, EventArgs e ) : void

Confirm button This will accept the trade offer

exitButton_Click ( object sender, EventArgs e ) : void

Exit button

fadeTimer_Tick ( object sender, EventArgs e ) : void

Fades out the form Will close form at 0 opacity

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

PopupForm() 공개 메소드

Constructor
public PopupForm ( string head, string tradeid, string account, Point location ) : System
head string Will be displayed as title
tradeid string TradeID of this confirmation
account string Account that sent the trade
location Point Location of form
리턴 System

프로퍼티 상세

tradeId 공개적으로 프로퍼티

public string tradeId
리턴 string

wasAccepted 공개적으로 프로퍼티

public bool wasAccepted
리턴 bool

wasCancelled 공개적으로 프로퍼티

public bool wasCancelled
리턴 bool

wasClosed 공개적으로 프로퍼티

public bool wasClosed
리턴 bool