Explore BrainMass

A simple application in C# in console and window forms

This content was STOLEN from BrainMass.com - View the original, and get the already-completed solution here!

8a. Create a C# Console Application project following the steps given below.

1. Within the namespace and outside of the wrapper class for Main create a class named assignment8 that inherits from System.Windows.Forms.
2. Instantiate a button control from System.Windows.Forms and name it btnClickMe.
3. Instantiate a button control from System.Windows.Forms and name it btnExit.
4. Set the form title bar to display "Assignment 8".
5. Set the form size properties to 300, 150.
6. Set the btnClickMe text to "Press Me" and the btnExit text to "Exit".
7. Add the two button controls to the form.
8. Set the btnClickMe location to coordinates 15, 20 and the btnExit location to coordinates 15, 60.
9. Register a new EventHandler for the Click event of the btnClickMe button and a new EventHandler for the Click event of the btnExit button.
10. Write the btnClickMe_Click event method and code the method to show a messagebox with "The Button Has Been Clicked" as text and "Click Me" in the MessageBox title bar when the Click event is fired.
11. Write the btnExit_Click event method and code the method to exit the application when the Click event is fired.
12. In Main run/instantiate an assignment8 form.

8b. Create a C# Windows Forms Application project following the steps given below.

1. Recreate an exact copy of the above console application project to drag and drop the controls onto the form.
2. Use the same property settings for the form and buttons as you did in the console application.

© BrainMass Inc. brainmass.com October 25, 2018, 2:49 am ad1c9bdddf

Solution Summary

A simple application in C# with two buttons which have a specific position and text and dsiplay a message box. Part A) of this task is done as a console application and part B) is an exact copy but as a Windows form application created in VS designer.

See Also This Related BrainMass Solution

"Software as a Service"

Why "software as a service" is (or is not - pick one) going to dominate the next several years in information management.

The case for this module calls for you to explore some of the divergent opinions about this new approach to organizational information systems and weigh some of the competing claims. First off, if you don't know anything about computer networking or what a client/server netwiork is in particular, it's recommended that you start with this reasonably good short guide to network terminology (if you're already on top of this stuff, you can probably skip this one):

Sensible Computer Help (2008) Choosing the best computer network. Sensible-Computer-Help.com. Retrieved February 27, 2011, from http://www.sensible-computer-help.com/computer-network.html

With that foundation, you can now begin to learn about "the cloud." A good general reference to start with is here:

Chee, B. and Franklin, C. (2010) Applications for Clouds. Chapter 4 in Cloud Computing: Technologies and Strategies of the Ubiquitous Data Center. CRC Press. Retrieved November 15, 2010 from http://media.techtarget.com/searchSystemsChannel/downloads/Cloud_Computing_Techn_Strat_of_the_Ubiq_Data_Cent_Chapter_4.pdf (SEE ATTACHMENT)

As we noted in the introduction, a term often used more or less interchangeably with "cloud computing" (despite some significant differences of focus) is "software as a service" - described as a software distribution model in which applications are hosted by a vendor or service provider and made available to customers over a network, typically the Internet. The following article discusses some of the difficulties with organizational implementation of this model:

Fornes, D. (2010) The Software as a Service Dilemma. The Software Advice Blog. Retrieved November 10, 2010, from http://www.softwareadvice.com/articles/uncategorized/the-software-as-a-service-dilemma-104071/

Finally, this discussion would not be complete without the views of the skeptic; the following article points out some of the all-too-apparent complications that might ensue from a wholesale stampede into the clouds:

Schneier, B. (2009) Cloud Computing. Schneier on Security. Retrieved November 15, 2010 from http://www.schneier.com/blog/archives/2009/06/cloud_computing.html

But back to the enthusiasts. SaasBlogs is a website that, in its own words, is "a community centered around the idea that Software as a Service (SAAS) represents the largest shift in the software industry in decades. We cover ideas, technologies, challenges, and business strategies related to this new and exciting paradigm." Basically, it's a lot of blog posts primarily authored by three experts, addressing a very wide range of topics related to SaaS deployment, use, and effects. It's a very good place to see how people committed to this model think and what they bring to the table. In fact, it's so good at this that it's going to be your primary source material for this case assignment.

Scrolling down the SaasBlogs home page points you to the archive of posts on various aspects of this issue. You should spend some time looking through these posts for discussions of things that you find interesting relating to SaaS operation, implementation, or results. Perhaps they will relate directly to issues in your own environment; perhaps they will remain largely academic - but in either case, you should be alert to the language of the discussion and how both technical and social issues are being talked about. There are also other SaaS-related blog sites that you may wish to look at (google a few and see what you find).

In addition, the Background Readings page lists some optional readings that may be useful to you as you consider these issues, or you may find other sources yourself (be sure to reference properly whatever specific sources you draw on).

When you've read through the articles and related material and thought about them carefully, please compose a short paper on the topic:

Why "software as a service" is (or is not - pick one) going to dominate the next several years in information

View Full Posting Details