using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.IO; using System.Reflection; using System.Threading.Tasks; using System.Windows.Forms; //using ShenTun.IcCard.Common; //using ShenTun.IcCard.YT100; namespace ShenTun.IcCard.Test { public partial class Form1 : Form { public Form1() { InitializeComponent(); } public class request { public int asIcCardInterface { get; set; } } private async void button1_Click(object sender, EventArgs e) { try { /* ReadCardforYT100 read = new ReadCardforYT100(); IReadCard icard = read; icard.GetReadCard(); * */ //request r = new request() //{ // asIcCardInterface = 3 //}; //IcCardMethods s = new IcCardMethods(); //var str = await s.GetIcReadCard(r); //string s1 = str.ToString() ; string path_current = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); } catch(Exception ex) { MessageBox.Show(ex.Message); } } } }