Epicor_Integration.Item_SheetFactor.reset_btn_Click C# (CSharp) Method

reset_btn_Click() private method

private reset_btn_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void reset_btn_Click(object sender, EventArgs e)
        {
            partnumber_cbo.SelectedIndexChanged -= partnumber_cbo_SelectedIndexChanged;

            gaugeRefTableAdapter.Fill(eNGDataDataSet.GaugeRef);

            partnumber_cbo.DataSource = sheetCoil_UsageTableAdapter.GetPartNumber();

            partnumber_cbo.DisplayMember = "partnumber";

            material_cbo.DataSource = sheetCoil_UsageTableAdapter.GetMaterial("%", "%", "%", "%", "%", "%");

            material_cbo.DisplayMember = "material";

            type_cbo.DataSource = sheetCoil_UsageTableAdapter.GetType("%", "%", "%", "%", "%", "%");

            type_cbo.DisplayMember = "type";

            density_cbo.DataSource = sheetCoil_UsageTableAdapter.GetDensity("%", "%", "%", "%", "%");

            density_cbo.DisplayMember = "density";

            length_cbo.DataSource = sheetCoil_UsageTableAdapter.GetLength("%", "%", "%", "%", "%", "%");

            length_cbo.DisplayMember = "length";

            width_cbo.DataSource = sheetCoil_UsageTableAdapter.GetWidth("%", "%", "%", "%", "%", "%");

            width_cbo.DisplayMember = "width";

            partnumber_cbo.SelectedIndexChanged += partnumber_cbo_SelectedIndexChanged;
        }