Пример #1
0
        private void mbtn_start_Click(object sender, EventArgs e)
        {
            mps.EnsureVisible = true;
            mps.Value         = 80;
            PostTimer.Start();
            mbtn_start.Enabled = false;

            //string s = ps.UploadAllstudentdata();
            //MessageBox.Show(s);
        }
Пример #2
0
 void Connect(string _processName)
 {
     if (connected == false)
     {
         av.ConnectToGameProcess(_processName);
         if (av.GameProcess == null)
         {
             av = null;  return;
         }
         Connection.BackgroundImage = TrackerUI.Properties.Resources.Connected;
         connected = true;
         TrackerTimer.Start();
         PostTimer.Start();
     }
     else
     {
         return;
     }
 }