void EndState(object sender, EndStateArgs e) { MessageBox.Show("end"); }
protected virtual void OnEndState(EndStateArgs e) { if (EndStateEvent != null) EndStateEvent(this, e); }