Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, November 23, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > C-Sharp > Windows Forms
Search:
What's New - What's Hot


Implementing Handler Marshaling Under Windows 2000: DeviceClient Sample App        
Total Hits: 22  |  Today: 0 Author: Jeff Prosise       Rating:  
Read Reviews | Write Review |   Your Rating: 

Ever since COM made its debut in 1993, programmers have searched for ways to optimize the performance of COM method calls. Their never-ending quest for speed has produced a number of clever solutions, some as extreme as using custom marshaling to replace COM's built-in remoting infrastructure with remoting mechanisms of their own. But no technique is as effective at speeding the execution of cross-process and cross-machine method calls as preventing those method calls from leaving the caller's p...

NCover Basics: Improving Json.NET's Test Suite with NUnit and NCoverExplorer        
Total Hits: 34  |  Today: 1 Author: Peter Waldschmidt       Rating:  
Read Reviews | Write Review |   Your Rating: 

One of the easiest ways to master NCover is simply to dive into some code and improve tests, so this week we'll be looking at improving the test quality for an open source project, Json.NET, which is available on CodePlex here. Json.NET is a tool for reading and writing JSON from .NET, and includes a JsonSerializer for easily serializing .NET objects into Json.

Json stands for JavaScript Object Notation, and is a way that AJAX developers communicate between the browser and the web server,...

Simplify Development With The Declarative Model Of Windows Workflow Foundation        
Total Hits: 34  |  Today: 0 Author: Don Box, Dharma Shukla       Rating:  
Read Reviews | Write Review |   Your Rating: 

WinFX includes a technology called Windows Workflow Foundation that allows programs to be expressed as declarative, long-running processes called workflows. Unlike traditional Microsoft® .NET Framework programs, workflow-based programs are typically specified in a declarative Extensible Application Markup Language (XAML) document that specifies the structure of the program in terms of domain- specific activities. These activities are typically implemented in a traditional common language runtime...

How to harness the power of XHTML and XForms in your .NET applications        
Total Hits: 46  |  Today: 0 Author: Phil Booth.       Rating:  
Read Reviews | Write Review |   Your Rating: 

XForms is an important recommendation from the W3C that enables complex XML-handling applications to be defined in a simple, declarative syntax. This article demonstrates how you can harness this technology in your own C# applications. However, the same techniques may be easily applied to other .NET languages, or indeed any programming language that has a COM binding. The XHTML and XForms rendering power at the heart of it all will be provided by formsPlayer, a free XForms processor....

Building a Simple Diagramming Tool with Windows Forms        
Total Hits: 154  |  Today: 0 Author: Cecil Lew       Rating:  
Read Reviews | Write Review |   Your Rating: 

Many types of applications, like network management and workflow processing, require a diagramming interface. Yet developing a diagramming interface like Visio in a Windows application is often a daunting task. In this article, Cecil Lew demonstrates how to build a simple diagramming tool based on UserControl and a few simple classes....

Single Instance Forms        
Total Hits: 48  |  Today: 0 Author: Ed.Poore       Rating:  
Read Reviews | Write Review |   Your Rating: 

Recently in the C# forum someone asked about how to ensure single instances of certain forms in a MDI application. In my reply I used generics and an anonymous delegate to create a slightly more versatile solution to his problem. In his response he requsted an explanation of these topics and perhaps to write (this) an article explaining the code....

ExtendedDataTable        
Total Hits: 33  |  Today: 1 Author: Tamer Oz       Rating:  
Read Reviews | Write Review |   Your Rating: 

ExtendedDataTable is a component which provides more functionality compared to native .Net Framework DataTable. It is also platform independent, you can use it with web or windows applications. It is developed by .Net Framework 2.0 and .Net Framework 3.5, you can download both versions from this page. Let's look what functionalities ExtendedDataTable provides;...

Writing a Windows Form Application For .NET Framework Using C#        
Total Hits: 66  |  Today: 0 Author: Softomatix       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article is a very simple introduction on writing a Windows Form application for the Microsoft.NET framework using C#. The sample application demonstrates how to create and layout controls on a simple form and the handling of mouse click events. The application displays a form showing attributes of a file. This form is similar to the properties dialog box of a file (Right click on a file and Click on Properties menu item). Since attributes of a file will be shown, the sample will show how to...

Give Your .NET-based Application a Fast and Responsive UI with Multiple Threads        
Total Hits: 43  |  Today: 0 Author: Ian Griffiths       Rating:  
Read Reviews | Write Review |   Your Rating: 

If your application performs any non-UI processing on the thread that controls the user interface, it may make the app seem slow and sluggish, frustrating users. But writing multithreaded apps for Windows has long been restricted to C++ developers. Now with the .NET Framework, you can take advantage of multiple threads in C# to control the flow of instructions in your programs and isolate the UI thread for a fast and snappy user interface. This article shows you how. Also, it discusses the pitfa...

How To Implement Long Running Tasks in Windows Forms        
Total Hits: 55  |  Today: 1 Author: dave dave       Rating:  
Read Reviews | Write Review |   Your Rating: 

Have you ever needed to perform long running operations in a windows form? Perhaps its some complicated mathematical function, maybe is some long OLAP processing. In this tutorial I'm going to cover how I modified my Rapid Mailer Email Campaign program to send emails asynchronously, without freezing the main windows form, and also allowing the user to cancel the long running email campaign....

Adjusting font and layout for cross-Windows compatibility        
Total Hits: 58  |  Today: 0 Author: Alessio Saltarin.       Rating:  
Read Reviews | Write Review |   Your Rating: 

A noticeable problem .NET developers may have when they design their application is making it appear perfect on any recent Windows platform such as Windows 2000, Windows XP and the current Windows Vista. Before I installed Visual Studio 2005 on a fresh Windows Vista install, I candidly thought that the .NET runtime would have automatically solved the issue. This is true, but only with menus and status bars. If you are looking for compatibility between Windows 2000 and XP platforms, there is actu...

DataGrid Paging - C# Windows Forms        
Total Hits: 884  |  Today: 0 Author: Manoh.       Rating:  
Read Reviews | Write Review |   Your Rating: 

DataGrid Paging using C# Windows Forms - Select only the required (page size) records from the table. This is an example of Windows Forms DataGrid paging using c#. I have used Microsoft SQL Server 2000 database....

Field Views on Windows Forms 1.0 and 1.1 Data Binding        
Total Hits: 380  |  Today: 0 Author: Steve White       Rating:  
Read Reviews | Write Review |   Your Rating: 

Data binding is a robust, powerful, and extensible infrastructure that is very popular with developers. This article offers best practices, addresses difficulties that developers have with data binding, and provides practical workarounds for some common issues...

Automatic Fading Form        
Total Hits: 193  |  Today: 0 Author: Martin Cook       Rating:  
Read Reviews | Write Review |   Your Rating: 

Adding ActiveX containment to a status bar. Many, many moons ago I extended the MFC status bar by creating a version capable of housing almost any type of control. I seem to recall that my code even supported VBX controls. (VBX? yuk!) Anyway, this article presents a simpler version that targets ActiveX controls. The demo program illustrates things by hosting two ActiveX controls on the status bar of an MFC application....

Windows forms Color chooser        
Total Hits: 66  |  Today: 0 Author: ra00l       Rating:  
Read Reviews | Write Review |   Your Rating: 

In order to follow this tutorial, you will need to have Visual Studio .NET and .NET Framework installed on your computer. If you only want to run the sample application, you will need only .NET Framework. Today, we will create a sample application witch you can use to find a color, along with his RGB value, both in decimal, as Red, Green and Blue and in hexadecimal. Let's get to work, shall we? Open Visual Studio .NET ( if you didn't already did that ), and create a new C# Windows Application ( ...

Beginner's Guide to Crystal Reports, Part I: Winforms        
Total Hits: 250  |  Today: 0 Author: tvmogul       Rating:  
Read Reviews | Write Review |   Your Rating: 

The company I own provides custom software solutions to Fortune 500 companies in Los Angeles, CA and Miami, FL for C# and VB .NET Winform and WebForm applications. We can provide a Web or Winform app that would take six programmers a year to complete in just days, thereby saving our clients, in some cases, millions of dollars. To be able to do do this, I have written what I call "Model Applications" of MDI & SDI WinForms, Web Apps, and so forth that simply require changing the artwork and busine...

Persistence of Window State and Appearance for .NET Applications        
Total Hits: 120  |  Today: 1 Author: CodeGuru       Rating:  
Read Reviews | Write Review |   Your Rating: 

The process of building professional desktop applications includes many hidden tasks, such as the persistence of window state and appearance. This will introduce additional accessibility for such applications. This article describes a simple approach to do so. Sample applications written in C# and VB.NET....

Adding Menus and Menu Items to Windows Forms Programmatically        
Total Hits: 351  |  Today: 0 Author: DevelopersDex       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can add menus to Windows Forms at design time by adding the MainMenu control and then adding menu items to it using the Menu Designer. Menus can also be added programmatically by adding one or more MainMenu controls to a form and adding MenuItem objects to the collection....

Drag and Drop files from Windows Explorer to Windows Form        
Total Hits: 248  |  Today: 0 Author: CodeProject       Rating:  
Read Reviews | Write Review |   Your Rating: 

If we have a Windows Forms application which has File -> Open functionality, adding a few lines of code allows the user to open files dragged from the Windows Explorer. This article describes how to add this feature to your application....

HOW TO: Send Raw Data to a Printer by Using Visual C# .NET        
Total Hits: 832  |  Today: 0 Author: MSDN       Rating:  
Read Reviews | Write Review |   Your Rating: 

This step-by-step article shows how to use Win32 spooler functions from a program that you create by using Visual C# .NET....


1  2  3  4  5  6  7  8  9  10  Next >> 


DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net