Example #1
0
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }

                if (req != null)
                {
                    req.ControlToValidate.Dispose();
                    req.Icon.Dispose();
                    req.Dispose();
                }
            }
            base.Dispose(disposing);
        }