YOU CAN CODE!

 

With The Case Of UCanCode.net  Release The Power OF  Visual C++ !   HomeProducts | PurchaseSupport | Downloads  
Download Evaluation
Pricing & Purchase?
E-XD++Visual C++/ MFC Products
Overview
Features Tour 
Electronic Form Solution
Visualization & HMI Solution
Power system HMI Solution
CAD Drawing and Printing Solution

Bar code labeling Solution
Workflow Solution

Coal industry HMI Solution
Instrumentation Gauge Solution

Report Printing Solution
Graphical modeling Solution
GIS mapping solution

Visio graphics solution
Industrial control SCADA &HMI Solution
BPM business process Solution

Industrial monitoring Solution
Flowchart and diagramming Solution
Organization Diagram Solution

Graphic editor Source Code
UML drawing editor Source Code
Map Diagramming Solution

Architectural Graphic Drawing Solution
Request Evaluation
Purchase
ActiveX COM Products
Overview
Download
Purchase
Technical Support
  General Q & A
Discussion Board
Contact Us

Links

Get Ready to Unleash the Power of UCanCode .NET

 


UCanCode Software focuses on general application software development. We provide complete solution for developers. No matter you want to develop a simple database workflow application, or an large flow/diagram based system, our product will provide a complete solution for you. Our product had been used by hundreds of top companies around the world!

"100% source code provided! Free you from not daring to use components because of unable to master the key technology of components!"


Visual C# Samples
Scribble Sample: Visual C# MDI Drawing Application

The Scribble sample shows how to develop a Windows Forms MDI application using Visual C# and the .NET Framework classes. Scribble is a small drawing application that lets you draw free-hand drawings using the mouse and save the images in a file.

Building and Running the Sample

To build and run this sample

  1. Open the solution Scribble.sln.
  2. From the Build menu, click Build Solution.
  3. From the Debug menu, click Start Without Debugging.

When you run the sample, you get a drawing surface and the following menu items:

  • File menu for input and output operations.
  • Edit menu to cut, copy, and paste.
  • Pen menu to select the pen thickness.
  • View menu to show or hide the toolbar and the status bar.
  • Window menu to create, tile, or cascade windows.
  • Help menu to display the help topics and the About Scribble text box.

In addition to the menu options, the user interface includes a toolbar with buttons to duplicate the menu commands: New, Open, Save, Print Preview, Print, and Help.

Other Versions of Scribble

Scribble is also available as an MFC sample, as a Managed Extensions for C++ sample, and as Visual Basic sample:

Classes and Keywords

This sample demonstrates the following classes:

System.Windows.Forms; System.Collections.Arraylist; System.Drawing.Printing; System.Runtime.Serialization; System.Runtime.Serialization.Formatters.Binary

This sample demonstrates the following keywords:

System.Windows.Forms.Form; System.Windows.Forms.Form.MDIParent; System.Windows.Forms.Form.MDIChildren; System.Windows.Forms.ImageList; System.Windows.Forms.HelpProvider; System.Windows.Forms.ToolBar; System.Windows.Forms.StatusBar; System.Windows.Forms.OpenFileDialog; System.Windows.Forms.SaveFileDialog; System.Windows.Forms.Menu; System.Windows.Forms.MenuItem; System.Windows.Forms.PrintPreviewDialog; System.Windows.Forms.Help; System.Drawing.Printing; System.Drawing.Printing.PrintDocument; System.Drawing.Pen; System.Drawing.Graphics; System.Drawing.Graphics.DrawLine; System.Collections.ArrayList; System.Runtime.Serialization.Formatters.Binary

See Also

Visual C# Samples | General Samples

 

 

 

Copyright ?1998-2022 UCanCode.Net Software , all rights reserved.
Other product and company names herein may be the trademarks of their respective owners.

Please direct your questions or comments to webmaster@ucancode.net