Epicor_Integration.SearchPart.SearchResultGrid_DoubleClick C# (CSharp) Méthode

SearchResultGrid_DoubleClick() public méthode

public SearchResultGrid_DoubleClick ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void
        void SearchResultGrid_DoubleClick(object sender, EventArgs e)
        {
            //Pass selected part number on
            int y = SearchResultGrid.Rows.IndexOf(SearchResultGrid.SelectedRows[0]);

            _PartNumber = SearchResultGrid["PartNum", y].Value.ToString();

            _Description = SearchResultGrid["PartDescription", y].Value.ToString();

            DialogResult = DialogResult.OK;

            this.Close();
        }