I am building a windows application using a generic interface I wish to use
for many apps.
In VB.NET I used to
1, Create an empty windows app
2. Delete the form that is crearted for me
3 Add a module caled Main
4. Add a Public Sub Main() procedure with the following code
Public Sub Main()
Dim myApplication As New
Generic.Windows.Interface.ApplicationInterface
myApplication.ApplicationName = Application.ProductName
myApplication.ApplicationVersion = Application.ProductVersion
myApplication.ShowDialog()
End Sub
5. Change the startup object in the projects properties to Sub Main
This used to work perfectly
How do I achieve the same result using C# and C# projects?
Thanks in advance