如何在基于窗口的应用程序中单击按钮调用JavaScript?

时间:2014-03-13 10:22:00

标签: c# javascript jquery

这是我的代码,用于登录按钮的窗口形式应用程序。我想在这个按钮上点击,调用javascript或jquery函数。 如何通过C#调用javascript函数?

        this.button1.Location = new System.Drawing.Point(121, 170);
        this.button1.Name = "button1";
        this.button1.Size = new System.Drawing.Size(75, 23);
        this.button1.TabIndex = 3;
        this.button1.Text = "Login";
        this.button1.UseVisualStyleBackColor = true;
        this.button1.Click += new System.EventHandler(this.button1_Click);

0 个答案:

没有答案