Added for You
#1 in Business Subscribe Email Print

You are here: Home > Computers and Technology > Software > Visual C# Express - File Types (5th In A Series)

Tags

  • create
  • documentation
  • expect
  • dosolution filesthe
  • binary format
  • directory hierarchy

  • Links

  • Drive Your Swanky Car With Personal Car Loans
  • Your Pets and Your Guardian Angel
  • Ozana Giusca Interview
  • Added for You - Visual C# Express - File Types (5th In A Series)

    PDF Newsletter Producing Software - Best Tools to Publish Your PDF Newsletter
    When you are going to start your PDF newsletter, you will need to find good PDF newsletter producing software tools to help you create your newsletter and send it to your subscribers.There are so many choices available for you that you'll find yourself lost when you want to decide which one is right for you. So here are the top 3 PDF newsletter software and some details about each of them to help you choose the best solution...Software #1: Microsoft WordYou most probably know and have used Microsoft Word for creating simple text documents. Actually it's one of the most popular software programs out there that you can find on almost any computerMS Word is also the best tool to prepare your newsletter content and layout first. In order to create your PDF newsletter, you should first create it in MS Word and then convert it into PDF
    te.

    Code Files

    Although SimpleWindow is the minimal Windows program you can create using Visual C# Express, it creates six code files -- Form1.cs, Form1.Designer.cs, Program.cs, AssemblyInfo.cs, Resources.Designer.cs, and Settings.Designer.cs. Descriptions follow:

    Program.cs is a very simple code file with a very important job. C# express expects that one and only one class in the SimpleWindow project will contain a "static void Main()", the main entry point to the SimpleWindow program. The "Main" routine contains only 3 active lines of code; and for purposes of this article its job is to creat

    All about Personal Loans
    Personally yours; any personal loan comes with this statement as a note. You do not have to specify how and why you want a loan.A Personal loan is synonymous to ‘freedom’. Use it the way you want; be it a lavish holiday, a new computer, buying that dream gadget absolutely anything at all.Now, to specify personal loans can be of two types:Secured personal loans: A secured personal loan is taken by pledging a property. It guarantees the lender of getting his money back. This property can be real estate or you house.The prospective benefits of a secured personal loan are;• Low interest rates • Flexible repayments • Smaller monthly instalments • Easy to avail • Can borrow a larger sum of moneyUnsecured personal loans: a personal loan that is Risk-free. You do not pledge a security; hence you do not stan
    The purpose of this article is to discuss and document the core set of files produced by Visual Studio Express when one creates a simple Windows application. If you have not already installed your free copy of Visual C# Express, and you want to follow along with this article, I would suggest that you download it and install it.

    In the old days of programming people could write single file programs, compile them and run them, but such is no longer the case. There is a core set of files you get every time you create a project with C# Express and it is very useful to know what those files are and how they function together to produce a program.

    Start with an Empty Windows Application

    If you are following along with your own copy of Visual C#, you can create an empty Windows Application by clicking File | New Project and then clicking the "Windows Application" Icon. Name your project "SimpleWindow" and hit Ok.

    Visual C# Express should create an empty Windows project with a single blank form. Save this project by clicking File | Save All.

    If your installation of C# Express is the same as mine, it should have created 10 files and a directory hierarchy consisting of ten subdirectories. Let's examine those files and see what they do.

    Solution Files

    The highest level subdirectory should be named SimpleWindow, and it should contain two files -- SimpleWindow.sln and SimpleWindow.suo . In general you will not modify either of these files by hand. Descriptions follow:

    SimpleWindow.sln is the topmost file used to create a program, it contains information about the structure of the entire solution such as the names of the projects contained in the solution and their locations.

    SimpleWindow.suo is an entirely different animal, the Solution User Options file. It contains temporary information such debugging breakpoints and what files you have open. You can safely delete this file and it Visual C# Express will recreate it the next time you open the solution. The suo file is store in binary format and thus difficult to examine.

    Project File

    SimpleWindow.csproj is an XML file which contains instructions to the MSBuild Engine for how to build the SimpleWindow project. MSBuild is the (new in Visual Studio 2005) Microsoft tool used to build .NET applications. In general you will not modify this file directly; but if you want to do so, you can find complete documentation on Microsoft's MSDN web site.

    Code Files

    Although SimpleWindow is the minimal Windows program you can create using Visual C# Express, it creates six code files -- Form1.cs, Form1.Designer.cs, Program.cs, AssemblyInfo.cs, Resources.Designer.cs, and Settings.Designer.cs. Descriptions follow:

    Program.cs is a very simple code file with a very important job. C# express expects that one and only one class in the SimpleWindow project will contain a "static void Main()", the main entry point to the SimpleWindow program. The "Main" routine contains only 3 active lines of code; and for purposes of this article its job is to create

    Do-It-Yourself SEO
    Does the whole idea of Internet marketing intimidate you? Are you thinking of hiring a professional? Well, we’ve got great news for you. It’s really not difficult to do search engine optimization (SEO) yourself – you can save hundreds of dollars, and get the same results as the professionals do. You will probably get better results from highly qualified professionals, but you should definitely perform these do-it-yourself actions first. Once you’ve done some of this kind of work it will be easier to determine if a professional is worth his/her salt.Basic SEO is very simple and easy – all it takes is the willingness to put in the work. Once you know the ropes, it’s not that difficult though it can be time consuming. The content of your website the focus of what SEO is all about. Here are the top points to think about when you’re doing it yourself.1. You will st
    uce a program.

    Start with an Empty Windows Application

    If you are following along with your own copy of Visual C#, you can create an empty Windows Application by clicking File | New Project and then clicking the "Windows Application" Icon. Name your project "SimpleWindow" and hit Ok.

    Visual C# Express should create an empty Windows project with a single blank form. Save this project by clicking File | Save All.

    If your installation of C# Express is the same as mine, it should have created 10 files and a directory hierarchy consisting of ten subdirectories. Let's examine those files and see what they do.

    Solution Files

    The highest level subdirectory should be named SimpleWindow, and it should contain two files -- SimpleWindow.sln and SimpleWindow.suo . In general you will not modify either of these files by hand. Descriptions follow:

    SimpleWindow.sln is the topmost file used to create a program, it contains information about the structure of the entire solution such as the names of the projects contained in the solution and their locations.

    SimpleWindow.suo is an entirely different animal, the Solution User Options file. It contains temporary information such debugging breakpoints and what files you have open. You can safely delete this file and it Visual C# Express will recreate it the next time you open the solution. The suo file is store in binary format and thus difficult to examine.

    Project File

    SimpleWindow.csproj is an XML file which contains instructions to the MSBuild Engine for how to build the SimpleWindow project. MSBuild is the (new in Visual Studio 2005) Microsoft tool used to build .NET applications. In general you will not modify this file directly; but if you want to do so, you can find complete documentation on Microsoft's MSDN web site.

    Code Files

    Although SimpleWindow is the minimal Windows program you can create using Visual C# Express, it creates six code files -- Form1.cs, Form1.Designer.cs, Program.cs, AssemblyInfo.cs, Resources.Designer.cs, and Settings.Designer.cs. Descriptions follow:

    Program.cs is a very simple code file with a very important job. C# express expects that one and only one class in the SimpleWindow project will contain a "static void Main()", the main entry point to the SimpleWindow program. The "Main" routine contains only 3 active lines of code; and for purposes of this article its job is to creat

    Bad Credit History? How Financing and Buying a Home Can Help You Improve Your Financial Situation
    Financing and buying a home can help improve your financial situations, especially if you have a bad credit history. Adding a mortgage payment to your monthly expenses seems like a mistake if you are having financial difficulties, but in the long run a mortgage can save you money on your living expenses.Raise Your Credit ScoreRegular payments made on a loan-term loan, such as a mortgage, are weighted more heavily by financial institutions that regular credit card payments. Within three years of regular payments, you can raise your poor credit rating to good and qualify for lower interest rates on all your loans.So while you will probably have to finance your mortgage with a sub prime lender if you have poor credit, you can expect to refinance your loan for better rates in about three years.Investment For The FuturePaying rent
    and see what they do.

    Solution Files

    The highest level subdirectory should be named SimpleWindow, and it should contain two files -- SimpleWindow.sln and SimpleWindow.suo . In general you will not modify either of these files by hand. Descriptions follow:

    SimpleWindow.sln is the topmost file used to create a program, it contains information about the structure of the entire solution such as the names of the projects contained in the solution and their locations.

    SimpleWindow.suo is an entirely different animal, the Solution User Options file. It contains temporary information such debugging breakpoints and what files you have open. You can safely delete this file and it Visual C# Express will recreate it the next time you open the solution. The suo file is store in binary format and thus difficult to examine.

    Project File

    SimpleWindow.csproj is an XML file which contains instructions to the MSBuild Engine for how to build the SimpleWindow project. MSBuild is the (new in Visual Studio 2005) Microsoft tool used to build .NET applications. In general you will not modify this file directly; but if you want to do so, you can find complete documentation on Microsoft's MSDN web site.

    Code Files

    Although SimpleWindow is the minimal Windows program you can create using Visual C# Express, it creates six code files -- Form1.cs, Form1.Designer.cs, Program.cs, AssemblyInfo.cs, Resources.Designer.cs, and Settings.Designer.cs. Descriptions follow:

    Program.cs is a very simple code file with a very important job. C# express expects that one and only one class in the SimpleWindow project will contain a "static void Main()", the main entry point to the SimpleWindow program. The "Main" routine contains only 3 active lines of code; and for purposes of this article its job is to creat

    Small Business Web Site Dilemma: AdSense or NonSense
    Every small business web site appears to be a candidate for Google’s AdSense program. The number of web sites adding content to support AdSense layouts seems to be growing daily. The criteria for being approved for an AdSense account doesn’t appear to be a hindrance to the number of web sites jumping on the Google bandwagon for rewarding content sites for providing traffic to someone else’s offerings. From a small business web site business point of view will AdSense provide a good return on investment to your content site or will it just turn out to be a bunch of nonsense?The answer depends on your business objectives and how you use your content to achieve them. If you use content to drive traffic to your small business web site for the primary purpose of selling your own products and services, you may find AdSense is a distraction for your visitors. If your busi
    debugging breakpoints and what files you have open. You can safely delete this file and it Visual C# Express will recreate it the next time you open the solution. The suo file is store in binary format and thus difficult to examine.

    Project File

    SimpleWindow.csproj is an XML file which contains instructions to the MSBuild Engine for how to build the SimpleWindow project. MSBuild is the (new in Visual Studio 2005) Microsoft tool used to build .NET applications. In general you will not modify this file directly; but if you want to do so, you can find complete documentation on Microsoft's MSDN web site.

    Code Files

    Although SimpleWindow is the minimal Windows program you can create using Visual C# Express, it creates six code files -- Form1.cs, Form1.Designer.cs, Program.cs, AssemblyInfo.cs, Resources.Designer.cs, and Settings.Designer.cs. Descriptions follow:

    Program.cs is a very simple code file with a very important job. C# express expects that one and only one class in the SimpleWindow project will contain a "static void Main()", the main entry point to the SimpleWindow program. The "Main" routine contains only 3 active lines of code; and for purposes of this article its job is to creat

    Irs Tips On Avoiding Mistakes When Doing Your Taxes
    As we move into 2007 it is always a good idea to learn from other peoples' tax mistakes of 2006. Last Year Tax Courts and the Internal Revenue Service shed light on a number of tax regulations that could help small businesses be more meticulous. Some of the cases include helping land owners save, and a reminder to be extremely thorough when considering a business deal.The rulings for small businesses in 2006 were significant because they reminded people of common problems and things they needed to be versed on.After increasing problems with people convincing appraisers to raise their estimated worth of charitable donations for tax deduction purposes, the IRS wants people to think twice about getting greedy with their charitable giving, or those who file returns with inflated appraisals will be penalized under Congress legislation.te.

    Code Files

    Although SimpleWindow is the minimal Windows program you can create using Visual C# Express, it creates six code files -- Form1.cs, Form1.Designer.cs, Program.cs, AssemblyInfo.cs, Resources.Designer.cs, and Settings.Designer.cs. Descriptions follow:

    Program.cs is a very simple code file with a very important job. C# express expects that one and only one class in the SimpleWindow project will contain a "static void Main()", the main entry point to the SimpleWindow program. The "Main" routine contains only 3 active lines of code; and for purposes of this article its job is to create and run an instance of Form1. That's all. Program.cs is done.

    Form1.cs and Form1.Designer.cs contain two pieces of Form1, the single automatically generated form in this project. At first it may seem odd to split Form1 into two files, but there is a good reason. Form1.cs is meant to be edited by hand; whereas Form1.Designer.cs is generated by the IDE visual design tools. For example, if you add a button control to Form1, the IDE automatically generates all the actual code to draw the button on Form1 and places it in the Form1.Designer.cs file. All forms generated by Visual C# Express are split this way.

    Settings.Designer.cs The code in this file provides easy and direct access to the application and user settings for the program. Application and User settings are data generally having to do with the operation of your program which you might want to change on a per installation or per user basis; for example, a database connection string or the location of a directory the program uses. This data should persist after the program is done executing. This file is automatically generated by C# Express from information you add to the Settings.Settings file (discussed later in this article), so you should not edit it the C# code in this file directly.

    Resource.Designer.cs This file is also generated automatically, from the XML Resources.resx file. It contains code to provide easy and direct access to resources such as images or waves.

    AssemblyInfo.cs is a very interesting code file which C# Express has stuffed into the "Properties" directory of the SimpleWindow project. AssemblyInfo.cs has just what you would expect, information about the assembly (executable file) built by this project. The information is stored as a set of C# attributes. You can change the attribute values to change your assembly information using only the C# code editor. Furthermore, because the information is in a C# file it gets compiled into your program and thus is available to you, the programmer, to use at run time. This is a very nice way to do things, and I will devote a future article to the topic of how to access Assembly information. I recommend you examine the contents of this file.

    Resources and Settings

    I mentioned the Resource.Designer.cs and Settings.Designer.cs in the "Code Files" section of this article, but how are they created? The answer is they are both created visually using designer tools provided in the C# Express IDE, and they are stored in an

    HTTP = HTML link (for blogs, profiles,phorums):
    <a href="http://www.added4u.com/article/178200/added4u-Visual-C-Express--File-Types-5th-In-A-Series.html">Visual C# Express - File Types (5th In A Series)</a>

    BB link (for phorums):
    [url=http://www.added4u.com/article/178200/added4u-Visual-C-Express--File-Types-5th-In-A-Series.html]Visual C# Express - File Types (5th In A Series)[/url]

    Related Articles:

    Change Is Not Always Difficult

    About Debt Collection Agencies

    Where To Find Florida Health Insurance Information

    Bookmark it: del.icio.us digg.com reddit.com netvouz.com google.com yahoo.com technorati.com furl.net bloglines.com socialdust.com ma.gnolia.com newsvine.com slashdot.org simpy.com shadows.com blinklist.com