Example #1
0
        private void TelescopeParametersUpdated(TelescopeParametersUpdatedMessage action)
        {
            // Make sure that we update the Parameters on the U/I thread.

            Task.Factory.StartNew(() => Parameters = action.Parameters, CancellationToken.None, TaskCreationOptions.None, Globals.UISyncContext);
        }
 private void UpdateParameters(TelescopeParametersUpdatedMessage action)
 {
     SetParameters(action.Parameters);
 }