Example #1
0
        //ノードの編集
        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();
        }
Example #2
0
 //ノードの編集
 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();
 }