Archive | Win Forms RSS feed for this section

Give your Windows Application Flare with Paint and Transparency Keys

We all know that functional code is the leg that any good program stands on when it comes right down to it however if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can be easily solved by simply using a graphics creation tool such as [...]

Read more

ColorPicker

  Download source files – 207 Kb Download demo project – 185 Kb Download Dll – 164 Kb Download demo project src – 207 Kb Download demo project exe- 186 Kb Introduction One big framework's handicap is the low number ofvisual controls.Luckly the most usefull are yet present ,but often we find some problem with [...]

Read more

C# DataGrid combobox Simple Sample

Summary This article explains how to add the Combobox DataGrid Column Style into a DataGrid on your .NET Windows form. The sample introduces how to add the Combobox DataGrid Column Style into a DataGrid on your .NET Windows form.The main idea of the sample is to provide you with a suggestion how to update values [...]

Read more

.NET Color ListBox

Yet another color list box? There are many articles about coloring the of ListBox control and code samples. Well, the difference between this article and the rest is that all those articles and the code supplied with them are just demos. Judge for yourself : The horizontal scrollbar disappeared. Only fixed length strings smaller than the [...]

Read more

File Copier – WinForms Demonstration Program

Here is source for a file copier program that uses WinForms. using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Windows.Forms;/// <remarks>/// File Copier – WinForms demonstration program/// (c) Copyright 2001 Liberty Associates, Inc./// </remarks>namespace FileCopier{ /// <summary> /// Form demonstrating Windows Forms implementation /// </summary> // < declarations of Windows widgets cut here > public class [...]

Read more

Coloring The Console

When working with console applications in c#,black screens with white foregrounds are always used. We can change theforeground color as well as background color of our console applicationby using win32 API SetConsoleTextAttribute(). SetConsoleTextAttribute takes two arguments 1. Handle to console screen buffer2. character attributesBOOL SetConsoleTextAttribute( HANDLE hConsoleOutput, WORD wAttributes); We can get the handle to [...]

Read more

MDI With C#

MDI (Multiple Document Interface) is nothing but a way of displaying windows form where there is atleast one parent and manychild windows eg. word Excel Powerpoint kind of windows where each document , sheet or slide act as a child under the parent container window. SDI(Single document Interface) examples are Windows Explorer,Internet explorer,Notepad etc…where only [...]

Read more

Windows Manager API

The following is an API that is designed to manage power down, hibernate and stand by functionality on your PC. Download Source

Read more

Designing A Winform In C# And Linking It To A SQL Server Database

The main objective of windows basedprogramming is to create applications that are linked to databases,have user-friendly interface (windows forms) and are capable of runningon most platforms. C# language has all these capabilities to createapplications that are mostly required by the programmers at the time ofdesigning the interface and coding the modules of their projects. SinceC# [...]

Read more

RssNewsFeed – Access Rss Feeds Easily From Your C# Applciations

Introduction RssNewsFeed is a free .NET library written in C#, which allows you to access an rss  feed without going through the hassle of parsing. It will  extract feed information, together with the news items, and return them as a collection of objects. (RSS is a Web content syndication format and is an acronym for Really SimpleSyndication. [...]

Read more