private void btnDispose_Click(object sender, EventArgs e) { SecureExecute(() => { timer.Dispose(); timer = null; }); }