C# Class SteamDesktopAuth.PopupForm

Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: Ezzpify/SteamAuthenticator Class Usage Examples

Public Properties

Property Type Description
tradeId string
wasAccepted bool
wasCancelled bool
wasClosed bool

Public Methods

Method Description
PopupForm ( string head, string tradeid, string account, Point location ) : System

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
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

Method Details

Dispose() protected method

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

PopupForm() public method

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
return System

Property Details

tradeId public_oe property

public string tradeId
return string

wasAccepted public_oe property

public bool wasAccepted
return bool

wasCancelled public_oe property

public bool wasCancelled
return bool

wasClosed public_oe property

public bool wasClosed
return bool