You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.4 KiB

1 month ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.IO;
  9. using System.Reflection;
  10. using System.Threading.Tasks;
  11. using System.Windows.Forms;
  12. //using ShenTun.IcCard.Common;
  13. //using ShenTun.IcCard.YT100;
  14. namespace ShenTun.IcCard.Test
  15. {
  16. public partial class Form1 : Form
  17. {
  18. public Form1()
  19. {
  20. InitializeComponent();
  21. }
  22. public class request
  23. {
  24. public int asIcCardInterface { get; set; }
  25. }
  26. private async void button1_Click(object sender, EventArgs e)
  27. {
  28. try
  29. {
  30. /*
  31. ReadCardforYT100 read = new ReadCardforYT100();
  32. IReadCard icard = read;
  33. icard.GetReadCard();
  34. * */
  35. //request r = new request()
  36. //{
  37. // asIcCardInterface = 3
  38. //};
  39. //IcCardMethods s = new IcCardMethods();
  40. //var str = await s.GetIcReadCard(r);
  41. //string s1 = str.ToString() ;
  42. string path_current = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
  43. }
  44. catch(Exception ex)
  45. {
  46. MessageBox.Show(ex.Message);
  47. }
  48. }
  49. }
  50. }