It's a windows application!
Console is
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace SomeProductNameSample
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
///any code begins from here!
}
}
}
Ramy Mahrous
Postaholic
2,196 posts since Aug 2006
Reputation Points: 480
Solved Threads: 276
In some simple cases, a console app will simply have its implementation begin in the Main() method, whereas a Winforms project requires the form to be instantiated in Main() and have the implementation elsewhere. So, I would agree with you that it looks like you have a Winforms project on your hands.
Infarction
Posting Virtuoso
1,580 posts since May 2006
Reputation Points: 683
Solved Threads: 53
OK, we have no objection!! we faced a question and we answered!!
The code written in the question is Windows Application code not Console one.
Ramy Mahrous
Postaholic
2,196 posts since Aug 2006
Reputation Points: 480
Solved Threads: 276