using System;
using System.Runtime.InteropServices;
using System.ComponentModel;
using System.Collections.Generic;
using System.Text;
namespace ActiveXcontrol
{
public class HelloWorld : System.Windows.Forms.UserControl
{
//Game game;
public HelloWorld():base()
{
System.Windows.Forms.MessageBox.Show("hallo test!!");
//game = new Game();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose(bool disposing)
{
if (disposing)
{
}
base.Dispose(disposing);
}
}
}
<html>
<body>
<center>
<object id="HelloWorld1" height="472" width="488"
classid="http://127.0.0.1/ActiveXcontrol.dll#ActiveXcontrol.HelloWorld">
</object>
<object id="HelloWorld1" name="HelloWorld1" classid="ActiveXcontrol.dll#ActiveXcontrol.HelloWorld">
</object>
</center>
</body>
</html>
