private void buttonStartStop_Click(object sender, System.EventArgs e)
{
WaitCursor cursor = new WaitCursor();
switch (_application.ServerState)
{
case eServerState.hStateRunning:
_application.Stop();
break;
case eServerState.hStateStopped:
_application.Start();
break;
}
DisplayServerState();
}