presentation on C#

Add to Favourites
Post to:

Description
raviraj7081, b.tech cse, kcceit

Comments
Presentation Transcript Presentation Transcript

Slide 1 : Presentation On C#

Slide 2 : This is a great opportunity to acknowledge and to thanks all those persons without whose support and help this project would have been impossible.This presentation is based on C#. We prepared this presentation under the guidance of a proficient trainer Er. ASHISH KUMAR, who is one of the best trainers of HCL Infosystem, headed by Mr. RAJAN MALHOTRA, who is the head of training department of HCL Infosystem . We are very much thankful to our HOD ma’m, Ms. RANJANA GULATI and our honourable principal sir, …. for their active participation in commencing this SIX WEEK TRAINING in the College premises with the colaboration with HCL. This presentation is prepared by RAVI RAJ and SUNIL KUMAR UPADHYAY. Acknowledgement

Slide 3 : HCL Info systems – Pioneers of Modern Computing Ajay Chaudhary Chairman & CEO, HCL Infosystems. Largest manufacturer of PCs State-of-the-art manufacturing for PCs, business servers, workstations, color monitors, etc. Leading System Integration organization Pan-India SI solution provider in verticals like Power, Telecom, E-governance, Railways, Retail, BFSI, Media & Entertainment, Health, Infrastructure, Education etc. Largest ICT distribution and retail Network • 93,000 outlets , covering 11000 towns • Largest pool of trained manpower handling 2.5 million support incidents per annum • Support base of over 3 million assets in 75000+ sites • 1200+ support locations coverage by team of 5000+ Engineers Emerging businesses • HCL CDC - centers to bridge skilled manpower gap which exists in the IT industry. • HCL Security - to make the world a much safer place to be in with its range of state-of-the-art end to end technology solutions for security and surveillance.

Slide 4 :

Slide 5 : HCL Business Model

Slide 6 : Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It can be used to develop console and graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all platforms supported by Microsoft Windows, Windows Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft Silverlight. Features: Code Editor. Debugger. Designer. Solution Explorer. Server Explorer.

Slide 7 : Microsoft Visual C# Microsoft's .NET Framework represents the most significant change in software development methodology for a Microsoft operating system since the introduction of Windows. It is built using an architecture that allows software languages to work together, sharing resources and code, to provide developers with the advanced tools necessary to build the next generation of desktop and Internet-enabled applications. Microsoft's Visual Studio .NET product includes new versions of their Visual Basic and C++ compiler products that target .NET development, as well as a brand new language called C# (pronounced "C-sharp"). Microsoft Visual C#, Microsoft's implementation of the C# language, targets the .NET Framework, along with the language services that lets the Visual Studio IDE support C# projects. While the language services are a part of Visual Studio, the compiler is available separately as a part of the .NET Framework. The Visual C# 2008 compiler supports version 3.0 of the C# language specifications. Visual C# supports the Visual Studio Class designer, Forms designer, and Data designer among others.

Slide 8 : Rich Functionality out of the box .NET framework provides a rich set of functionality out of the box. It contains hundreds of classes that provide variety of functionality ready to use in your applications. This means that as a developer you need not go into low level details of many operations such as file IO, network communication and so on. OOPs Support The advantages of Object Oriented programming are well known. .NET provides a fully object oriented environment. The philosophy of .NET is – “Object is mother of all.” Languages like Visual Basic.NET now support many of the OOPs features that were lacking traditionally. Even primitive types like integer and characters can be treated as objects – something not available even in OO languages like C++. Security Windows platform was always criticized for poor security mechanisms. Microsoft has taken great efforts to make .NET platform safe and secure for enterprise applications. Features such as type safety, code access security and role based authentication make overall application more robust and secure. Features of .NET Multi-Language Support It supports multiple languages. This means that if you have skills in C++, you need not throw them but just mould them to suit .NET environment. Currently four languages are available right out of the box namely – Visual Basic.NET, C# (pronounced as C-sharp), Jscript.NET and Managed C++ (a dialect of Visual C++). There are many vendors that are working on developing language compilers for other languages .

Slide 9 : Constituents of .NET Platform The .NET consists of the following three main parts 1. .NET Framework – a completely re-engineered development environment. 2. .NET Products – applications from MS based on the .NET platform, including Office and Visual Studio. 3. .NET Services – facilitates 3r party developers to create services on the .NET Platform.

Slide 10 : Common Type System Architecture

Slide 11 : Solution Explorer Window The Solution Explorer window gives an overview of the solution we are working with and lists all the files in the project. An image of the Solution Explorer window is shown below. Server Explorer Window The Server Explorer window is a great tool that provides "drag and drop" feature and helps us work with databases in an easy graphical environment. For example, if we drag and drop a database table onto a form, C# .NET automatically creates connection and command objects that are needed to access that table. The image below displays Server Explorer window

Slide 12 : The toolbox window is the window that gives us access to all controls, components, etc. As you can see from the image below, the toolbox uses tabs to divide it's contents into categories (Data, Components, Windows Forms and General). The Data tab displays tools for creating datasets and making data connections, the Windows Forms tab displays tools for adding controls to forms, the General tab is left empty by default, the Clipboard Ring tab displays recent items stored in the clipboard and allows us to select from them. Toolbox Window TextBox Control Windows users should be familiar with textboxes. This control looks like a box and accepts input from the user. The TextBox is based on the TextBoxBase class which is based on the Control class. TextBoxes are used to accept input from the user or used to display text. By default we can enter up to 2048 characters in a TextBox but if the Multiline property is set to True we can enter up to 32KB of text. The image below displays a Textbox.

Slide 13 : Label Labels are those controls that are used to display text in other parts of the application. They are based on the Control class. Notable property of the label control is the text property which is used to set the text for the label. Label Event The default event of Label is the Click event which looks like this in code: private void label1_Click(object sender, EventArgs e) { }

Slide 14 : LinkLabel LinkLabel is similar to a Label but they display a hyperlink. Even multiple hyperlinks can be specified in the text of the control and each hyperlink can perform a different task within the application. They are based on the Label class which is based on the Control class. Notable properties of the LinkLabel control are the ActiveLinkColor, LinkColor and LinkVisited which are used to set the link color. Checkbox A checkbox is selected a check (a tick mark) appears indicating a selection. The CheckBox control is based on the TextBoxBase class which is based on the Control class. Below is the image of a Checkbox.

Slide 15 : RadioButton RadioButtons are similar to CheckBoxes but RadioButtons are displayed as rounded instead of boxed as with a checkbox. Like CheckBoxes, RadioButtons are used to select and deselect options but they allow us to choose from mutually exclusive options. The RadioButton control is based on the ButtonBase class which is based on the Control class. A major difference between CheckBoxes and RadioButtons is, RadioButtons are mostly used together in a group. ListBox The ListBox control displays a list of items from which we can make a selection. We can select one or more than one of the items from the list. The ListBox Control is based on the ListControl class which is based on the Control class. The image below displays a ListBox.

Slide 16 : ComboBox ComboBox is a combination of a TextBox and a ListBox. The ComboBox displays an editing field (TextBox) combined with a ListBox allowing us to select from the list or to enter new text. ComboBox displays data in a drop-down style format. The ComboBox class is derived from the ListBox class. Below is the Image of a ComboBox GroupBox Control As said above, Groupboxes are used to Group controls. GroupBoxes display a frame around them and also allows to display captions to them which is not possible with the Panel control. The GroupBox class is based on the Control class. PictureBox Control PictureBoxes are used to display images on them. The images displayed can be anything varying from Bitmap, JPEG, GIF, PNG or any other image format files. The PictureBox control is based on the Control class. Notable property of the PictureBox Control in the Appearance section of the properties window is the Image property which allows to add the image to be displayed on the PictureBox.

Slide 17 :

Slide 18 :

Slide 19 : Created by Ravi Raj 7081 B.Tech, CSE KCCEIT, PUNJAB

Slide 20 : Thank You

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
3 Followers

Your Facebook Friends on WizIQ

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect