private void btnGetLevelZ_Click(object sender, System.EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;

            GetLocationResp resp = Connection.SendGetLocationRequest(null);

            if (resp != null)
            {
                numLevelZ.Value = (decimal)resp.Z;
                _levelZ[cboLevel.SelectedIndex] = resp.Z;
            }

            Cursor.Current = Cursors.Default;
        }
예제 #2
0
        private void btnGetMaxZ_Click(object sender, System.EventArgs e)
        {
            Cursor.Current = Cursors.WaitCursor;

            GetLocationResp resp = Connection.SendGetLocationRequest(null);

            if (resp != null)
            {
                _maxZ         = resp.Z;
                numMaxZ.Value = (decimal)_maxZ;
            }

            Cursor.Current = Cursors.Default;
        }