private void NewJsonFile_Tail() { JsonTreeViewItem.Clear(); JToken jtok = JsonController.ParseJsonUI(Properties.Resources.tail_config_default); Refresh(jtok); }
private void NewJsonFile_File() { JsonTreeViewItem.Clear(); //if(JSonInfo.current.IsModify_tree) //{ // MessageBoxResult mbr = MessageBox.Show("변경사항을 저장하겠습니까?", "저장", MessageBoxButton.YesNoCancel); // switch(mbr) // { // case MessageBoxResult.Yes: // Btn_save_jtree_Click(sender, e); // break; // case MessageBoxResult.Cancel: // return; // } //} //JsonInfo.current.Jtok_root = new JObject(); JToken jtok = JsonController.ParseJsonUI(Properties.Resources.file_config_default); Refresh(jtok); }