Epicor_Integration.SearchPart.Dispose C# (CSharp) Method

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

Usage Example

        private void part_txt_Click(object sender, EventArgs e)
        {
            SearchPart Sp = new SearchPart();

            Sp.ShowDialog();

            pnum_txt.Text = Sp._PartNumber;

            desc_txt.Text = Sp._Description;

            pnum_txt_Leave(pnum_txt,e);

            Sp.Dispose();
        }
All Usage Examples Of Epicor_Integration.SearchPart::Dispose