Example #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            string         a       = "1";
            SendMsgHandler handler = new SendMsgHandler(SendMsg);

            handler.BeginInvoke(a, null, null, null);
            string b = "";
        }
Example #2
0
 private static void SendMsgEvent(string methodType, string id)
 {
     SendMsgHandler?.Invoke(methodType, id);
 }