9th june
Upcoming SlideShare
Loading in...5
×
 

9th june

on

  • 650 views

 

Statistics

Views

Total Views
650
Views on SlideShare
470
Embed Views
180

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 180

http://yehtechnologies.com 179
http://webcache.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

9th june 9th june Presentation Transcript

  • ADVANCED C#(Contd..) &WINDOWS FORMS
    9th June 2010
  • Exception Handling
  • Collections
    Definition :
    Collections are enumerable data structures that can be assessed using indexes or keys. 
  • System.Collections namespace
      IEnumerable
     IEnumerator
      ICollection
     IList
      IDictionary
  • ICollection
    System.Collections.Stack
    System.Collections.Queue
    System.Collections.BitArray
    System.Collections.Specialized.NameValueCollection
  • ArrayList
  • StringCollections
  • Stack
    The Stack class is one that provides a Last-in-First-out (LIFO) collection of items of the System.Object type. 
  • Queue
    First-in-First Out (FIFO) Approach
  • Hashtable
  • Windows Form
    Windows Forms is the name given to the graphical application programming interface (API) included as a part of Microsoft's.NET Framework, providing access to the native Microsoft Windows interface elements by wrapping the existing Windows API in managed code. 
  • Architecture of WinForms
    A Windows Forms application is an event-driven application supported by Microsoft's .NET Framework. Unlike a batch program, it spends most of its time simply waiting for the user to do something, such as fill in a text box or click a button.
  • Empty Form
    using System;using System.Windows.Forms;public class EmptyForm : System.Windows.Forms.Form{  public EmptyForm()  {  }  public static int Main()  {    Application.Run(new EmptyForm());    return 0;  }       }
  • My First Window
                            private void InitializeComponent()        {            this.Size = new System.Drawing.Size(300,300);            this.Text = "MyFirstWindow";        }                public static void Main(string[] args)         {            Application.Run(new MyFirstWindow());        }    }
    using System;    using System.Drawing;    using System.Collections;    using System.ComponentModel;    using System.Windows.Forms;    using System.Data;        public class MyFirstWindow : System.Windows.Forms.Form    {        public MyFirstWindow()        {            InitializeComponent();        }