Exemplo n.º 1
0
        public bool Run()
        {
            State = StepViewState.InProgress;

            bool res = myFunc();
            if (res) {
                State = StepViewState.OK;
            } else {
                State = StepViewState.Error;
            }
            return res;
        }
Exemplo n.º 2
0
 public void Reset()
 {
     State = StepViewState.Hidden;
 }