Use a text editor (not Visual Studio) to create a c# source file that meets the following requirements. Compile and run the file from the Visual Studio command prompt.
Add a class to the c# file that extends the Form
class.
System
namespace.Size
(System.Drawing.Size
) of the form so your panels look good. Panel
to your form.
System.Drawing.Color
value (like Red, Green, Blue, etc.).DockStyle
enumeration to set the value. Use the Height
and Width
properties to control the original size of the form before it is docked.
Label
to the panel. Set the value of the label to the name, that was passed in the constructor.Panel
to your form.
System.Drawing.Color
value (like Red, Green, Blue, etc.). Use a different color for this panel.DockStyle
enumeration to set the value.
Label
to the panel. Set the value of the label to Comment: . Do not display the label at point (0,0) in the panel. Use the Top
and Left
properties to position the label.TextBox
to the panel.
AnchorStyles
enumeration to set the values, use the |
operator to or more than one value together.Button
to the panel.
Add a class to the c# file that has a main method. The Main
method in a c# program can be overloaded with a String[] args
parameter. This argument contains the command line arguments.
Application
class to run the application with your form as the main form.
To compile and run the program, open the command line window that can be accessed from the Visual Studio Tools folder.
Compile the c# file with the cs
compiler.
Run the command with several different command line arguments. Also run it with no command line arguments.
For this assignment, every team member must create a version of the code. The team will decide which one to commit to the master branch in the repository.
It is possible that the best features are not all in one student's code. In that case, commit the most complete code and merge any updates to it.
Only the code on the master branch will be evaluated for grading.
Create a 2-5 minute mp4 video. You may use the free version of Screencast-o-matic. The video must include:
Upload your c# file to me via the Assignment Dropbox page in Canvas.
Upload your video to me via the Assignment Dropbox page in Canvas.