C# Класс Jojatekok.MoneroGUI.Desktop.ExtensionMethods

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetName() публичный статический Метод

public static GetName ( this platform ) : string
platform this
Результат string

IndexOfAddress() публичный статический Метод

public static IndexOfAddress ( this collection, string address ) : int
collection this
address string
Результат int

IndexOfLabel() публичный статический Метод

public static IndexOfLabel ( this collection, string label ) : int
collection this
label string
Результат int

ReWrap() публичный статический Метод

public static ReWrap ( this input ) : string
input this
Результат string

SetLocationToCenterScreen() публичный статический Метод

public static SetLocationToCenterScreen ( this window ) : void
window this
Результат void

SetPlaceholderTextBindingPath() публичный статический Метод

public static SetPlaceholderTextBindingPath ( this textBox, Func placeholderTextBinding ) : void
textBox this
placeholderTextBinding Func
Результат void

SetTextBindingPath() публичный статический Метод

public static SetTextBindingPath ( this textControl, Func textBinding ) : void
textControl this
textBinding Func
Результат void

SetToolTipBindingPath() публичный статический Метод

public static SetToolTipBindingPath ( this textControl, Func toolTipBinding ) : void
textControl this
toolTipBinding Func
Результат void

SetWindowProperties() публичный статический Метод

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
Результат void

SetWindowProperties() публичный статический Метод

public static SetWindowProperties ( this dialog, string title, Eto.Drawing.Size minimumSize = default(Size) ) : void
dialog this
title string
minimumSize Eto.Drawing.Size
Результат void

ShowError() публичный статический Метод

public static ShowError ( this control, string message ) : void
control this
message string
Результат void

ShowInformation() публичный статический Метод

public static ShowInformation ( this control, string message ) : void
control this
message string
Результат void

ShowQuestion() публичный статический Метод

public static ShowQuestion ( this control, string message, string title, MessageBoxDefaultButton defaultButton = MessageBoxDefaultButton.Yes ) : bool
control this
message string
title string
defaultButton MessageBoxDefaultButton
Результат bool

ShowWarning() публичный статический Метод

public static ShowWarning ( this control, string message ) : void
control this
message string
Результат void

ToStringReadable() публичный статический Метод

public static ToStringReadable ( this timeSpan ) : string
timeSpan this
Результат string

UppercaseFirst() публичный статический Метод

public static UppercaseFirst ( this input ) : string
input this
Результат string