public void OnDeviceReady() { uiThread.Send(delegate(object state) { ConnectStatusLabel.Text = "Connected"; if (DisplayOrder.lineItems.elements.Count > 0) { UpdateDisplayOrderTotals(); cloverConnector.DisplayOrder(DisplayOrder); } PaymentReset(); }, null); }