• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
10th june
 

10th june

on

  • 610 views

 

Statistics

Views

Total Views
610
Views on SlideShare
420
Embed Views
190

Actions

Likes
0
Downloads
4
Comments
0

2 Embeds 190

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

Accessibility

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

    10th june 10th june Presentation Transcript

    • WINDOWS FORM
      10thJune 2010
    • LifeCycle of Windows Forms
      • Move: This event occurs when the form is moved. Although by default, when a form is instantiated and launched, the user does not move it, yet this event is triggered before the Load event occurs.
      • Load: This event occurs before a form is displayed for the first time.
      • VisibleChanged: This event occurs when the Visible property value changes.
      • Activated: This event occurs when the form is activated in code or by the user.
      • Shown: This event occurs whenever the form is first displayed. 
      • Paint: This event occurs when the control is redrawn.
      • Deactivate: This event occurs when the form loses focus and is not the active form.
      • Closing: This event occurs when the form is closing.
      • Closed: This event occurs when the form is being closed.
    • Delegates
      A delegate in C# allows you to pass methods of one class to objects of other classes that can call those methods. 
      Technically delegateis a reference type used to encapsulate a method with a specificsignature and return type.
      They act as FUNCTION POINTERS
    • Types of Delegates
      Single Delegate (System.Delegate)
      public delegate void Myfunction(string,System.Int32) ;
      public delegate boolMyFunctionOne();
      Multi-Cast Delegates (System.MulticastDelegate )
      A delegate that contains an invocation list with multiple methods.
      Combine += & Remove -=
    • Event Handlers
    • Windows Forms Designer
      Form1.resx & Form1.Designer.cs
      This is the main playing ground when you are laying out your user interface.
    • Windows Form Controls
      Basic Properties
    • Events Associated
    • Basic Controls
      Button
      Label & LinkLabel
      Textbox
      RadioButton and CheckBoxControls
      RichTextBox Control
      ListBox and CheckedListBox
      ListViewControl
      StatusBar
      PictureBox
      TabControl