Danh mục

Session 3 - Advanced User Interface Enhancements

Số trang: 35      Loại file: ppt      Dung lượng: 878.50 KB      Lượt xem: 17      Lượt tải: 0    
Jamona

Phí tải xuống: 18,000 VND Tải xuống file đầy đủ (35 trang) 0
Xem trước 4 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

The different Controls are grouped into different typesdepending on the functionality they offer. Text Edit Controls allow users to enter and edit text while TextDisplay Controls only display text to the user. Selection list Controls display a set of values to the user andallow users to select a value from the list. Graphic storage Controls store graphics, such as images, in itand Graphic Display Controls are used to display graphics,such as images. RichText Controls are text controls that are enriched with extrafunctionality that differentiate them from other text controls....
Nội dung trích xuất từ tài liệu:
Session 3 - Advanced User Interface Enhancements Session3 AdvancedUser InterfaceEnhancements Review ThedifferentControlsaregroupedintodifferenttypes dependingonthefunctionalitytheyoffer. TextEditControlsallowuserstoenterandedittextwhileText DisplayControlsonlydisplaytexttotheuser. SelectionlistControlsdisplayasetofvaluestotheuserand allowuserstoselectavaluefromthelist. GraphicstorageControlsstoregraphics,suchasimages,init andGraphicDisplayControlsareusedtodisplaygraphics, suchasimages. RichTextControlsaretextcontrolsthatareenrichedwithextra functionalitythatdifferentiatethemfromothertextcontrols. WinForms / Session 3 / 2 of 35 ReviewContd… Value Setting Controls help users to set values, such as ‘yes’or‘no’. Dialog Boxes Controls provide basic functionality like the Savedialogbox,OpendialogboxandPrintdialogbox. Menu Controls provide the menu functionality to the user whileCommands controlsallowusers to interact with the application. AsetofcontrolscanbegroupedusingGroupingControls. Thestepsinvolvedincallingaformfromanotherformare:  Createaninstanceoftheformtobecalled  Showtheinstance WinForms / Session 3 / 3 of 35 Objectives DiscussprintsupportinWinforms ListdifferenttypesofDialogBoxes WorkwithsystemdefinedDialogBoxes ImplementUserInterfaceCapabilities TransparentForms  ControlDocking  ControlAnchoring  VisualInheritance  WinForms / Session 3 / 4 of 35 PrintingSupportControlsPrintDocumentPrintPreviewControl WinForms / Session 3 / 5 of 35 PrintDocument EventsProperties PrintPage DocumentName Be i i g nPrnt Pri C ont l nt roler EndPrintPrinterSettings Methods QueryPageSettingsDefaultPageSettings G et ype t Print ToString WinForms / Session 3 / 6 of 35 PrintPreviewControlProperties Zoom U seA ntA las ii Methods DocumentStartPageAutoZoom InvalidatePreview Columns Rows WinForms / Session 3 / 7 of 35 PrintSupportControls ExamplePrintPreviewControl PrintDocument WinForms / Session 3 / 8 of 35 DialogBoxes To display information and messages for the Uses user To accept user-input  Types (by Presentation) WinForms / Session 3 / 9 of 35 DialogTypes TypesofDialog(bydefinition) CustomDialogBoxes  CommonDialogBoxes  OpenFileDialog  PageSetUpDialog  FontDialog  ColorDialog  SaveFileDialog  PrintPreviewDialog  PrintDialog  WinForms / Session 3 / 10 of 35 OpenFileDialog ShowReadOnly RestoreDirectory FileName AddExtension PropertiesReadOnlyChecked CheckPathExists Title ShowHelp IntialDirectory FilterIndex FileNames CheckFi eExi l sts M uli l tSee DefaultExt Filter c t ValidatesNames WinForms / Session 3 / 11 of 35 OpenFileDialogContd… Events Methods O penFieHelpRequest l FileOk ShowDialog WinForms / Session 3 / 12 of 35 PageSetUpDialogAllowOrientation PrinterSettingsAllowMargins AllowPrinter Properties Document ShowHelpShowNetwork AllowPaper MinMargins PageSettings WinForms / Session 3 / 13 of 35 FontDialog PropertiesAllowScriptChange AllowVectorFontsAllowSimulations AllowVerticalFonts ScriptsOnly ShowColor ShowEffect Font ust M Font Exi st MinSize MaxSize Color Event ShowApply tchOnl ShowHelp FixedPi y A ppl ...

Tài liệu được xem nhiều: