C# Class GameTool.Class.JSONInOut

Exibir arquivo Open project: NHNNEXT/2014-01-HUDIGAME-skyLab

Public Methods

Method Description
ChangeJsonData ( TreeNode changedNode, string val ) : void
LoadJsonFile ( ListBox JsonList, TreeView VariableList, Button StartBtn ) : void
SaveJsonFile ( TextBox JSONNameToSave ) : void
SearchJsonFiles ( ListBox JsonFileList ) : void
ShowJsonData ( TreeView treeView ) : void
ShowJsonItemData ( ListView listView ) : void
ShowJsonItemDetailStatus ( string itemname ) : void
SplitJSONKeyFromKeyValue ( string rawText ) : string
SplitJSONValueFromKeyValue ( string rawText ) : string

Private Methods

Method Description
BuildJsonDataTree ( TreeNode treeNode, System.Net.Json.JsonObjectCollection jObj ) : void
BuildJsonItemDataList ( ListView listView, System.Net.Json.JsonObjectCollection jObj ) : void
IsCorrectFileName ( string fileName ) : bool

Method Details

ChangeJsonData() public method

public ChangeJsonData ( TreeNode changedNode, string val ) : void
changedNode System.Windows.Forms.TreeNode
val string
return void

LoadJsonFile() public method

public LoadJsonFile ( ListBox JsonList, TreeView VariableList, Button StartBtn ) : void
JsonList System.Windows.Forms.ListBox
VariableList System.Windows.Forms.TreeView
StartBtn System.Windows.Forms.Button
return void

SaveJsonFile() public method

public SaveJsonFile ( TextBox JSONNameToSave ) : void
JSONNameToSave System.Windows.Forms.TextBox
return void

SearchJsonFiles() public method

public SearchJsonFiles ( ListBox JsonFileList ) : void
JsonFileList System.Windows.Forms.ListBox
return void

ShowJsonData() public method

public ShowJsonData ( TreeView treeView ) : void
treeView System.Windows.Forms.TreeView
return void

ShowJsonItemData() public method

public ShowJsonItemData ( ListView listView ) : void
listView System.Windows.Forms.ListView
return void

ShowJsonItemDetailStatus() public method

public ShowJsonItemDetailStatus ( string itemname ) : void
itemname string
return void

SplitJSONKeyFromKeyValue() public method

public SplitJSONKeyFromKeyValue ( string rawText ) : string
rawText string
return string

SplitJSONValueFromKeyValue() public method

public SplitJSONValueFromKeyValue ( string rawText ) : string
rawText string
return string