C# Class ScriptCs.Gui.Gui

Inheritance: IScriptPackContext
ファイルを表示 Open project: hemme/scriptcs-gui

Public Methods

Method Description
Drawing ( bool modal = false ) : System.Drawing.Graphics
GetClipboardText ( bool join = true ) : string
InSTA ( System.Action action, bool join = false ) : void

Starts a new thread in STA

OpenFileDialog ( string path = null, bool join = true ) : string
PopUp ( bool modal = false, Action initForm = null ) : StaForm
SaveFileDialog ( string path = null, bool join = true ) : string
SetClipboardText ( string text, bool join = true ) : void

Method Details

Drawing() public method

public Drawing ( bool modal = false ) : System.Drawing.Graphics
modal bool
return System.Drawing.Graphics

GetClipboardText() public method

public GetClipboardText ( bool join = true ) : string
join bool
return string

InSTA() public method

Starts a new thread in STA
public InSTA ( System.Action action, bool join = false ) : void
action System.Action The action to execute in the new thread
join bool Join the thread
return void

OpenFileDialog() public method

public OpenFileDialog ( string path = null, bool join = true ) : string
path string
join bool
return string

PopUp() public method

public PopUp ( bool modal = false, Action initForm = null ) : StaForm
modal bool
initForm Action
return StaForm

SaveFileDialog() public method

public SaveFileDialog ( string path = null, bool join = true ) : string
path string
join bool
return string

SetClipboardText() public method

public SetClipboardText ( string text, bool join = true ) : void
text string
join bool
return void