About the Find an address Sample
[C#]
Program.cs
using System;
using System.Windows.Forms;
namespace FindAddress
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new AddressForm());
}
}
}
[Visual Basic .NET]
Program.vb
Imports Microsoft.VisualBasic Imports System Imports System.Windows.Forms Namespace FindAddress Friend NotInheritable Class Program ''' <summary> ''' The main entry point for the application. ''' </summary> Private Sub New() End Sub <STAThread> _ Shared Sub Main() Application.EnableVisualStyles() Application.SetCompatibleTextRenderingDefault(False) Application.Run(New AddressForm()) End Sub End Class End Namespace