예제 #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"
            });
        }