This is a very simple example of a C# Windows Forms application with ClickOnce deployment. It contains a single form, with a single button. Pressing the button causes an instance of a Chilkat.Zip object to be created and the Chilkat.Zip.Version property is displayed in a message box.
This is the C# source code:
private void button1_Click(object sender, EventArgs e)
{
Chilkat.Zip zip = new Chilkat.Zip();
MessageBox.Show(zip.Version);
}
The Visual Studio 2005 project files can be downloaded from: http://www.chilkatsoft.com/projects/ClickOnceDemo.zip
The live application can be tested from this URL:
http://www.chilkatsoft.com/ClickOnceDemo/publish.htm