Click here to Skip to main content
15,066,928 members
Articles / Programming Languages / C++
Article
Posted 20 Jul 2000

Stats

334.7K views
13 bookmarked

Visual Studio.NET screen shots

Rate me:
Please Sign up or sign in to vote.
3.00/5 (11 votes)
8 Aug 2000CPOL
Some Visual Studio.NET screen shots to tease

Visual Studio .NET screen shots

Troy Marchand of Dundas Software kindly provided some screen shots of the Visual Studio .NET preview. Troy mentioned that component creation using C# and VB is extremely quick and easy, and the Visual Studio .NET IDE seems to be stable. There is a bit of instability with the .NET framework, and system crashes are very common. Microsoft highly recommend installing the preview on a fresh install of W2K on a non-critical system.

More screen shots here.

Image 1
The Visual Studio Start Page. This page allows you to customise the layout of the IDE, open and create projects, and has links to MSDN and online information.

Image 2 
The "New Project" page.
Image 3 
A Visual C++ code snippet.
Image 4  The Form Designer page. Same old drag and drop.

Image 5
The code that is created by the Form Designer in a C# project. The Form and the components on the form are created at runtime instead of through a dialog template.

Image 6
The Form properties. Intuitive and easy to navigate.
Image 7
Adding non-visual components to the form will result in the components being added to a list underneath the form.

More screen shots

Here's a few more shots for those that don't have access to a copy of Visual Studio 7.

Image 8

The above pic shows a C# form in design mode. Creating C# GUI applications is seriously easy stuff. It's very similar to VB, except that as you drag and drop WinForms onto the form the IDE creates code in your forms' InitializeComponent method. Double click on a WinForm and you can edit the code underneath. Below is the C# code for a simple form that has a label and a button, and when you click on the button a message box pops up. Time to create - less than a minute, as you'd expect.

namespace Project2
{
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.WinForms;
using System.Data;

/// <summary>
///    Summary description for Form1.
/// </summary>
public class Form1 : System.WinForms.Form
{
    /// <summary> 
    ///    Required designer variable
    /// </summary>
    private System.ComponentModel.Container components;
	private System.WinForms.Label label1;
	private System.WinForms.Button button1;

    public Form1()
    {
        //
        // Required for Win Form Designer support
        //
        InitializeComponent();

        //
        // TODO: Add any constructor code after InitializeComponent call
        //
    }

    /// <summary>
    ///    Clean up any resources being used
    /// </summary>
    public override void Dispose()
    {
        base.Dispose();
        components.Dispose();
    }

    /// <summary>
    ///    Required method for Designer support - do not modify
    ///    the contents of this method with the code editor
    /// </summary>
    private void InitializeComponent()
	{
		this.components = new System.ComponentModel.Container();
		this.button1 = new System.WinForms.Button();
		this.label1 = new System.WinForms.Label();
		
		button1.Location = new System.Drawing.Point(120, 24);
		button1.Size = new System.Drawing.Size(75, 23);
		button1.TabIndex = 0;
		button1.Text = "Push Me!";
		button1.AddOnClick(new System.EventHandler(button1_Click));
		
		label1.Location = new System.Drawing.Point(16, 32);
		label1.Text = "Text Label";
		label1.Size = new System.Drawing.Size(100, 23);
		label1.TabIndex = 1;
		
		this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
		this.Text = "Form1";
		//@design this.TrayLargeIcon = true;
		//@design this.TrayHeight = 0;
		this.ClientSize = new System.Drawing.Size(256, 125);
		
		this.Controls.Add(label1);
		this.Controls.Add(button1);
		
	}
	protected void button1_Click(object sender, System.EventArgs e)
	{
		System.WinForms.MessageBox.Show("Hello");
	}
    /*
     * The main entry point for the application.
     *
     */
    public static void Main(string[] args) 
    {
        Application.Run(new Form1());
    }
}
}

Image 9 Image 10

These two pictures show the Visual Studio Start page. You can customise everything about Visual Studio to make it look like the environment you are used to - or make it a suitable environment for the language you are workin in. There are preset environment layouts you can use, or you can customise a new one.

Image 11 Image 12

These two pictures show one of the coolest features of Visual Studio 7 - the dynamic help. As you type, the dynamic help window displays context sensitive help topics. You can view the help from within the environment (a la Visual Studio 4) or externally. The help window is updated extremely quickly. Note how as we move from being in an empty OnDraw function to having the cursor next to a CRect declaration the dynamic help changes to reflect our current area of interest. Sweet.

Image 13

I included this shot of the installation process since it answered a question many have been asking: what is the next version of the MFC DLL to be called? Look closely - you'll find MFC70.dll.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Chris Maunder
Founder CodeProject
Canada Canada
Chris is the Co-founder, Administrator, Architect, Chief Editor and Shameless Hack who wrote and runs CodeProject. He is also co-founder of Developer Media and ContentLab.IO. He's been programming since the 80's and has been, in various guides, an astrophysicist, bacyard mechanic, mathematician, physicist, breeder of carnivorous plants, hydrologist, geomorphologist, defence intelligence researcher and then, when all that got a bit rough on the nerves, a web developer.

His programming experience includes C/C++, C#, SQL, MFC, ASP.NET, TypeScript and far, far too much FORTRAN. He has worked on PocketPCs, Old mainframes, new Macs, cheap phones, and a CRAY YMP C90 behemoth but finds notebooks take up less desk space.

He is kind to small animals and has a soft spot for cheesecake.

Chris was born and bred in Australia but splits his time between Toronto and Melbourne, depending on the weather. For relaxation he is obsessively into road cycling, physiology, occasionally snowboarding and rock climbing, and wishes he were a storm chaser.

Comments and Discussions

 
GeneralMy vote of 1 Pin
arunkr851-Oct-10 1:17
Memberarunkr851-Oct-10 1:17 
GeneralPretty old already... Pin
Andreas Saurwein23-Apr-02 4:09
MemberAndreas Saurwein23-Apr-02 4:09 
GeneralRe: Pretty old already... Pin
Tomas Petricek30-Apr-04 4:52
MemberTomas Petricek30-Apr-04 4:52 
GeneralRe: Pretty old already... Pin
Rajesh R Subramanian19-Jan-07 20:28
professionalRajesh R Subramanian19-Jan-07 20:28 
GeneralInstalling Visual Studio.net Beta 1 Pin
20-Nov-01 9:13
suss20-Nov-01 9:13 
GeneralRe: Installing Visual Studio.net Beta 1 Pin
Arun.V.S.7-Dec-02 23:16
MemberArun.V.S.7-Dec-02 23:16 
GeneralWhere is Visual Studio.NET Pin
17-Jun-01 6:29
suss17-Jun-01 6:29 
GeneralRe: Where is Visual Studio.NET Pin
Paul Hale13-Jul-01 4:46
MemberPaul Hale13-Jul-01 4:46 
GeneralRe: Where is Visual Studio.NET Pin
SVejitto28-Nov-01 5:15
MemberSVejitto28-Nov-01 5:15 
GeneralRe: Where is Visual Studio.NET Pin
28-Nov-01 11:06
suss28-Nov-01 11:06 
GeneralRe: Where is Visual Studio.NET Pin
28-Nov-01 10:14
suss28-Nov-01 10:14 
GeneralRe: Where is Visual Studio.NET Pin
Ganesh Ramaswamy28-Nov-01 10:41
MemberGanesh Ramaswamy28-Nov-01 10:41 
GeneralRe: Where is Visual Studio.NET Pin
28-Nov-01 11:09
suss28-Nov-01 11:09 
GeneralStudio.Net : AddIns related question Pin
6-May-01 2:57
suss6-May-01 2:57 
GeneralStudio.Net : AddIns related question Pin
6-May-01 2:57
suss6-May-01 2:57 
GeneralRe: Studio.Net : AddIns related question Pin
7-May-01 4:36
suss7-May-01 4:36 
General:mad: MS Site DOWn Pin
24-Nov-00 16:09
suss24-Nov-00 16:09 
GeneralRe: :mad: MS Site DOWn Pin
2-Dec-00 14:03
suss2-Dec-00 14:03 
GeneralRe: :mad: MS Site DOWn Pin
3-Dec-00 15:19
suss3-Dec-00 15:19 
GeneralRe: :mad: MS Site DOWn Pin
3-Dec-00 15:20
suss3-Dec-00 15:20 
GeneralStability Pin
Bert ter Burg19-Oct-00 23:16
sussBert ter Burg19-Oct-00 23:16 
GeneralRe: Stability Pin
Chris Maunder20-Oct-00 5:27
cofounderChris Maunder20-Oct-00 5:27 
GeneralAny New Controls Pin
Tom F18-Oct-00 7:26
MemberTom F18-Oct-00 7:26 
GeneralRe: Any New Controls Pin
song18-Oct-00 16:29
Membersong18-Oct-00 16:29 
GeneralRe: Any New Controls Pin
Chris Anderson15-Nov-00 3:42
MemberChris Anderson15-Nov-00 3:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.