private RowDoubleClickedEventArgs OnRowDoubleClicked(MetaDataBook metaDataBook) { RowDoubleClickedEventArgs args = new RowDoubleClickedEventArgs(metaDataBook); OnRowDoubleClicked(args); return(args); }
public SellBookForm(MetaDataBook metaDataBook) { InitializeComponent(); _metaDataBook = metaDataBook; cbbQuality.Items.Add("A"); cbbQuality.Items.Add("B"); cbbQuality.Items.Add("C"); cbbQuality.Items.Add("F"); }
public SellBookForm(Data.Customer customer, MetaDataBook metaDataBook) { InitializeComponent(); _customer = customer; _metaDataBook = metaDataBook; cbbQuality.Items.Add("A"); cbbQuality.Items.Add("B"); cbbQuality.Items.Add("C"); cbbQuality.Items.Add("F"); }
private void DgvUsedBook_DoubleClick(object sender, EventArgs e) { MetaDataBook metaData = dgvUsedBook.CurrentRow.DataBoundItem as MetaDataBook; if (metaData == null) { return; } OnRowDoubleClicked(metaData); }
public RowDoubleClickedEventArgs(MetaDataBook metaDataBook) { MetaDataBook = metaDataBook; }