Visual Studio

How to make the GUI for a Form

How to create a Login Form in Visual Studio 2010 and C#

Download word document with instructions Here....


How to Create a Form (GUI) on Visual Studio Using C#

April 8, 2015 by Monica Gonzalez

How to create a C++ project using Xcode

Download word document with instructions Here....


Detail steps on how to create your first C++ project using your Mac and Xcode

March 31, 2016 by Monica Gonzalez

How to create your first C++ project using Visual Studio

Download word document with instructions Here....


Detail steps on how to create your first C++ project using Visual Studio 2010, 2012 or 2013

March 31, 2016 by Monica Gonzalez

If you are using a Mac you can edit Visual Studio with

Xamarin.
  1. 1- Open Visual Studio.
  2. 2- From the Menu Bar ----→Select File -> New -> Project.
  3. 3- Next select Windows Form Application
  4. 4- Don’t forget to select C# as your language.
  5. 5- You have created a Form.

Blog 1


Blog 1


Star to build the fields on your form.

Important: Do you have you Toolbox, Property and Solution Explorer window open?
If you don’t have the window open then → Go to VIEW on the Menu Bar and Click on ToolBox. Do the same with Solution Explorer and Properties.


Adding Text, Label and Buttons to your Form.


  1. 1- Adding Labels:
  2. • On your Toolbox windows click and drag the label option to your Form.
  3. • To edit the Label -> select the label -> then (see the illustration)

Blog 1


  1. • On your Properties window select -> text option.
  2. • Highlight the field and change to the name you want your label to have.

Blog 1

Adding TextBox.

  1. 1. On your Toolbox window click and drag the TextBox option to your Form.
  2. To edit the TextBox-> select the TextBox -> then drag to your Form.

Blog 1


Edit the TextBox

  1. 1. On your Properties window select Name.
  2. 2.Change the name to a meaningful name to be used in your Code behind C#.

Adding Button

  1. 1. On your Toolbox window click and drag the Button option to your Form.
  2. 2.To edit the Button-> select the Button -> then drag to your Form.

Blog 1


Edit the Button

  1. On your Properties window select Name.
  2. Change the name to a meaningful name to be used in you Code behind C#.

IDon’t forget that you need to put btn button, txt for text and lbl for label before the id name. Don’t confuse Id with name. They are two different things. The name is the text tab. The ID is the Name tab.

Blog 1

  1. The IDs will be used to give the functionality to the form in the code behind. Double-click into the form.
  2. Now you have your code behind C#.

Star to edit your code.

using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
} } }