예제 #1
0
 private void Form2_FormClosed(object sender, FormClosedEventArgs e)
 {
     foreach (var item in this.hookedProcesses.Values.ToArray())
     {
         if (item.CaptureProcess != null)
         {
             if (!item.CaptureProcess.Process.HasExited)
             {
                 item.CaptureProcess.CaptureInterface.Disconnect();
             }
         }
     }
     RegistryUtility.SaveSetting("ShowFPS", this.showFPSToolStripMenuItem.Checked);
 }
예제 #2
0
 private void Form2_Load(object sender, EventArgs e)
 {
     this.showFPSToolStripMenuItem.Checked = RegistryUtility.GetSetting("ShowFPS", this.showFPSToolStripMenuItem.Checked);
 }