C# tutorial : Creating a Simple C# program / PDF
C# tutorial : Creating a Simple C# program / PDF
Step1: Create a windows application in
Visual C# projects and name it as Welcome and choose the location where you
want to save this program.
Step 2: Design a GUI interface for this
Windows Form by dragging and dropping the GUI components from the Toolbox on
the left to the design form.
Step3: Double click the ‘Click button’ and
enter the following code
private void button1_Click(object
sender, System.EventArgs e)
{
textBox1.Text = "Welcome to C#";
}
Step 4: Build the solution by pressing
Ctrl+Shift+B
C# tutorial : Creating a Simple C# program / PDF
0 commentaires: