C# Class Steamp3.Global

Afficher le fichier Open project: ta0soft/STEAMp3

Méthodes publiques

Свойство Type Description
MainWindow MainWindow
MediaPlayer MediaPlayer
Settings Settings
Skin UI.Skin
Stats Stats
Steam Steam
ToolTip UI.ToolTip

Méthodes publiques

Méthode Description
AdjustAlpha ( Bitmap b ) : Bitmap
AdjustAlpha ( Bitmap b, int alpha ) : Bitmap
AdjustColor ( Bitmap b, Color c ) : Bitmap
AdjustHue ( Bitmap b, Color c ) : Bitmap
BingSearch ( string text ) : string
BoolToString ( bool b, string falseString, string trueString ) : string
CharToInt ( char c ) : int
ColorToHSV ( Color color, double &hue, double &saturation, double &value ) : void
ColorToHex ( Color c ) : string
CommonDenominator ( int a, int b ) : int
ConvertBytes ( long bytes ) : string
ConvertIP ( uint ip ) : string
ConvertMilliseconds ( int milliseconds, bool ms ) : string
ConvertMinutes ( int minutes, bool ms ) : string
ConvertSeconds ( int seconds, bool ms ) : string
ConvertTicks ( long ticks, bool ms ) : string
ConvertTime ( System.TimeSpan ts, bool ms ) : string
ConvertUnixDate ( int date, string defaultValue ) : string
CurrentLeaks ( int count ) : string
DrawRoundedRectangle ( Graphics g, Rectangle r, Pen p ) : void
DrawString ( IntPtr hDC, string text, Rectangle r, TextFormatFlags flags ) : void
FillRoundedRectangle ( Graphics g, Rectangle r, Brush b ) : void
FormatBitrate ( System.Windows.Forms.UI item ) : string
FormatNumber ( int i ) : string
FormatString ( string s, string empty ) : string
FormatTrack ( short s, string empty ) : string
GenerateCommands ( string url ) : void
GenerateConfigXml ( string url ) : bool
GetAchieved ( SteamAPI steamID ) : string
GetAverage ( int arr ) : int
GetBattery ( ) : string
GetCPU ( ) : string
GetColor ( string s ) : Color
GetCommunityID ( SteamAPI steamID ) : string
GetContrastColor ( Color c ) : Color
GetDrive ( string drive ) : string
GetDrives ( ) : string
GetFileDescription ( string filename ) : string
GetFirstLine ( string lines ) : string
GetFont ( string s ) : Font
GetForecast ( string zip ) : string
GetGPU ( ) : string
GetGasPrices ( string zip ) : string
GetHoroscope ( string sign ) : string
GetHttpFileSize ( string url ) : long
GetHttpTitle ( string url ) : string
GetIniValue ( string url, string section, string key, string defaultValue ) : string
GetIniValueFromString ( string ini, string attribute, string defaultValue ) : string
GetNews ( ) : string
GetNews ( string url ) : string
GetNullableByte ( string s ) : byte?
GetNullableShort ( string s ) : short?
GetOnlineUsers ( ) : string
GetPercent ( double complete, double total, double max ) : double
GetPercent ( int complete, int total, int max ) : int
GetPercent ( long complete, long total, int max ) : int
GetPercent ( double complete, double total ) : string
GetRAM ( ) : string
GetResolution ( ) : string
GetStats ( SteamAPI steamID ) : string
GetUsage ( ) : string
GetWeather ( string zip ) : string
GetXmlValue ( XmlNode node, string attribute, string defaultValue ) : string
GetYouTubeTitle ( string url ) : string
GoogleSearch ( string text ) : string
HSVToColor ( double hue, double saturation, double value ) : Color
HiWord ( IntPtr dWord ) : int
HiWord ( int i ) : int
InUse ( string path ) : bool
IsAlpha ( string s ) : bool
IsColor ( string s ) : bool
IsDirectory ( string path ) : bool
IsFile ( string path ) : bool
IsInt32 ( string s ) : bool
IsRelativePath ( string path ) : bool
IsUInt64 ( string s ) : bool
IsValidDirectory ( string path ) : bool
IsValidFile ( string path ) : bool
LatestTweet ( string user ) : string
LeftOf ( string s, string search ) : string
LoWord ( IntPtr dWord ) : int
LoWord ( int i ) : int
LoadArray ( string filename ) : string[]
LoadString ( string filename ) : string
MeasureString ( Graphics g, string s, Font f, RectangleF rf ) : Rectangle
MeasureString ( Graphics g, string s, Font f, RectangleF rf, StringFormat sf ) : Rectangle
Netflix ( int count ) : string
ParsePrice ( string zip, string price ) : string
RandomNumber ( int max, bool allowZero ) : int
RandomNumber ( int seed, int max, bool allowZero ) : int
ReadRegKey ( RegistryKey root, string key, string item ) : string
Recycle ( string filename ) : bool
ReplaceString ( string s, string find, string replace ) : string
ResolveHost ( string host, int port ) : IPEndPoint
RightOf ( string s, string search ) : string
SaveString ( string s, string filename ) : void
SaveXml ( XmlDocument xml, string url, Encoding encoding ) : bool
SetIniValue ( string url, string section, string key, string value ) : void
ShortenURL ( string url ) : string
StringToBool ( string s, string trueString ) : bool
StringToInt ( string s ) : int
StringToUInt64 ( string s ) : ulong
TopArtists ( int count ) : string
TranslateText ( string text, string from, string to, string language ) : string
Wait ( int ms ) : void
WordOfTheDay ( ) : string

Private Methods

Méthode Description
AdjustWindowRectEx ( RECT &lpRect, uint dwStyle, bool bMenu, uint dwExStyle ) : bool
CreateCompatibleDC ( IntPtr hdc ) : IntPtr
DrawTextEx ( IntPtr hDC, string lpszString, int nCount, RECT &lpRect, int nFormat, [ lpDTParams ) : int
EnumDisplaySettings ( string lpszDeviceName, int iModeNum, DEVMODE &lpDevMode ) : bool
GetForegroundWindow ( ) : IntPtr
GetPrivateProfileString ( string section, string key, string def, StringBuilder retVal, int size, string filePath ) : int
GetWindowRect ( IntPtr hWnd, RECT &lpRect ) : bool
GlobalMemoryStatusEx ( [ lpBuffer ) : bool
Main ( ) : void
Next ( int prevSeed, bool update ) : float
Prev ( ) : float
Randomize ( ) : void
Randomize ( double number ) : void
Randomize ( int number ) : void
Rnd ( ) : float
Rnd ( float number ) : float
SHFileOperation ( SHFILEOPSTRUCT &FileOp ) : int
SendMessage ( IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam ) : IntPtr
SetForegroundWindow ( IntPtr hWnd ) : bool
SetParent ( IntPtr hWndChild, IntPtr hWndNewParent ) : IntPtr
ShowWindow ( IntPtr hWnd, int nCmdShow ) : bool
WritePrivateProfileString ( string section, string key, string val, string filePath ) : long

Method Details

AdjustAlpha() public static méthode

public static AdjustAlpha ( Bitmap b ) : Bitmap
b System.Drawing.Bitmap
Résultat System.Drawing.Bitmap

AdjustAlpha() public static méthode

public static AdjustAlpha ( Bitmap b, int alpha ) : Bitmap
b System.Drawing.Bitmap
alpha int
Résultat System.Drawing.Bitmap

AdjustColor() public static méthode

public static AdjustColor ( Bitmap b, Color c ) : Bitmap
b System.Drawing.Bitmap
c Color
Résultat System.Drawing.Bitmap

AdjustHue() public static méthode

public static AdjustHue ( Bitmap b, Color c ) : Bitmap
b System.Drawing.Bitmap
c Color
Résultat System.Drawing.Bitmap

BingSearch() public static méthode

public static BingSearch ( string text ) : string
text string
Résultat string

BoolToString() public static méthode

public static BoolToString ( bool b, string falseString, string trueString ) : string
b bool
falseString string
trueString string
Résultat string

CharToInt() public static méthode

public static CharToInt ( char c ) : int
c char
Résultat int

ColorToHSV() public static méthode

public static ColorToHSV ( Color color, double &hue, double &saturation, double &value ) : void
color Color
hue double
saturation double
value double
Résultat void

ColorToHex() public static méthode

public static ColorToHex ( Color c ) : string
c Color
Résultat string

CommonDenominator() public static méthode

public static CommonDenominator ( int a, int b ) : int
a int
b int
Résultat int

ConvertBytes() public static méthode

public static ConvertBytes ( long bytes ) : string
bytes long
Résultat string

ConvertIP() public static méthode

public static ConvertIP ( uint ip ) : string
ip uint
Résultat string

ConvertMilliseconds() public static méthode

public static ConvertMilliseconds ( int milliseconds, bool ms ) : string
milliseconds int
ms bool
Résultat string

ConvertMinutes() public static méthode

public static ConvertMinutes ( int minutes, bool ms ) : string
minutes int
ms bool
Résultat string

ConvertSeconds() public static méthode

public static ConvertSeconds ( int seconds, bool ms ) : string
seconds int
ms bool
Résultat string

ConvertTicks() public static méthode

public static ConvertTicks ( long ticks, bool ms ) : string
ticks long
ms bool
Résultat string

ConvertTime() public static méthode

public static ConvertTime ( System.TimeSpan ts, bool ms ) : string
ts System.TimeSpan
ms bool
Résultat string

ConvertUnixDate() public static méthode

public static ConvertUnixDate ( int date, string defaultValue ) : string
date int
defaultValue string
Résultat string

CurrentLeaks() public static méthode

public static CurrentLeaks ( int count ) : string
count int
Résultat string

DrawRoundedRectangle() public static méthode

public static DrawRoundedRectangle ( Graphics g, Rectangle r, Pen p ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
p System.Drawing.Pen
Résultat void

DrawString() public static méthode

public static DrawString ( IntPtr hDC, string text, Rectangle r, TextFormatFlags flags ) : void
hDC System.IntPtr
text string
r System.Drawing.Rectangle
flags TextFormatFlags
Résultat void

FillRoundedRectangle() public static méthode

public static FillRoundedRectangle ( Graphics g, Rectangle r, Brush b ) : void
g System.Drawing.Graphics
r System.Drawing.Rectangle
b System.Drawing.Brush
Résultat void

FormatBitrate() public static méthode

public static FormatBitrate ( System.Windows.Forms.UI item ) : string
item System.Windows.Forms.UI
Résultat string

FormatNumber() public static méthode

public static FormatNumber ( int i ) : string
i int
Résultat string

FormatString() public static méthode

public static FormatString ( string s, string empty ) : string
s string
empty string
Résultat string

FormatTrack() public static méthode

public static FormatTrack ( short s, string empty ) : string
s short
empty string
Résultat string

GenerateCommands() public static méthode

public static GenerateCommands ( string url ) : void
url string
Résultat void

GenerateConfigXml() public static méthode

public static GenerateConfigXml ( string url ) : bool
url string
Résultat bool

GetAchieved() public static méthode

public static GetAchieved ( SteamAPI steamID ) : string
steamID SteamAPI
Résultat string

GetAverage() public static méthode

public static GetAverage ( int arr ) : int
arr int
Résultat int

GetBattery() public static méthode

public static GetBattery ( ) : string
Résultat string

GetCPU() public static méthode

public static GetCPU ( ) : string
Résultat string

GetColor() public static méthode

public static GetColor ( string s ) : Color
s string
Résultat Color

GetCommunityID() public static méthode

public static GetCommunityID ( SteamAPI steamID ) : string
steamID SteamAPI
Résultat string

GetContrastColor() public static méthode

public static GetContrastColor ( Color c ) : Color
c Color
Résultat Color

GetDrive() public static méthode

public static GetDrive ( string drive ) : string
drive string
Résultat string

GetDrives() public static méthode

public static GetDrives ( ) : string
Résultat string

GetFileDescription() public static méthode

public static GetFileDescription ( string filename ) : string
filename string
Résultat string

GetFirstLine() public static méthode

public static GetFirstLine ( string lines ) : string
lines string
Résultat string

GetFont() public static méthode

public static GetFont ( string s ) : Font
s string
Résultat System.Drawing.Font

GetForecast() public static méthode

public static GetForecast ( string zip ) : string
zip string
Résultat string

GetGPU() public static méthode

public static GetGPU ( ) : string
Résultat string

GetGasPrices() public static méthode

public static GetGasPrices ( string zip ) : string
zip string
Résultat string

GetHoroscope() public static méthode

public static GetHoroscope ( string sign ) : string
sign string
Résultat string

GetHttpFileSize() public static méthode

public static GetHttpFileSize ( string url ) : long
url string
Résultat long

GetHttpTitle() public static méthode

public static GetHttpTitle ( string url ) : string
url string
Résultat string

GetIniValue() public static méthode

public static GetIniValue ( string url, string section, string key, string defaultValue ) : string
url string
section string
key string
defaultValue string
Résultat string

GetIniValueFromString() public static méthode

public static GetIniValueFromString ( string ini, string attribute, string defaultValue ) : string
ini string
attribute string
defaultValue string
Résultat string

GetNews() public static méthode

public static GetNews ( ) : string
Résultat string

GetNews() public static méthode

public static GetNews ( string url ) : string
url string
Résultat string

GetNullableByte() public static méthode

public static GetNullableByte ( string s ) : byte?
s string
Résultat byte?

GetNullableShort() public static méthode

public static GetNullableShort ( string s ) : short?
s string
Résultat short?

GetOnlineUsers() public static méthode

public static GetOnlineUsers ( ) : string
Résultat string

GetPercent() public static méthode

public static GetPercent ( double complete, double total, double max ) : double
complete double
total double
max double
Résultat double

GetPercent() public static méthode

public static GetPercent ( int complete, int total, int max ) : int
complete int
total int
max int
Résultat int

GetPercent() public static méthode

public static GetPercent ( long complete, long total, int max ) : int
complete long
total long
max int
Résultat int

GetPercent() public static méthode

public static GetPercent ( double complete, double total ) : string
complete double
total double
Résultat string

GetRAM() public static méthode

public static GetRAM ( ) : string
Résultat string

GetResolution() public static méthode

public static GetResolution ( ) : string
Résultat string

GetStats() public static méthode

public static GetStats ( SteamAPI steamID ) : string
steamID SteamAPI
Résultat string

GetUsage() public static méthode

public static GetUsage ( ) : string
Résultat string

GetWeather() public static méthode

public static GetWeather ( string zip ) : string
zip string
Résultat string

GetXmlValue() public static méthode

public static GetXmlValue ( XmlNode node, string attribute, string defaultValue ) : string
node System.Xml.XmlNode
attribute string
defaultValue string
Résultat string

GetYouTubeTitle() public static méthode

public static GetYouTubeTitle ( string url ) : string
url string
Résultat string

GoogleSearch() public static méthode

public static GoogleSearch ( string text ) : string
text string
Résultat string

HSVToColor() public static méthode

public static HSVToColor ( double hue, double saturation, double value ) : Color
hue double
saturation double
value double
Résultat Color

HiWord() public static méthode

public static HiWord ( IntPtr dWord ) : int
dWord System.IntPtr
Résultat int

HiWord() public static méthode

public static HiWord ( int i ) : int
i int
Résultat int

InUse() public static méthode

public static InUse ( string path ) : bool
path string
Résultat bool

IsAlpha() public static méthode

public static IsAlpha ( string s ) : bool
s string
Résultat bool

IsColor() public static méthode

public static IsColor ( string s ) : bool
s string
Résultat bool

IsDirectory() public static méthode

public static IsDirectory ( string path ) : bool
path string
Résultat bool

IsFile() public static méthode

public static IsFile ( string path ) : bool
path string
Résultat bool

IsInt32() public static méthode

public static IsInt32 ( string s ) : bool
s string
Résultat bool

IsRelativePath() public static méthode

public static IsRelativePath ( string path ) : bool
path string
Résultat bool

IsUInt64() public static méthode

public static IsUInt64 ( string s ) : bool
s string
Résultat bool

IsValidDirectory() public static méthode

public static IsValidDirectory ( string path ) : bool
path string
Résultat bool

IsValidFile() public static méthode

public static IsValidFile ( string path ) : bool
path string
Résultat bool

LatestTweet() public static méthode

public static LatestTweet ( string user ) : string
user string
Résultat string

LeftOf() public static méthode

public static LeftOf ( string s, string search ) : string
s string
search string
Résultat string

LoWord() public static méthode

public static LoWord ( IntPtr dWord ) : int
dWord System.IntPtr
Résultat int

LoWord() public static méthode

public static LoWord ( int i ) : int
i int
Résultat int

LoadArray() public static méthode

public static LoadArray ( string filename ) : string[]
filename string
Résultat string[]

LoadString() public static méthode

public static LoadString ( string filename ) : string
filename string
Résultat string

MeasureString() public static méthode

public static MeasureString ( Graphics g, string s, Font f, RectangleF rf ) : Rectangle
g System.Drawing.Graphics
s string
f System.Drawing.Font
rf System.Drawing.RectangleF
Résultat System.Drawing.Rectangle

MeasureString() public static méthode

public static MeasureString ( Graphics g, string s, Font f, RectangleF rf, StringFormat sf ) : Rectangle
g System.Drawing.Graphics
s string
f System.Drawing.Font
rf System.Drawing.RectangleF
sf System.Drawing.StringFormat
Résultat System.Drawing.Rectangle

Netflix() public static méthode

public static Netflix ( int count ) : string
count int
Résultat string

ParsePrice() public static méthode

public static ParsePrice ( string zip, string price ) : string
zip string
price string
Résultat string

RandomNumber() public static méthode

public static RandomNumber ( int max, bool allowZero ) : int
max int
allowZero bool
Résultat int

RandomNumber() public static méthode

public static RandomNumber ( int seed, int max, bool allowZero ) : int
seed int
max int
allowZero bool
Résultat int

ReadRegKey() public static méthode

public static ReadRegKey ( RegistryKey root, string key, string item ) : string
root Microsoft.Win32.RegistryKey
key string
item string
Résultat string

Recycle() public static méthode

public static Recycle ( string filename ) : bool
filename string
Résultat bool

ReplaceString() public static méthode

public static ReplaceString ( string s, string find, string replace ) : string
s string
find string
replace string
Résultat string

ResolveHost() public static méthode

public static ResolveHost ( string host, int port ) : IPEndPoint
host string
port int
Résultat System.Net.IPEndPoint

RightOf() public static méthode

public static RightOf ( string s, string search ) : string
s string
search string
Résultat string

SaveString() public static méthode

public static SaveString ( string s, string filename ) : void
s string
filename string
Résultat void

SaveXml() public static méthode

public static SaveXml ( XmlDocument xml, string url, Encoding encoding ) : bool
xml System.Xml.XmlDocument
url string
encoding System.Text.Encoding
Résultat bool

SetIniValue() public static méthode

public static SetIniValue ( string url, string section, string key, string value ) : void
url string
section string
key string
value string
Résultat void

ShortenURL() public static méthode

public static ShortenURL ( string url ) : string
url string
Résultat string

StringToBool() public static méthode

public static StringToBool ( string s, string trueString ) : bool
s string
trueString string
Résultat bool

StringToInt() public static méthode

public static StringToInt ( string s ) : int
s string
Résultat int

StringToUInt64() public static méthode

public static StringToUInt64 ( string s ) : ulong
s string
Résultat ulong

TopArtists() public static méthode

public static TopArtists ( int count ) : string
count int
Résultat string

TranslateText() public static méthode

public static TranslateText ( string text, string from, string to, string language ) : string
text string
from string
to string
language string
Résultat string

Wait() public static méthode

public static Wait ( int ms ) : void
ms int
Résultat void

WordOfTheDay() public static méthode

public static WordOfTheDay ( ) : string
Résultat string

Property Details

MainWindow public_oe static_oe property

public static MainWindow,Steamp3 MainWindow
Résultat MainWindow

MediaPlayer public_oe static_oe property

public static MediaPlayer,Steamp3 MediaPlayer
Résultat MediaPlayer

Settings public_oe static_oe property

public static Settings,Steamp3 Settings
Résultat Settings

Skin public_oe static_oe property

public static UI.Skin Skin
Résultat UI.Skin

Stats public_oe static_oe property

public static Stats,Steamp3 Stats
Résultat Stats

Steam public_oe static_oe property

public static Steam,Steamp3 Steam
Résultat Steam

ToolTip public_oe static_oe property

public static UI.ToolTip ToolTip
Résultat UI.ToolTip