Skip to content

tolik-punkoff/csharp-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csharp-examples

different small examples on C #

about-demo - about window example

open-form - check if Form already open.

set-focus-or-create-form - set focus to form if form exist or create new form if form not open

hide-caret - hide caret (cursor) in TextBox example

popup-form - popup form above notification area

list-view-1 - use native ListView control as log control

list-view-at-log - fix jitter in ListView control as log control

insert-replace-textbox - insert/replace symbols in textbox after Ins key press

noborder-form-move - move form with FormBorderStyle == None

noborder-form-move-2 - move form with FormBorderStyle == None (alternative variant)

noborder-form-resize - resize form with FormBorderStyle == None

read-write-file - simple class for read and write file with backup

bin-oct-hex-dec - demonstration of the transformation of numbers into the number systems with bases 2, 8, 10, 16, using the standard class Convert

charset-app - charmap application example for single-byte encodings and Unicode

surrogate-pair-example - surrogate pair char displaying example

ungzip - detecting and unpacking gzip-archive (.NET 2.0)

test-internet-connection - Test internet connection example

dynamic-notifyicon - Creates an icon in the system tray with dynamically updated text

dynamic-notifyicon-2 - Creates an icon in the system tray with dynamically updated overlay images

validate-ip - Validate IP (v4) without using regular expressions

overlay-images - Images overlay and resize example (WindowsForms)

autorun-example - Startup program from Windows Registry

byte-order - byte order (little-endian/big-endian) example

ip-converter - Class for operations with IP-address

spec-diaps - checks if the IP-address is in a special-use addresses diapasons.

create-shortcut - Create Windows shortcut (LNK) example (with WSHShell)

os-version - OS version, name, service pack and architecture detect example

get-user-profile-folder-example - Get user profile folder (e.g. C:\users\UserName) example

input-digit-example - Input only digid, float numbers and negative numbers in TextBox

get-cert-fingerprint - Get X.509 Certificate hash/fingerprint example

self-singed-cert - Using self-signed certificate to HttpWebRequest

exit-code-example - console application return custom exit code

hello-world - add Hello, world example

fill-array - This example fills a byte array with the specified number or random numbers. Contains a FillArray class and a test program.

one-sym-string - Generate one symbol string (For and StringBuilder)

add-leader-zero - Add leader zero's to string representation of a number (not optimal solution)

add-leader-zero-writeline - Add leader zero's to string representation of a number in Console.WriteLine function

add-leader-zero-string-format - Add leader zero's to string representation of a number with String.Format function

kmg2bytes-example - kilo-, mega-, giga- bytes to bytes convert example

files-generator - generate specified number of files with specified size and byte pattern

del-reg-values - delete Registry values in Registry subkey

find-files-by-mask - find files by file mask and fix bug Directory.GetFiles()

key-test - example for KeyUp, KeyDown and KeyPress

write-to-stderr - console application write message to STDERR example

translit-example - convert russian letters in phonetic latin writing

console-color-demo - set console text and background color example

c-k-f-converter - Celsius-Kelvin-Farengeit temperature converter

Releases

No releases published

Packages

No packages published

Languages