Advertisement
Guest User

Untitled

a guest
Apr 26th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. public void LoadOtherDataOne(string ParamName, object ParamValue, string ObjectNameToFill)
  2. {
  3. string ReturnValue = "";
  4. try
  5. {
  6.  
  7. qta.Pasirinkti_GrazinaTikPavadinima(ParamName, ParamValue.ToString(), ref ReturnValue);
  8.  
  9.  
  10. switch (ObjectNameToFill)
  11. {
  12. case "VPID": VPID_cmb.Value = ReturnValue; break;
  13. //case "Valiuta": valiutaTextBox.Text = ReturnValue; break;
  14.  
  15. default:
  16. ShowToolTip(String.Format(Properties.Resources.ReiksmeXyraY, ObjectNameToFill, ParamValue, ReturnValue), null);
  17. break;
  18. }
  19.  
  20. }
  21. catch (Exception ee)
  22. {
  23. sf.log.regLogExc(ee);
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement