|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Web.UI;
|
|
|
using TSingSoft.WebControls2;
|
|
|
|
|
|
namespace Bwp.ABCClient2.Market
|
|
|
{
|
|
|
internal class Util
|
|
|
{
|
|
|
public static void RegisterABCActiveX(Page page)
|
|
|
{
|
|
|
var script = string.Format("<object classid=\"clsid:62B938C4-4190-4F37-8CF0-A92B0A91CC77\" codebase=\"{0}\" data=\"data:application/x-oleobject;base64,xDi5YpBBN0+M8KkrCpHMdwADAACJEwAAPAcAAA==\" id=\"InfoSecNetSign1\" style=\"height: 0px; width: 0px\" VIEWASTEXT width=\"0\" height=\"0\"><embed width=\"0\" height=\"0\" src=\"data:application/x-oleobject;base64,xDi5YpBBN0+M8KkrCpHMdwADAACJEwAAPAcAAA==\"></embed></object>",
|
|
|
TSWebResource.GetUrl("Bwp.ABCClient2.Market.NetSign.cab", typeof(ABCOrderPayButton).Assembly));
|
|
|
|
|
|
page.ClientScript.RegisterClientScriptBlock(page.GetType(), "ABCActiveX", script, false);
|
|
|
|
|
|
page.ClientScript.RegisterHiddenField("RequestID", "");
|
|
|
page.ClientScript.RegisterHiddenField("CustSignInfo", "");
|
|
|
page.ClientScript.RegisterHiddenField("CustSignInfo2", "");
|
|
|
}
|
|
|
}
|
|
|
}
|