private void EZ_BloonEditor_Click(object sender, EventArgs e) { var ezBloon = new EZBloon_Editor(); string path = CurrentProjectVariables.PathToProjectFiles + "\\Assets\\JSON\\BloonDefinitions\\Red.bloon"; ezBloon.path = path; }
private void EZBoon_Button_Click(object sender, EventArgs e) { var ezBloon = new EZBloon_Editor(); string path = Path; ezBloon.path = path; ezBloon.Show(); }
private void EZBoon_Button_Click(object sender, EventArgs e) { if (JSON_Reader.IsValidJson(Editor_TextBox.Text)) { var ezBloon = new EZBloon_Editor(); ezBloon.path = path; ezBloon.Show(); } else { ConsoleHandler.force_append_Notice("ERROR! This file doesn't have valid Json. Please fix the Json to continue"); this.Focus(); } }