void formBackgroundPatcher_Disposed(object sender, EventArgs e) { if (taskBar != null) { taskBar.Dispose(); taskBar = null; } }