... Author Charles Petzold Charles Petzold (www.charlespetzold.com) is a full-time freelance writer who has been programming for Microsoft Windows since 1985 and writing about Windows programming ... Data Petzold, Charles, 1953- Programming Microsoft Windows with C# / Charles Petzold. p. cm. Includes index. ISBN 0-7356-1370-2 1. C# (Computer program language) 2. Microsoft Windows ... PEN WIDTHS 228 PAGE TRANSFORMS 231 Programming Microsoft Windows with C# Charles Petzold PUBLISHED BY Microsoft Press A Division of Microsoft Corporation One Microsoft Way Redmond, Washington...
Ngày tải lên: 10/12/2013, 14:16
Manning Windows Forms Programming (phần 2) ppt
... this.pbxPhoto.Anchor = (((System .Windows. Forms. AnchorStyles.Top | System .Windows. Forms. AnchorStyles.Bottom) | System .Windows. Forms. AnchorStyles.Left) | System .Windows. Forms. AnchorStyles.Right); SET ... System.Reflection.AssemblyVersion("1.3")] namespace MyNamespace { using System; using System.Drawing; using System .Windows. Forms; public class MyForm : System .Windows. Forms. Form { Button btnLoad; PictureBox pboxPhoto; public MyForm() ... </summary> c The Windows Forms Designer requires this field in order to ensure that components are properly managed on the form at run time, and specifically for components that are not also Windows Forms...
Ngày tải lên: 07/07/2014, 04:20
Manning Windows Forms Programming (phần 3) ppt
... source file is shown here. private System .Windows. Forms. MenuItem menuLoad; private System .Windows. Forms. MenuItem menuItem1; private System .Windows. Forms. MenuItem menuExit; . . . private void ... { . . . this.menuLoad = new System .Windows. Forms. MenuItem(); this.menuItem1 = new System .Windows. Forms. MenuItem(); this.menuExit = new System .Windows. Forms. MenuItem(); . . . // // menuFile ... these actions. private System .Windows. Forms. StatusBarPanel sbpnlImagePercent; private System .Windows. Forms. StatusBarPanel sbpnlImageSize; private System .Windows. Forms. StatusBarPanel sbpnlFileName; ...
Ngày tải lên: 07/07/2014, 04:20
Manning Windows Forms Programming (phần 4) pptx
... IDisposable interface and is the basis for most classes in the System .Windows. Forms namespace, most objects in the Windows Forms namespace provide a Dispose method for just this purpose. Let’s ... component that appears as a panel within a StatusBar con- trol. This class is part of the System .Windows. Forms namespace, and inherits from the Sys- tem.ComponentModel.Component class. A panel must ... Object methods will come in useful in future chapters. Since they are found in every object, Windows Forms controls make use of these methods whenever an object must be compared with another object...
Ngày tải lên: 07/07/2014, 04:20
Manning Windows Forms Programming (phần 5) doc
... environments from Microsoft distinguished among the dif- ferent types of windows an application may display. In MFC, for example, there is one hierarchy ( CFrameWnd) for framed windows such as MDI windows ... although the actual windows are quite different. Also of note are the PageSetupDialog and PaintDialog classes. These common dialogs are used when printing from Windows Forms ap- plications, ... Open- FileDialog and SaveFileDialog classes used in this chapter can be configured directly in the Windows Forms Designer window. They are available in the Toolbox window, and can be dragged onto the...
Ngày tải lên: 07/07/2014, 04:20
Manning Windows Forms Programming (phần 6) pps
... this.btnOK = new System .Windows. Forms. Button (); this.btnCancel = new System .Windows. Forms. Button (); this.label1 = new System .Windows. Forms. Label (); this.label2 = new System .Windows. Forms. Label (); ... this.Controls.AddRange(new System .Windows. Forms. Control[] { this.txtCaption, this.lblImage, this.label2, this.label1, this.btnCancel, this.btnOK}); this.FormBorderStyle = System .Windows. Forms. FormBorderStyle.FixedDialog; ... = new System .Windows. Forms. Label (); this.lblImage = new System .Windows. Forms. Label (); this.txtCaption = new System .Windows. Forms. TextBox (); ã Next the nondefault properties are set for each...
Ngày tải lên: 07/07/2014, 04:20
Manning Windows Forms Programming (phần 7) docx
... 339 10.5 Owner-drawn lists 343 10.6 Recap 352 This chapter continues our discussion of the Windows Forms controls available in the .NET Framework. The controls we saw in chapter 9 each presented ... controls added to the Form class in previous chapters. this.panel1.Controls.AddRange(new System .Windows. Forms. Control[] { this.txtPhotographer, this.txtDate, this.txtCaption, this.txtPhotoFile, ... that displays a text string or image within a form. This class is part of the of the System .Windows. Forms namespace, and inherits from the Control class. A Label object can be assigned a tab...
Ngày tải lên: 07/07/2014, 04:20
Bạn có muốn tìm thêm với từ khóa: