Пример #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     ConnectionToService.SendAsyncMessage(new Communications.Common.CommunicationObject
     {
         ActionType = Communications.Common.CommunicationActionType.ShowMessage,
         Data       = "message"
     });
 }
Пример #2
0
        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"
            });
        }