| Lập trình trên Windows với Microsoft® .NET Giảng viên : Hồ Hoàn Kiếm Sử dụng controls trong C# PrintDocument PrintPreviewControl 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) To display information and messages for the user As a means of accepting user-input Sử dụng controls trong C# Dialog Types Types of Dialog (by definition) OpenFileDialog PageSetUpDialog FontDialog ColorDialog SaveFileDialog PrintPreviewDialog PrintDialog 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 . | Lập trình trên Windows với Microsoft® .NET Giảng viên : Hồ Hoàn Kiếm Sử dụng controls trong C# PrintDocument PrintPreviewControl 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) To display information and messages for the user As a means of accepting user-input Sử dụng controls trong C# Dialog Types Types of Dialog (by definition) OpenFileDialog PageSetUpDialog FontDialog ColorDialog SaveFileDialog PrintPreviewDialog PrintDialog 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] MessageBox Code for showing Messagebox: (“[Message]”); MessageBox method is overloaded in twelve more ways to give more functionality Sử dụng controls trong C# MessageBox [2] MessageBoxButtons MessageBoxIcon MessageBoxDefaultButton MessageBoxOptions 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# .