public FormatText ( string Content, System.Text.Format Format ) : string | ||
Content | string | |
Format | System.Text.Format | |
return | string |
public void Save(string Path, JSONObject JSON, Format Format) { Serializer s = new Serializer(); string text = s.GetText(JSON); text = s.FormatText(text, Format); File.WriteAllText(Path, text); }
private void LoadText() { try { Serializer s = new Serializer(); string text = s.GetText(currentObject); text = s.FormatText(text, format); CodeBox.Clear(); CodeBox.AppendText(text); lastText = text; } catch (Exception ex) { MessageBox.Show(ex.Message); } }