//选中了一行 private void StoreManagementTab_tableView_RowSelected(object sender, IRowShowable selected) { storeManagementTab_selectedProductStorage = (ProductStorage)selected; labelShowProductType.Text = storeManagementTab_selectedProductStorage.m_product.productType; labelShowProductClass.Text = storeManagementTab_selectedProductStorage.m_product.productClass; labelShowProductMNo.Text = storeManagementTab_selectedProductStorage.m_product.MNo; labelShowProductCost.Text = storeManagementTab_selectedProductStorage.importCost.ToString(); labelShowImportTime.Text = storeManagementTab_selectedProductStorage.importTime.ToString(); }
private void ImportLogViewTab_tableView_RowSelected(object sender, IRowShowable selected) { ImportLog log = (ImportLog)selected; importLogViewShowProductType.Text = log.importProduct.m_product.productType; importLogViewShowProductClass.Text = log.importProduct.m_product.productClass; importLogViewShowProductMNo.Text = log.importProduct.m_product.MNo; importLogViewShowImportCost.Text = log.importProduct.importCost.ToString(); importLogViewShowImportTime.Text = log.importProduct.importTime.ToString(); importLogViewShowImportUser.Text = log.operatorName; importLogViewShowComments.Text = log.comments; }
public void DoubleClicked(IRowShowable target) { throw new NotImplementedException(); }
/// <summary> /// 添加一行 /// </summary> /// <param name="row">要添加的行</param> public void addRow(IRowShowable row) { //todo }