C# 클래스 _3PA.MainFeatures.UserCommunication

파일 보기 프로젝트 열기: jcaillon/3P 1 사용 예제들

공개 메소드들

메소드 설명
CloseUniqueNotif ( string id ) : void

Closes the notification represented by the given id

ForceClose ( ) : void

Close all the notifications

Init ( ) : void

init an empty form, this gives us a Form to hook onto if we want to do stuff on the UI thread from a back groundthread, use : BeginInvoke()

Input ( object &data, string htmlContent, MessageImg imageType, string title, string subTitle, List buttonsList = null, Action clickHandler = null ) : int

Allows to ask information to the user, returns an integer (-1 if closed, or from 0 to x = buttons.count - 1), buttonsList default to { "Ok", "Cancel" }

Message ( object &data, string htmlContent, MessageImg imageType, string title, string subTitle, List buttonsList = null, bool waitResponse = true, Action clickHandler = null, int minWidth = 450 ) : int
Message ( string htmlContent, MessageImg imageType, string title, string subTitle, List buttonsList = null, bool waitResponse = true, Action clickHandler = null ) : int

Displays a messagebox like window, REMARK : DON'T WAIT FOR AN ANSWER IF YOU CALL IT FROM A THREAD!!!!!!!, new List string { "Ok", "Cancel" }, returns an integer (-1 if closed, or from 0 to x = buttons.count - 1), buttonsList default to { "Ok", "Cancel" }

Notify ( string html, MessageImg imageType, string title, string subTitle, Action clickHandler, int duration, int width = 450 ) : void
Notify ( string html, MessageImg imageType, string title, string subTitle, int duration, int width = 450 ) : void
Notify ( string html, int duration = 10, int width = 450 ) : void
NotifyUnique ( string id, string htmlContent, MessageImg imageType, string title, string subTitle, Action clickHandler, int duration, int width = 450 ) : void

Displays a notification on the bottom right of the screen

메소드 상세

CloseUniqueNotif() 공개 정적인 메소드

Closes the notification represented by the given id
public static CloseUniqueNotif ( string id ) : void
id string
리턴 void

ForceClose() 공개 정적인 메소드

Close all the notifications
public static ForceClose ( ) : void
리턴 void

Init() 공개 정적인 메소드

init an empty form, this gives us a Form to hook onto if we want to do stuff on the UI thread from a back groundthread, use : BeginInvoke()
public static Init ( ) : void
리턴 void

Input() 공개 정적인 메소드

Allows to ask information to the user, returns an integer (-1 if closed, or from 0 to x = buttons.count - 1), buttonsList default to { "Ok", "Cancel" }
public static Input ( object &data, string htmlContent, MessageImg imageType, string title, string subTitle, List buttonsList = null, Action clickHandler = null ) : int
data object
htmlContent string
imageType MessageImg
title string
subTitle string
buttonsList List
clickHandler Action
리턴 int

Message() 공개 정적인 메소드

public static Message ( object &data, string htmlContent, MessageImg imageType, string title, string subTitle, List buttonsList = null, bool waitResponse = true, Action clickHandler = null, int minWidth = 450 ) : int
data object
htmlContent string
imageType MessageImg
title string
subTitle string
buttonsList List
waitResponse bool
clickHandler Action
minWidth int
리턴 int

Message() 공개 정적인 메소드

Displays a messagebox like window, REMARK : DON'T WAIT FOR AN ANSWER IF YOU CALL IT FROM A THREAD!!!!!!!, new List string { "Ok", "Cancel" }, returns an integer (-1 if closed, or from 0 to x = buttons.count - 1), buttonsList default to { "Ok", "Cancel" }
public static Message ( string htmlContent, MessageImg imageType, string title, string subTitle, List buttonsList = null, bool waitResponse = true, Action clickHandler = null ) : int
htmlContent string
imageType MessageImg
title string
subTitle string
buttonsList List
waitResponse bool
clickHandler Action
리턴 int

Notify() 공개 정적인 메소드

public static Notify ( string html, MessageImg imageType, string title, string subTitle, Action clickHandler, int duration, int width = 450 ) : void
html string
imageType MessageImg
title string
subTitle string
clickHandler Action
duration int
width int
리턴 void

Notify() 공개 정적인 메소드

public static Notify ( string html, MessageImg imageType, string title, string subTitle, int duration, int width = 450 ) : void
html string
imageType MessageImg
title string
subTitle string
duration int
width int
리턴 void

Notify() 공개 정적인 메소드

public static Notify ( string html, int duration = 10, int width = 450 ) : void
html string
duration int
width int
리턴 void

NotifyUnique() 공개 정적인 메소드

Displays a notification on the bottom right of the screen
public static NotifyUnique ( string id, string htmlContent, MessageImg imageType, string title, string subTitle, Action clickHandler, int duration, int width = 450 ) : void
id string
htmlContent string
imageType MessageImg
title string
subTitle string
clickHandler Action
duration int
width int
리턴 void