C# Class SteamDesktopAuth.PopupForm

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: Ezzpify/SteamAuthenticator Class Usage Examples

Méthodes publiques

Свойство Type Description
tradeId string
wasAccepted bool
wasCancelled bool
wasClosed bool

Méthodes publiques

Méthode Description
PopupForm ( string head, string tradeid, string account, Point location ) : System

Constructor

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode 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 méthode

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

PopupForm() public méthode

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
Résultat System

Property Details

tradeId public_oe property

public string tradeId
Résultat string

wasAccepted public_oe property

public bool wasAccepted
Résultat bool

wasCancelled public_oe property

public bool wasCancelled
Résultat bool

wasClosed public_oe property

public bool wasClosed
Résultat bool