Пример #1
0
        private void fmMain_FormClosed(object sender, FormClosedEventArgs e)
        {
            thread.WaitForStop();
            LedHelper.Close();

            img1.Dispose();
            img2.Dispose();
        }
Пример #2
0
 private void tbDisp_Leave(object sender, EventArgs e)
 {
     tmDisp.Enabled = false;
     LedHelper.Close();
 }