(int exitCode)
| 152 | } |
| 153 | |
| 154 | void Target_OnProcessExit(int exitCode) |
| 155 | { |
| 156 | toolStripStatusLabel_status.Text = String.Format("已终止 - {0}", _Target.Lifetime.ToString("g")); |
| 157 | |
| 158 | // 关闭计时器 |
| 159 | timer_main.Enabled = false; |
| 160 | |
| 161 | toolStripButton_selectApp.Enabled = true; |
| 162 | toolStripTextBox_path.Enabled = true; |
| 163 | toolStripButton_launch.Enabled = true; |
| 164 | |
| 165 | if (_CloseAfterExited) |
| 166 | Close(); |
| 167 | } |
| 168 | |
| 169 | private void toolStripButton_selectApp_Click(object sender, EventArgs e) |
| 170 | { |
nothing calls this directly
no outgoing calls
no test coverage detected