private void toolStripButton_start_Click(object sender, EventArgs e) { if (ActiveBox != null) { CFuncNode node = ActiveBox.LinkObj as CFuncNode; if (node != null) { node.Start(); } } }
private void ToolStripMenuItem_start_Click(object sender, EventArgs e) { if (mCurNode != null) { if (mCurNode.IsStart) { mCurNode.Stop(); } else { mCurNode.Start(); } } }