コード例 #1
0
 private void toolStripButton_stop_Click(object sender, EventArgs e)
 {
     if (ActiveBox != null)
     {
         CFuncNode node = ActiveBox.LinkObj as CFuncNode;
         if (node != null)
         {
             node.Stop();
         }
     }
 }
コード例 #2
0
ファイル: FuncTreeView.cs プロジェクト: ewin66/Monitor
 private void ToolStripMenuItem_start_Click(object sender, EventArgs e)
 {
     if (mCurNode != null)
     {
         if (mCurNode.IsStart)
         {
             mCurNode.Stop();
         }
         else
         {
             mCurNode.Start();
         }
     }
 }