SlideShare a Scribd company logo
1 of 19
Lập trình trên Windows với   Microsoft® .NET
Sử dụng controls trong C# ,[object Object],[object Object],Printing Support Controls
Sử dụng controls trong C# PROPERTIES Methods AutoZoom   Columns   Document   Rows   StartPage   UseAntiAlias   Zoom   InvalidatePreview   PrintPreviewControl
Sử dụng controls trong C# Dialog Boxes Uses  Modal Modeless Types (by Presentation) ,[object Object],[object Object]
Sử dụng controls trong C# Dialog Types ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Custom dialog boxes Common dialog boxes
Sử dụng controls trong C# PROPERTIES CheckFileExists   DefaultExt   FileName   FileNames   Filter   InitialDirectory   MutiSelect   ReadOnlyChecked   RestoreDirectory   ShowHelp   ShowReadOnly   OpenFileDialog
Sử dụng controls trong C# PROPERTIES AllowVectorFonts   AllowVerticalFonts   Color   Font   MaxSize   MinSize   ShowColor   ShowEffects   ShowHelp   FontDialog
Sử dụng controls trong C# AllFullOpen   AnyColor   Color   CustonColors   FullOpen   ShowHelp   SolidColorOnly   PROPERTIES ColorDialog
Sử dụng controls trong C# PROPERTIES Methods CreatePrompt   OverwritePrompt   OpenFile   SaveFileDialog
Sử dụng controls trong C# MessageBox [1] ,[object Object],Mã chương trình hiển thị Messagebox: MessageBox.Show(“[Message]”);   ,[object Object]
Sử dụng controls trong C# MessageBox [2] ,[object Object],[object Object],[object Object],[object Object]
Sử dụng controls trong C# MessageBoxButton Member Name AbortRetryIgnore  OK  OKCancel  RetryCancel  YesNo  YesNoCancel
Sử dụng controls trong C# MessageBoxIcon Member Name Member Name Asterisk Question  Error  Stop  Exclamation  Warning  Hand  Information  None
Sử dụng controls trong C# MessageBoxOptions Member Name DefaultDesktopOnly  RightAlign  RtlReading ServiceNotification
Sử dụng controls trong C# MessageBoxDefaultButton Member Name Button1 Button2 Button3
Sử dụng controls trong C# Visual Effects in WinForms ,[object Object],[object Object],[object Object],[object Object]
Sử dụng controls trong C# Transparent Forms Opacity this.Opacity = 0.83;
Sử dụng controls trong C# Control Anchoring Control Anchored Control not Anchored
Sử dụng controls trong C# Visual Inheritance Visual Inheritance Creates a base Form Used at various places Allows changes to be made in the inherited form

More Related Content

Similar to C# co ban 7

[C] giao trinh c dhbk - viet nhat
[C] giao trinh c   dhbk - viet nhat[C] giao trinh c   dhbk - viet nhat
[C] giao trinh c dhbk - viet nhat
Hoang Nguyen
 
Bài 3: Cấu trúc chương trình
Bài 3: Cấu trúc chương trìnhBài 3: Cấu trúc chương trình
Bài 3: Cấu trúc chương trình
Châu Trần
 
Nhat nghe c#
Nhat nghe   c#Nhat nghe   c#
Nhat nghe c#
Hihi Hung
 
Lập trình c# 2008 cơ bản (nhất nghệ) [thủ thuật it 360]
Lập trình c# 2008 cơ bản (nhất nghệ) [thủ thuật it 360]Lập trình c# 2008 cơ bản (nhất nghệ) [thủ thuật it 360]
Lập trình c# 2008 cơ bản (nhất nghệ) [thủ thuật it 360]
leduyk11
 
6 - Lập trình C++ cơ bản_print.pdf
6 - Lập trình C++ cơ bản_print.pdf6 - Lập trình C++ cơ bản_print.pdf
6 - Lập trình C++ cơ bản_print.pdf
SonNguyen642431
 

Similar to C# co ban 7 (20)

Bài 1 - Làm quen với C# - Lập trình winform
Bài 1 - Làm quen với C# - Lập trình winformBài 1 - Làm quen với C# - Lập trình winform
Bài 1 - Làm quen với C# - Lập trình winform
 
Bai tap java_script-html-2016
Bai tap java_script-html-2016Bai tap java_script-html-2016
Bai tap java_script-html-2016
 
Session 01 C
Session 01 CSession 01 C
Session 01 C
 
Session 01
Session 01Session 01
Session 01
 
Session 01
Session 01Session 01
Session 01
 
[C] giao trinh c dhbk - viet nhat
[C] giao trinh c   dhbk - viet nhat[C] giao trinh c   dhbk - viet nhat
[C] giao trinh c dhbk - viet nhat
 
Bài 3: Cấu trúc chương trình
Bài 3: Cấu trúc chương trìnhBài 3: Cấu trúc chương trình
Bài 3: Cấu trúc chương trình
 
Introduction Vs2008 Dot Net35
Introduction Vs2008 Dot Net35Introduction Vs2008 Dot Net35
Introduction Vs2008 Dot Net35
 
Devwork.vn Giáo trình C# cơ bản
Devwork.vn Giáo trình C# cơ bảnDevwork.vn Giáo trình C# cơ bản
Devwork.vn Giáo trình C# cơ bản
 
Nhat nghe c#
Nhat nghe   c#Nhat nghe   c#
Nhat nghe c#
 
Nhat nghe c#
Nhat nghe   c#Nhat nghe   c#
Nhat nghe c#
 
Nhat nghe c#
Nhat nghe   c#Nhat nghe   c#
Nhat nghe c#
 
Nhat nghe c#
Nhat nghe   c#Nhat nghe   c#
Nhat nghe c#
 
C# cơ bản hay
C# cơ bản hayC# cơ bản hay
C# cơ bản hay
 
Lập trình c# 2008 cơ bản (nhất nghệ) [thủ thuật it 360]
Lập trình c# 2008 cơ bản (nhất nghệ) [thủ thuật it 360]Lập trình c# 2008 cơ bản (nhất nghệ) [thủ thuật it 360]
Lập trình c# 2008 cơ bản (nhất nghệ) [thủ thuật it 360]
 
access
accessaccess
access
 
005. LAP TRINH C#.pdf
005. LAP TRINH C#.pdf005. LAP TRINH C#.pdf
005. LAP TRINH C#.pdf
 
005. LAP TRINH C#.pdf
005. LAP TRINH C#.pdf005. LAP TRINH C#.pdf
005. LAP TRINH C#.pdf
 
Cau hoi trac nghiem lt nc (1)
Cau hoi trac nghiem lt nc (1)Cau hoi trac nghiem lt nc (1)
Cau hoi trac nghiem lt nc (1)
 
6 - Lập trình C++ cơ bản_print.pdf
6 - Lập trình C++ cơ bản_print.pdf6 - Lập trình C++ cơ bản_print.pdf
6 - Lập trình C++ cơ bản_print.pdf
 

C# co ban 7

  • 1. Lập trình trên Windows với Microsoft® .NET
  • 2.
  • 3. Sử dụng controls trong C# PROPERTIES Methods AutoZoom Columns Document Rows StartPage UseAntiAlias Zoom InvalidatePreview PrintPreviewControl
  • 4.
  • 5.
  • 6. Sử dụng controls trong C# PROPERTIES CheckFileExists DefaultExt FileName FileNames Filter InitialDirectory MutiSelect ReadOnlyChecked RestoreDirectory ShowHelp ShowReadOnly OpenFileDialog
  • 7. Sử dụng controls trong C# PROPERTIES AllowVectorFonts AllowVerticalFonts Color Font MaxSize MinSize ShowColor ShowEffects ShowHelp FontDialog
  • 8. Sử dụng controls trong C# AllFullOpen AnyColor Color CustonColors FullOpen ShowHelp SolidColorOnly PROPERTIES ColorDialog
  • 9. Sử dụng controls trong C# PROPERTIES Methods CreatePrompt OverwritePrompt OpenFile SaveFileDialog
  • 10.
  • 11.
  • 12. Sử dụng controls trong C# MessageBoxButton Member Name AbortRetryIgnore OK OKCancel RetryCancel YesNo YesNoCancel
  • 13. Sử dụng controls trong C# MessageBoxIcon Member Name Member Name Asterisk Question Error Stop Exclamation Warning Hand Information None
  • 14. Sử dụng controls trong C# MessageBoxOptions Member Name DefaultDesktopOnly RightAlign RtlReading ServiceNotification
  • 15. Sử dụng controls trong C# MessageBoxDefaultButton Member Name Button1 Button2 Button3
  • 16.
  • 17. Sử dụng controls trong C# Transparent Forms Opacity this.Opacity = 0.83;
  • 18. Sử dụng controls trong C# Control Anchoring Control Anchored Control not Anchored
  • 19. Sử dụng controls trong C# Visual Inheritance Visual Inheritance Creates a base Form Used at various places Allows changes to be made in the inherited form