コード例 #1
0
ファイル: clsMain.cs プロジェクト: radtek/InfoPos
        public Remote()
        {
            try
            {
                moConnection = new EServ.Client();
                moConnection.EventReceived     += new Client.delegateReceived(moConnection_EventReceived);
                moConnection.EventDisconnected += new Client.delegateDisconnected(moConnection_EventDisconnected);

                moConnection.CheckInterval = 60;
                moConnection.IdleTimeout   = 60;
                moConnection.WaitTimeout   = 60;

                moUser = new User();
                moUser.ComputerName = System.Net.Dns.GetHostName();
                moUser.IPAddress    = Static.NetworkGetIp(moUser.ComputerName);
                moUser.NICAddress   = Static.NetworkGetNic();
            }
            catch
            { }
        }
コード例 #2
0
ファイル: frmChangePass.cs プロジェクト: radtek/InfoPos
 public frmChangePass(EServ.Client mCon, User mUser)
 {
     InitializeComponent();
     moConnection = mCon;
     moUser       = mUser;
 }