两个GridView:viewBarcodeSpecimens,viewBarcodePatient,隐藏viewBarcodeSpecimens的VertScrollVisbility = Never

激活viewBarcodePatient的事件TopRowChanged,原理是同步两个Grid的的TopRowIndex位置即可。

private void viewBarcodePatient_TopRowChanged(object sender, EventArgs e)
{
    viewBarcodeSpecimens.TopRowIndex = (sender as GridView).TopRowIndex;
}

  

相关文章:

  • 2021-07-20
  • 2022-12-23
  • 2021-11-11
  • 2021-10-31
  • 2022-12-23
  • 2021-05-16
  • 2021-07-06
猜你喜欢
  • 2021-11-09
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
相关资源
相似解决方案