|
This is the world's
simplest form that calls the TagServer.
using
System;
using
System.ComponentModel;
using
System.Windows.Forms;
using
IDN.IO;
namespace
ts
{
public
class Form1 : System.Windows.Forms.Form
{
private System.ComponentModel.Container
components = null;
//
--------------------------------------------------------------------
public Form1()
{
InitializeComponent();
}
//
--------------------------------------------------------------------
private void
OnLoad(object sender, System.EventArgs e)
{
TagServer ts = new TagServer();
ts.ShowDialog();
ts.Release();
Close();
}
//
--------------------------------------------------------------------
protected
override void Dispose(
bool disposing )
{
if(
disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
//
--------------------------------------------------------------------
#region Windows Form Designer generated
code
// removed...
#endregion
//
--------------------------------------------------------------------
[STAThread]
static void
Main()
{
Application.Run(new Form1());
}
}
}
|