private void btnDisconnect_Click(object sender, EventArgs e)
        {
            timer1.Enabled = false;

            if (_edgeAgent == null)
            {
                return;
            }

            _edgeAgent.Disconnect();
        }
        private void buttonDisconnect_Click(object sender, EventArgs e)
        {
            if (_edgeAgent == null)
            {
                return;
            }

            _edgeAgent.Disconnect();

            _edgeAgent = null;
        }