Codes from Developers

C#

auto,reset,event,c#,thread

this is the usage of autoresetevent in c#


C#

c#,factors,factor,of,number

This Code Shows How to Display the Factors of the Entered Number


C#

search,element,array,indices,index

This Code Shows How to Search an element with Array Indices


Java

Interface,List,and,class,LinkedList,example

Interface List and class LinkedList example in java


Delphi

Margins,and,AlignWithMargins,properties,delphi

This example evidences the usage of the Margins and AlignWithMargins properties. Note that Margins only work when AlignWithMargins is set to True and Align is not alNone.


Java

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

Adding Items and Removing Itesm from JList in Java


Java

Changing,container,at,runtime,java

Changing container at runtime in Java


Delphi

TColorGrid,,component,delphi

This examples demonstrates how to use the TColorGrid component.


PHP

Simple,menu,system,PHP

Simple menu system PHP


Delphi

type,character,delphi

The following example demostrates the use of some routines in Character unit that allow to determine the type of a character. When the user types something in the first memo, the second one gets filled with relevant information.


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.


C#

visitor,pattern

Visitor Pattern


C#

c#,sum,binary,numbers

This Code Shows How to Find the Sum of two Binary Numbers


C#

c#,insertion,sort

This Code Shows How To Perform Insertion Sort. Here it takes an element from the list and places it in the correct location in the list. This process is repeated until there are no more unsorted items in the list.


C#

c#,left,join,linq

This code block shows how to left join in c# using linq


PL/SQL

removing,auto,increment,feature,from,column,sql,primary,key

This code block removed auto increment feature from a primary key auto incremented column.


Java

Display,an,Image,in,Canvas,java

Display an Image in Canvas in Java


PHP

Mysql,escape,string

Mysql escape string


PHP

PHP,Function,Encrypt,Decrypt,string

PHP Function to EncryptDecrypt a string without a known key The string itself has his own different key for every character


Delphi

window,procedure,searchandreplace,WMNCACTIVATE,FindReplaceWndProc,delphi

The code represents the replacement of the window procedure for the Delphi encapsulation of the Windows search-and-replace common dialog box. Click Button2 to activate an open dialog and send WM_NCACTIVATE to FindReplaceWndProc.