|
|
|
|
|
| | Total Hits: 7 | Today: 0 | Author: Eduardo de la Garza | Rating:  |
| |  This program draws a cube that rotates in X, Y and Z. This Windows application was developed in C # and with the help of the OpenGL libraries.
This simple application demonstrates how OpenGL works and how easy it is to draw a 3D figure and make it move in the direction we choose.... |
| | Total Hits: 0 | Today: 0 | Author: Jean Paul | Rating:  |
| |  I am here with an example oriented design pattern. The design pattern is Decorator.
According to Gof: "Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to sub classing for extending functionality"... |
| | Total Hits: 0 | Today: 0 | Author: JeffHeaton | Rating:  |
| |  Your computer most likely has a 3D accelerated graphics card. This is especially true if your computer is a desktop. Accelerated video cards are becoming very common even in laptops. Your graphics card, or graphics processing unit (GPU) packs a fair amount of processing power. You can harness this computational power for regular Java programs. This article is the first in a series of articles that I am going to write on GPU programming. This article is the first, and deals only with executing a ... |
| | Total Hits: 0 | Today: 0 | Author: Matthew Cochran | Rating:  |
| |  I was recently working on a 2.0 Framework project where we had many types of related objects. However, we needed to ensure that there were not multiple instances of the same object in memory. Usually the GOF Proxy pattern is used to hide or control access to an object, but we can also use it to define relationships between objects.... |
| | Total Hits: 8 | Today: 0 | Author: Felipe Ramos | Rating:  |
| |  The other day while working on one of the slow projects that have a lot of repetitive coding I did a couple of Google searches for programming challenges or things to keep me motivated. I came across David Bolton section at About.com and found an interesting challenge which lead to this article on the knights tour with C# and GDI+.... |
| | Total Hits: 4 | Today: 0 | Author: Ashish Mundra | Rating:  |
| |  AOP takes care of removing cross cutting concerns like Exception Handling / Logging / Validations, etc., and extracting it in a configuration file or a central place so that developers can focus on implementing Business logic.... |
| | Total Hits: 9 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  When you create a custom control, you will often find it necessary to debug its design-time behavior. This is especially true if you are authoring a custom designer for your custom control. For details, see Walkthrough: Creating a Windows Forms Control That Takes Advantage of Visual Studio Design-Time Features.... |
| | Total Hits: 18 | Today: 0 | Author: owen654321 | Rating:  |
| |  This article presents a data abstraction layer (DAL) designed to: 1. Reduce or eliminate the use of hardcoded SQL statements. SQL queries, updates, inserts, and deletes should be generated by the data abstraction layer when needed. 2. Alleviate the need for developers to write repetitive, database-specific code. 3. Use intelligent data caching to reduce chatter between the code and the database engine, improving application speed. 4. Enable migration between database plat... |
| | Total Hits: 61 | Today: 0 | Author: Kam | Rating:  |
| |  This article is the continuation on my Arcball module for C#. Previously, I had posted a code using CsGL. In this version, I have utilized the Tao.OpenGL wrapper and I have added Rotation/Zoom/Pan functions. I have also made use of Display Lists to speed up plot rendering. The Arcball module written here is general and not limited to OpenGL, and can be used in GDI+ and DirectX as well. Please note that my main focus in this tutorial is on the Arcball module, not on OpenGL application.... |
| | Total Hits: 19 | Today: 0 | Author: cgreen69 | Rating:  |
| |  The dynamic creation of graphics within the .Net Framework is a powerful feature that can be adapted to a wide range of purposes. Here I have developed a demonstration that
* a) generates graphics dynamically from text inputted by a user * b) mixes dynamic graphics with a static graphic to show you how flexible .Net graphic handling is.... |
| | Total Hits: 132 | Today: 0 | Author: Amr Elsehemy ® | Rating:  |
| |  The Tower of Hanoi or Towers of Hanoi is a mathematical game or puzzle. It consists of three stands , and a number of plates of different sizes which can be put over each other on any stand. The puzzle starts with the plates stacked in order of size on one stand we call source, smallest at the top, making a pyramidshape. The object of the game is to move the entire stack to another stand (destination), obeying the following rules: * only one disc may be moved at a time * no disc ma... |
| | Total Hits: 32 | Today: 0 | Author: Victor Nakoryakov | Rating:  |
| |  This article covers a selection of best practices related to the internals of the project “sandbox”. The sandbox is understood as a folder with a complete structure containing the source files of a specific product.
This is Part III of “Agile Sandbox” article. Make sure you've read Part I and Part II.... |
| | Total Hits: 169 | Today: 0 | Author: Alan Zhao | Rating:  |
| |  This is my first C# custom control. Please download the demo program and have a click.... |
| | Total Hits: 55 | Today: 0 | Author: Fred Mellender | Rating:  |
| |  This free ebook takes off from two design patterns mentioned in the literature, Iterator and Template Method. We devise sub-patterns that are specific for enumeration (constructing collections of objects and then making them available one at a time), and searching (ranging over an object space to find objects that satisfy certain criteria).... |
| | Total Hits: 64 | Today: 0 | Author: Guy Baseke. | Rating:  |
| |  Singleton ensure that a class only has one instance, and provide a global point of access to it. It is important for some class to have exactly one instance. There should be only one dock manager for an application, there should be only one work bench for an application.
How do we ensure that a class has only one instance? A global variable makes object accessible, but it doesn't keep you from creating multiple object. For people who come from a C/C++ programming background it is distu... |
| | Total Hits: 112 | Today: 0 | Author: mubbsher. | Rating:  |
| |  This article presents a simplified approach of controlling print jobs using WMI. To know more about WMI, please visit MSDN.
Why WMI? Because it provides a simplified approach and avoids making API calls within our C# code. WMI comes as default for Windows XP and Windows 2000. For Windows 95/98, we need to download WMI Core 1.5 and install it: WMI Core 1.5.... |
| | Total Hits: 97 | Today: 0 | Author: Anson Horton | Rating:  |
| |  I was a huge fan of the Connections series, hosted by James Burke, when it aired on the Discovery Channel. Its basic premise: how seemingly unrelated discoveries influenced other discoveries, which ultimately led to some modern-day convenience. The moral, if you will, is that no advancement is made in isolation. Not surprisingly, the same is true for Language Integrated Query (LINQ).... |
| | Total Hits: 108 | Today: 0 | Author: Filip Bulovic | Rating:  |
| |  Frequently in the world of software development we are dealing with hazy ideas and something that is known as the "generic approach." Naturally it has nothing to do with well defined project goals, but if you don't have anything better you will have to play along. So, imagine that you are to design a DAL which should work with MS SQL, MS Access and Oracle to start and at some later stage you must be capable of adding modules which will use other database systems. You should use the best possible... |
| | Total Hits: 82 | Today: 0 | Author: Anand Narayanaswamy | Rating:  |
| |  C# provides a variety of ways by which you can be produce beep sounds when an error occurs, create tabs between words, print output with double quotes etc. These functionalities can be achieved with the help of the built-in escape characters. Listing 1 illustrates each of these characters in detail. I have provided the necessary explanations in the form of comments... |
| | Total Hits: 161 | Today: 0 | Author: Steve C. Orr | Rating:  |
| |  ASP.NET doesn’t provide any specific way to play music or video in your Web applications, but that doesn’t mean there aren’t any options. For example, the following HTML, when embedded anywhere in an HTML page, will play a background song for visitors:... |
|
|
|
|
|
|
|
|
|
|
|
|
|