|
|
|
|
|
| | Total Hits: 9 | Today: 0 | Author: Dinesh Beniwal | Rating:  |
| |  In this article I will explain about Custom Controlling and the Print Controller in GDI+.
Custom Controlling and the Print Controller in GDI+
At this point you must feel like a printer master and have the confidence you need to write a printing application. We have covered almost every aspect of printing in .NET, but guess what! There are still a few surprises hidden in System.Drawing.Printing. You will probably never use the classes that we're going to discuss in this section, but... |
| | Total Hits: 235 | Today: 0 | Author: Kevin McFarlane. | Rating:  |
| |  Microsoft .NET event handling, in common with typical object-oriented frameworks, is implemented using the well-known Observer design pattern. (See the book, Design Patterns, by Gamma et al., Addison-Wesley, 1995, pp325-330). This article describes how to enhance .NET event handling with the Template Method design pattern. The discussion and code snippets are in C# but the summary sample is implemented in both C# and Visual Basic .NET.... |
| | Total Hits: 269 | Today: 0 | Author: Ged Mead | Rating:  |
| |  In Part 1 we created a Pie Chart by drawing directly on to the surface of the form using the form’s Graphics object. In this article, we are going to create a Bar Chart, again based on some notional sample data - sales figures from six European countries. However, this time we will draw the Bar Chart inside a PictureBox control.... |
| | Total Hits: 11 | Today: 0 | Author: Jason Titcomb | Rating:  |
| |  This program will process and graphically display CNC code. This plain text code is used by machine tools to cut metal and other materials. Wikipedia has information on CNC if you are not familiar with it. A CNC Programmer would use this type of program to verify code (G-code) before sending it to a machine to cut a part.... |
| | Total Hits: 36 | Today: 0 | Author: Matthew Hazlett | Rating:  |
| |  When the basic GDI+ functions just won't do, what you want is back to API school. BitBlt quite simply makes copies of portions of the screen. This is done by accessing the Windows hDC and other low level mind numbing things.... |
| | Total Hits: 33 | Today: 0 | Author: Quenchmaster | Rating:  |
| |  Firstly, I would like to acknowledge that the some of the methods for this control came from Steve McMahon's (http://www.vbaccelerator.com/) VB6 version, so, all the credit for the idea goes to him. The contribution I have made is to update the code for use in VB.NET 2003 and introduce a few additional elements. I should also mention that the WaveFile class used in the control is an extension of the one written by The KPD-Team.... |
| | Total Hits: 44 | Today: 0 | Author: X-caiver | Rating:  |
| |  Even VB.NET users should be able to have awesome effects. There are many fluid effect routines out there, most in C. This is a VB.NET port of the C# implementation. I've also opened up a few more properties so you can have greater control over the effect programatically. You can make some really neat looks by fiddling with the parameters - make your image appear to be rubber, or under an oil surface, or use regular old water physics. Just check out the sample app and the documentation in the cod... |
| | Total Hits: 15 | Today: 0 | Author: kurtsune | Rating:  |
| |  I needed the HTML color in a web project, but because I only had a bitmap of the page I didn't know the colors.
Then I remembered I had a utility written in VB6. I decided to tranpose it to VB.NET and add the HTML-color-code to the result.... |
| | Total Hits: 86 | Today: 0 | Author: daltonr | Rating:  |
| |  Following on from the introduction to Specifications in part one, this article shows a simple implementation of the design pattern.
* Part 1 - An Introduction to the Specification Design Pattern * Part 2 - A simple implementation of the pattern in VB.NET * Part 3 - A Generic Specification with Operator Overloading * Part 4 - Using the Generic Specification... |
| | Total Hits: 194 | Today: 0 | Author: Simon Segal. | Rating:  |
| |  In a recent project I required Data Access Classes to have the ability to implement the observer pattern, subscribing to a set of events that are triggered after new ListViewItems had been added to and removed from a ListView. Essentially the ListView was to behave as the Subject and the Data Access class as the Observer, this would inturn facilitate the persistance of the ListViewItem contents to a SQL Server Database, maintaining a record of the current contents (ListViewItems) of the ListView... |
| | Total Hits: 167 | Today: 0 | Author: Steven Mandel | Rating:  |
| |  In the first part of this article, I mentioned that my goal in building a CD player using VB.NET was to accomplish four things. The first two, to show you how to use the Windows API function in VB.NET and to build a library of CD Audio methods were accomplished in part 1. In part 2, we will build a CD player and I will show you how to build a button array that will be attached to a group box.... |
| | Total Hits: 601 | Today: 0 | Author: DevASP | Rating:  |
| |  This article is about how you can get the color supported by your system and how can use that color to set the color of any control. Along with you can generate random color to use in your application. Steps you will do.Start visual studio and create a new window application. Set the following properties of the form object.... |
| | Total Hits: 650 | Today: 0 | Author: DevASP | Rating:  |
| |  In this simple article you will learn that how you can draw Polygon, Ellipse, Arc, and Bezier using System.Drawing.Drawing2D.GraphicsPath which follows your mouse. Create New Project of windows application in VB and drag two labels and a timer on form.... |
| | Total Hits: 6537 | Today: 0 | Author: DevASP | Rating:  |
| |  In this simple article you will learn to work with Image List Control and able to make your image viewer. Create New Project in VB.net. Drag a ImageList control from tool box and place on form and now drag and drop a button and a Picture Box on form1. Now go to properties of the image list and using property collection ADD picture which u want to show in your image viewer.... |
| | Total Hits: 144 | Today: 0 | Author: Lynn Torkelson | Rating:  |
| |  Web developers moving to ASP.NET face the problem of creating a Web page template to enforce a consistent look and feel across a Web site. When your organization or customer wants to tweak the appearance of a site, you don't want to go through large numbers of Web pages to make identical changes. You want to change a single template used by all of your Web pages.
With the inheritance capability built into the .NET languages, you have several choices available to you for creating such a te... |
| | Total Hits: 449 | Today: 1 | Author: Gavin Harriss | Rating:  |
| |  Ever had a web site that needs branding for individual customers but found the presence of image elements complicates the process as you can't adjust their color from a simple style sheet? Wouldn't it be nice to use a base set of grayscale images and automatically apply a color wash to them to bring them in line with the customer's color scheme without fiddling with a graphics package?... |
| | Total Hits: 227 | Today: 0 | Author: Gal Ratner | Rating:  |
| |  we are going to look at images from a programmer's point of view. In this article, we will be examining a hypothetical scenario. We'll have an end user who needs to look at a scaled model of a large image, a thumbnail, if you will. As the programmer, we'll need to decide how to process our image in order to scale it down. We are going to examine two different ways of scaling JPEG images: Java using JAI (Java Advanced Imaging), and .NET using the class library and VB.NET.... |
| | Total Hits: 209 | Today: 0 | | Rating:  |
| |  I search the internet a long time for some algorithm to display a "Text on a Path", but i only find the Batik SVG Toolkit.Its a java project for displaying SVG. SVG has the ability to display "Text on a Path", but i only needed the Text on path functionality. So i start remember my old math education and code the first lines to calculate the angle of defined position on a path.Do you remember a²+b²=c² ? That the base to solve the problem. You need two points on a straigt line.... |
| | Total Hits: 561 | Today: 0 | Author: Raphael Thiney | Rating:  |
| |  Lets you do the most common image transformations, such as crop, rotate, resize.These operations produce majors changes to the overall appearence of the image either for visulation, or art-like effects. However while the overall look of the image has changes, the original image itself is still un-moved from the original image, only its appearance has changed.... |
| | Total Hits: 380 | Today: 0 | Author: Nick Waelti | Rating:  |
| |  A Tree like component with rich design time features. There are actually several reasons that made me start doing this, there are almost no tree control samples available out there. Nothing for VB.NET. Secondly, there are almost no examples of rich time design support for collection of controls and I needed a tree with various image sizes (for a DVD collection), I hated to not be able to show PNG images correctly within a tree. Lastly, I wanted to go deep into a control. I'm not saying my art... |
|
|
|
|
|
|
|
|
|
|
|
|
|