Example #1
0
        void UpdateInTick(object sender, EventArgs e)
        {
            vailUser++;

            if (vailUser == 3)
            {
                client.UserLoginAsync((App.Current as IApplicationFramework).Profile.UserCode,
                                      (App.Current as IApplicationFramework).Profile.PassWord, CurrentSystemType.Instance.SystemType);
                vailUser = 0;
            }
        }