private void button1_Click(object sender, EventArgs e) { ConnectionToService.SendAsyncMessage(new Communications.Common.CommunicationObject { ActionType = Communications.Common.CommunicationActionType.ShowMessage, Data = "message" }); }
private void button1_Click(object sender, EventArgs e) { //ServiceConnector.SendSyncMessage(new Communications.Common.CommunicationObject //{ // ActionType = Communications.Common.CommunicationActionType.ShowMessage, // Data = "kjhkjih" //}); ConnectionToService.SendAsyncMessage(new Communications.Common.CommunicationObject { ActionType = Communications.Common.CommunicationActionType.ShowMessage, Data = "message" }); }