Question

**This program is to be created using Visual Studio C#**Create as a Windows Form application** 1....

**This program is to be created using Visual Studio C#**Create as a Windows Form application**

1. Output a header in the console: “This is a replacement program”

1. Output a header that states: “This is Program 5”

2. Output a thank you message: “Thank you for running the program.”

0 0
Add a comment Improve this question Transcribed image text
Answer #1
Here is code:

using System;
using System.Drawing;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
this.Text = "This is Program 5";
        }

        private void Form1_Load(object sender, EventArgs e)
        {
Console.writeLine("This is a replacement program");
label1.text = "Thank you for running the program.";
        }
    }
}
Add a comment
Know the answer?
Add Answer to:
**This program is to be created using Visual Studio C#**Create as a Windows Form application** 1....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT