private void btn_beautify_Click(object sender, EventArgs e) { is_beautify = true; this.lab_beautify.Text = "Text has beautify"; this.txt_select.Text = JsonBeautify.beautify(this.txt_select.Text); this.txt_operate.Text = JsonBeautify.beautify(this.txt_operate.Text); }
public void show_cursor_in_txt(MongoCursor <BsonDocument> cursor) { this.txt_result.Text = ""; foreach (BsonDocument doc in cursor) { this.txt_result.Text += doc.ToString() + Environment.NewLine; } this.txt_result.Text = JsonBeautify.beautify(this.txt_result.Text); }
private void btn_beaurify_Click(object sender, EventArgs e) { this.txt_result.Text = JsonBeautify.beautify(this.txt_result.Text); }
public static void PJSON(this object o) { IWindow.write_line(JsonBeautify.beautify(o.ToString()) + Environment.NewLine); }