C# Class Jojatekok.MoneroGUI.Desktop.ExtensionMethods

Mostrar archivo Open project: kripod/MoneroGui.Net

Public Methods

Method Description
GetName ( this platform ) : string
IndexOfAddress ( this collection, string address ) : int
IndexOfLabel ( this collection, string label ) : int
ReWrap ( this input ) : string
SetLocationToCenterScreen ( this window ) : void
SetPlaceholderTextBindingPath ( this textBox, Func placeholderTextBinding ) : void
SetTextBindingPath ( this textControl, Func textBinding ) : void
SetToolTipBindingPath ( this textControl, Func toolTipBinding ) : void
SetWindowProperties ( this form, Func titleBindingPath, Eto.Drawing.Size size, Eto.Drawing.Size minimumSize = default(Size) ) : void
SetWindowProperties ( this dialog, string title, Eto.Drawing.Size minimumSize = default(Size) ) : void
ShowError ( this control, string message ) : void
ShowInformation ( this control, string message ) : void
ShowQuestion ( this control, string message, string title, MessageBoxDefaultButton defaultButton = MessageBoxDefaultButton.Yes ) : bool
ShowWarning ( this control, string message ) : void
ToStringReadable ( this timeSpan ) : string
UppercaseFirst ( this input ) : string

Method Details

GetName() public static method

public static GetName ( this platform ) : string
platform this
return string

IndexOfAddress() public static method

public static IndexOfAddress ( this collection, string address ) : int
collection this
address string
return int

IndexOfLabel() public static method

public static IndexOfLabel ( this collection, string label ) : int
collection this
label string
return int

ReWrap() public static method

public static ReWrap ( this input ) : string
input this
return string

SetLocationToCenterScreen() public static method

public static SetLocationToCenterScreen ( this window ) : void
window this
return void

SetPlaceholderTextBindingPath() public static method

public static SetPlaceholderTextBindingPath ( this textBox, Func placeholderTextBinding ) : void
textBox this
placeholderTextBinding Func
return void

SetTextBindingPath() public static method

public static SetTextBindingPath ( this textControl, Func textBinding ) : void
textControl this
textBinding Func
return void

SetToolTipBindingPath() public static method

public static SetToolTipBindingPath ( this textControl, Func toolTipBinding ) : void
textControl this
toolTipBinding Func
return void

SetWindowProperties() public static method

public static SetWindowProperties ( this form, Func titleBindingPath, Eto.Drawing.Size size, Eto.Drawing.Size minimumSize = default(Size) ) : void
form this
titleBindingPath Func
size Eto.Drawing.Size
minimumSize Eto.Drawing.Size
return void

SetWindowProperties() public static method

public static SetWindowProperties ( this dialog, string title, Eto.Drawing.Size minimumSize = default(Size) ) : void
dialog this
title string
minimumSize Eto.Drawing.Size
return void

ShowError() public static method

public static ShowError ( this control, string message ) : void
control this
message string
return void

ShowInformation() public static method

public static ShowInformation ( this control, string message ) : void
control this
message string
return void

ShowQuestion() public static method

public static ShowQuestion ( this control, string message, string title, MessageBoxDefaultButton defaultButton = MessageBoxDefaultButton.Yes ) : bool
control this
message string
title string
defaultButton MessageBoxDefaultButton
return bool

ShowWarning() public static method

public static ShowWarning ( this control, string message ) : void
control this
message string
return void

ToStringReadable() public static method

public static ToStringReadable ( this timeSpan ) : string
timeSpan this
return string

UppercaseFirst() public static method

public static UppercaseFirst ( this input ) : string
input this
return string