Codes from Developers

C#

observer,pattern

Observer Pattern


C#

bridge,pattern

Bridge Pattern


PHP

Paginating,mySQL,data,PHP

Paginating the mySQL data in PHP


Delphi

TPanel,OnDragOver,event,handler,delphi

This code is a TPanel's OnDragOver event handler that will not allow a label control to be dropped on the panel and stops the dragging of the label as soon as you drag the label onto the panel.


Java

Timer,Applet,java

Timer Applet in Java


Delphi

CopyMode,of,an,image,canvas,delphi

The following example uses the CopyMode of an image's canvas to whiten and empty the image when the user chooses the Cut menu item. This example requires a Main Menu with a Copy and a Cut menu item that have their OnClick error handlers populated. Note: CopyMode and CopyRect are members of the destination canvas.


Delphi

region,clipping,rectanglecanvas,ClipRect,,delphi

This example creates a region and selects this region as the clipping rectangle for the Image component's canvas. It then sets the canvas's brush color to red and calls FillRect using the ClipRect as the area to fill. Lastly, the ClipRect is reset to the original value that it contained by calling SelectClipRect with nil as the second parameter and deletes the region. Place a TImage object in the form.


PHP

Class,that,allows,to,establish,connections,with,POP3,mail,in,php

Class that allows the PHP developer to establish connections with a POP3 mail


C#

c#,event,interface

This Code Shows How to IIlustrate Handling an Event Declared in an Interface


Java

Adding,Items,and,Removing,Itesm,from,JList,java

Adding Items and Removing Itesm from JList in Java


C++

virtual,calender,shows,current,month,and,user,can,navigate,c++

This virtual calender shows current month and user can navigate through previous or next month / year using arrow keys in C++


C#

c#,custom,iformatprovider,format

This code shows how to implement Custom IFormatProvider


Delphi

client,dataset,index,delphi

The code below creates a new case-insensitive index at run time and then sorts the client dataset using that index. The user specifies the field on which to sort the client dataset in an edit control.


C#

print,from,network,printer,c#

this code will let your c# win app to print from network printer


C#

c#,quick,sort

This Code Shows How to Implement Quick Sort. Here Quicksort first divides a large array into two smaller sub-array: the low elements and the high elements. Quicksort can then recursively sort the sub-arrays


C#

c#,calculate,compound,interest

This Code Shows How to Calculate Compound Interest


CSS

enable,disable,hover,events

these code blocks enables and disable all hover events in css


PHP

Easily,Configurable,Counter,php

Easily Configurable Counter in PHP


C++

Progress,bar,c++

Progress bar in C++


PHP

Database,Searching,Class,php

Database Searching Class in PHP