Beispiel #1
0
 private void toolStripButton_init_Click(object sender, EventArgs e)
 {
     if (ActiveBox != null)
     {
         CFuncNode node = ActiveBox.LinkObj as CFuncNode;
         if (node != null)
         {
             node.Init();
         }
     }
 }
Beispiel #2
0
 private void ToolStripMenuItem_init_Click(object sender, EventArgs e)
 {
     if (mCurNode != null)
     {
         if (mCurNode.IsInit)
         {
             mCurNode.Cleanup();
         }
         else
         {
             mCurNode.Init();
             DoFuncNodeChanged(mCurNode);
         }
     }
 }