Example #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            //模拟微信回调验证
            BoundTextConfig BoundConfig = new BoundTextConfig();

            BoundConfig.Add(txt_CorpToken, ConfigData.FCorpToken);
            BoundConfig.Add(txt_CorpID, ConfigData.FCorpID);
            BoundConfig.Add(txt_EncodingAESKey, ConfigData.FEncodingAESKey);
            BoundConfig.Add(txt_URL, ConfigData.FURL);
            BoundConfig.Add(txt_msg_signature, ConfigData.FMsg_Signatrue);
            BoundConfig.Add(txt_timestamp, ConfigData.FTimestamp);
            BoundConfig.Add(txt_nonce, ConfigData.FNonce);
            BoundConfig.Add(txt_echostr, ConfigData.FEchostr);

            BoundConfig.IniNotice();

            xmlAttributeText1.XMLTextBox     = txt_XMLText;
            xmlAttributeEventKey1.XMLTextBox = txt_XMLText;
        }
Example #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            //模拟微信回调验证
            BoundTextConfig BoundConfig = new BoundTextConfig();
            BoundConfig.Add(txt_CorpToken, ConfigData.FCorpToken);
            BoundConfig.Add(txt_CorpID, ConfigData.FCorpID);
            BoundConfig.Add(txt_EncodingAESKey, ConfigData.FEncodingAESKey);
            BoundConfig.Add(txt_URL, ConfigData.FURL);
            BoundConfig.Add(txt_msg_signature, ConfigData.FMsg_Signatrue);
            BoundConfig.Add(txt_timestamp, ConfigData.FTimestamp);
            BoundConfig.Add(txt_nonce, ConfigData.FNonce);
            BoundConfig.Add(txt_echostr, ConfigData.FEchostr);

            BoundConfig.IniNotice();

            xmlAttributeText1.XMLTextBox = txt_XMLText;
            xmlAttributeEventKey1.XMLTextBox = txt_XMLText;
        }