//ノードの編集 public void editNode(int targetColumn) { EditValueWindow window = new EditValueWindow(nodes[targetColumn].value, nodes[targetColumn].type); window.ShowDialog(); if (window.isOk) { nodes[targetColumn].type = window.resultType; nodes[targetColumn].value = window.resultValue; } MainWindow.WriteMessage("セルの情報を更新\n"); repaint(); }
//ノードの編集 public void editNode(int targetColumn) { EditValueWindow window = new EditValueWindow(nodes[targetColumn].value,nodes[targetColumn].type); window.ShowDialog(); if (window.isOk) { nodes[targetColumn].type = window.resultType; nodes[targetColumn].value = window.resultValue; } MainWindow.WriteMessage("セルの情報を更新\n"); repaint(); }