Codes from Developers

C#

Flyweight,Pattern

Flyweight Pattern


PHP

Bubblesort,routine,php

Bubblesort routine in php


C#

c#,event,interface

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


PHP

Implode,php

Implode in PHP


C#

c#,reflection

These sample codes shows how to use reflections in C#


C#

c#,bubble,sort

This Code Shows How To Perform Bubble Sort. Here bubble sort changes the postion of numbers or changing an unordered sequence into an ordered sequence.


Delphi

file,listbox,FileListBox,ExtendedSelect,MultiSelect,delphi

This example uses a file listbox and a regular list box on a form. The following routine scans through the files listed in the file list box and lists the sizes of any selected files to the regular list box. To exercise the error condition, create a file in the Debug directory, start this application, and then delete the file. Now try to list the size of the deleted file. Set the MultiSelect and ExtendedSelect properties on the FileListBox.


Delphi

FileAttributes,delphi,getting,setting

This examples demonstrates the use of getting and setting the attributes to a file.


C#

c#,trigger,timer

This Code Demonstrates Trigger Concept


PHP

Image,browser,php

Image browser in PHP


PHP

Recursive,function,to,move,files,on,a,filesystem,php

Recursive function to move files on a filesystem in PHP It can be minor changed in order to copy recursively


Java

Class,Stack,examples,java

Class Stack examples in Java


C# cshtml

asp.net,mvc,localization,using,database

ASP.NET MVC Localization using a Database ASP.NET MVC already offers support for localization through ressource files. However, if you need to read texts from a database things get more complicated. Especially if you still want to use DataAnnotations in your model for display text and validation messages.


C#

Parallel,LINQ,c#

Parallel LINQ


C#

observer,pattern

Observer Pattern


C#

Abstract,Factory,Pattern

Abstract Factory Pattern


C#

c#,sort,string

This Code Sorts a String using Predefined Function


Java

Demonstrating,method,mouseDrag,java

Demonstrating method mouseDrag in Java


JavaScript

focus,end,js,focus,place,caret,at,end

this code will let you move caret at the end of text, focus end of text


Delphi

draw,grid,top,row,DrawGrid,delphi

This code uses a draw grid and a button on a form. When the user clicks the button, the last row of the draw grid becomes the top row. This example requires a button, a DrawGrid, and a populated ImageList.