Exemple #1
0
        void UpdateCycle_WorkStateChanged(JonLibrary.Automatic.RunningState state)
        {
            this.BeginInvoke(new MethodInvoker(delegate
            {
                switch (state)
                {
                case JonLibrary.Automatic.RunningState.Paused:
                    this.tsslUpdate.Text = "P";
                    this.btnPC.Text      = "继续";
                    break;

                case JonLibrary.Automatic.RunningState.Running:
                    this.tsslUpdate.Text = "R";
                    this.btnPC.Enabled   = true;
                    this.btnPC.Text      = "暂停";
                    break;

                case JonLibrary.Automatic.RunningState.Stopped:
                    this.tsslUpdate.Text = "S";
                    break;
                }
            }));
        }
Exemple #2
0
 void UpdateCycle_WorkStateChanged(JonLibrary.Automatic.RunningState state)
 {
     throw new NotImplementedException();
 }