0

I have a project to work on and i dont have any idea on it, i want to know so i could get some tutorials...the project is, i have a web application which is use for ticket sales, so i need to develop another web application that allow users to use the Ticket sales web applications without seeing the application, everything should be on my interface...the only diffeculties is how can i transfer the clicks on my buttons that represent the Ticket Application buttons, to the application

I dont know if anyone get the idea and can help me on how to go about this and what tutorials i should go for to be able to complete this Note: i want to use C# and SQL as my database.

Cheers

4

2 回答 2

1

门票销售应用程序必须提供服务(例如 WCF 服务)。另一个应用程序向该服务器发送请求。

于 2012-04-26T09:53:30.130 回答
0

如@mrtofigh 所写,如果您可以修改售票应用程序,那么您可以在其中添加一个Web 服务层。

如果您无法修改售票应用程序(我怀疑是您的情况),则没有简单的解决方案。

您可以使用HttWebRequest该类向应用程序发送模拟浏览器将执行的操作的请求 - 但这会很棘手,特别是如果售票网站使用 Ajax、JavaScript 等。

另一种选择是使用WebBrowser控件(基本上是嵌入式浏览器)导航到售票应用程序网站,然后向其发送事件。

于 2012-04-26T10:02:24.337 回答