Beispiel #1
0
 private void StubForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (!UnityWatch.CloseTarget(false))
     {
         e.Cancel = true;
     }
 }
Beispiel #2
0
 private void BtnReleaseTarget_Click(object sender, EventArgs e)
 {
     if (!UnityWatch.CloseTarget())
     {
         return;
     }
     DisableInterface();
 }