Helloworld with Sharpdevelop*

Helloworld with Sharpdevelop*

OpenStax-CNX module: m43511 1 HelloWorld with SharpDevelop* Hannes Hirzel This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 4.0 Abstract It is show how to do a 'hello world' program with the 'SharpDevelop' IDE (Integrated Development Environment). Note This module is a draft. 1 Introduction SharpDevelop1 is a free open source IDE (Integrated Development Environment) for the dotNet framework of Microsoft. It supports development in dierent languages. In this module a hello world program in C-sharp is done. It would be very similar for other languages. It is assumed that you have downloaded and installed SharpDevelop. *Version 1.3: Apr 16, 2016 7:33 am -0500 http://creativecommons.org/licenses/by/4.0/ 1http://www.icsharpcode.net http://cnx.org/content/m43511/1.3/ OpenStax-CNX module: m43511 2 2 First part After starting the IDE Create a new project In the Sharp IDE projects are called 'solutions'. So click on 'New solution', then choose 'Windows Applica- http://cnx.org/content/m43511/1.3/ OpenStax-CNX module: m43511 3 tion'. Make sure 'Create directory for solution' is not checked. This means that this be a solution which will con- tain only one project. http://cnx.org/content/m43511/1.3/ OpenStax-CNX module: m43511 4 Main form The initial code for a main form is generated. http://cnx.org/content/m43511/1.3/ OpenStax-CNX module: m43511 5 Running the program You may run the program in this status by clicking on the green triangle. What you see is the window of the running 'Hello World' program. Close it so that we are ready for enhancing it a bit. 3 Second part In this part we are going to add a label to the 'hello world' program. Click on the button 'Design' at the bottom of the tab 'Mainform.cs'. http://cnx.org/content/m43511/1.3/ OpenStax-CNX module: m43511 6 After switching to 'Design' mode http://cnx.org/content/m43511/1.3/ OpenStax-CNX module: m43511 7 'Tools' tab http://cnx.org/content/m43511/1.3/ OpenStax-CNX module: m43511 8 http://cnx.org/content/m43511/1.3/ OpenStax-CNX module: m43511 9 The running program (second version) http://cnx.org/content/m43511/1.3/.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us