Example #1
0
 /// <summary>
 /// 焦点行改变触发事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void gvOtherInProduct_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e)
 {
     try
     {
         inoutHelper.LoadLayoutAndProps(repositoryItemComboBoxOStockLayout, gvOtherInProduct
                                        , categoryKeyProps, categorySaleProps, categoryNotKeyProps, categoryInputProps);
     }
     catch (Exception ex)
     {
         XtraMessageBox.Show(ex.Message, Constants.SYSTEM_PROMPT, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }