C# Corner

Resources  
  • Add/Remove User Control for C#Jan 18, 2000. A nice feature in the Visual.NET environment is the ability to create User Controls.
  • Yahtzee Program using C#Jan 24, 2000. The Visual C# environment has given the programmer the ability to create applications in RAD mode without the steep learning curve for the C++ programmer. (I do miss templates though!). The above application, yahtzee, is based on a popular poker-like dice game.
  • ProgressBar in C#Feb 22, 2000. You need progress bars to display the progress of your application or background tasks.
  • A GridView Component in C#Apr 05, 2000. This example shows you how I've wrapped a ListView in a UserControl and turned it into a simple grid control.
  • I'm having trouble implementing IObjectSafety. IE keeps telling me that my controls isn't safe. Why?Aug 15, 2000. This article explains about how to implement the IObjectSafety. ATL's IObjectSafetyImpl class appears to have a few bugs in it. The code below works great.
  • Tutorial: Creating C# Class Library (DLL) Using Visual Studio .NETDec 09, 2000. This step-by-step tutorial shows you how to create a class library (DLL) in Visual Studio .NET.
  • ColorDialog : How to use?Dec 21, 2000. Changing color of your Window and its controls is a piece of cake in C# using ColorDialog class.
  • ColorDialog in C#Dec 21, 2000. A ColorDialog control is used to select a color from available colors and also define custom colors. This article demonstrates how to use a ColorDialog in Windows Forms and C#.
  • Using DataList Control in Web FormsJan 12, 2001. This example uses a DataList which contains LinkButton controls, which allows a user to navigate through a list of data.
  • Using ListViews in C#Jan 18, 2001. As a Visual C++ user for 10 years I can say that Microsoft deserves praise for their new ListView class. The MFC ListView class was, well, unpleasant to use. C# makes life a bit easier with a richer property and method set for ListViews. Also, you can now, set the ListView to select an entire row in report mode, something that in Visual C++ you had to write a whole custom ListView control to do. Note also the nice grid lines.
  • Get a database table propertiesJan 22, 2001. Get a table properties such as column names, types etc using DataColumn and DataTable.
  • Display data in a Data GridJan 22, 2001. The sample example show you how to use Data Grid to display data in a grid format.
  • Creating your own cool Volume Control using GDI+Jan 23, 2001. In this article, I'll give you an example of creating your own control.
  • Timer in C#Jan 26, 2001. An article with sample project explains how to work with the Timer control in C# and .NET to write to a text file after few seconds.
  • Tutorial: Working with Toolbars in C#Jan 30, 2001. This tutorial explains you how to add toolbars to a form, load images to the toolbar buttons, and writing event handlers for toolbar buttons.
  • Directory Picker in C#Feb 07, 2001. A directory tree control let you select files or directories from any file structure on your computer system.
  • Anchoring in Windows FormsFeb 13, 2001. Specifies how a control anchors to the edges of its container. When a control is anchored to an edge of its container.
  • Interactive ButtonsFeb 26, 2001. By using control properties, you can give your program an interactive look as you see on web sites.
  • Buton Viewer: View ImagesFeb 27, 2001. Well, In .NET, the Image class is a wonderful class to view images. No matter what control you have, you just set the Image property of that control to an image and the control will display the image. Neat?
  • Splitter Control in C#Mar 06, 2001. This article demonstrates how to use Windows Forms Splitter control using C#.
  • Adding Items to a ListBoxMar 06, 2001. Sample code shows you how to add items to a list box.
  • View Relational Data in a DataGridMar 15, 2001. This article explains you how easy is reading a database and displaying in a grid using DataSet.
  • Programming in ADO.NETMar 19, 2001. A simple example shows you how to read a database table in a dataset and display in a list view control.
  • Writing Secure Code using C#Apr 06, 2001. Code access security is a mechanism that grants/denies access to resources within a method call. For example, code written by a person may be allowed to write to the disk while code from another one may be forbidden from accessing the disk. This control can be enforced even if the code written by both of them is used within a single application
  • Creating a Login User ControlApr 16, 2001. In this article, we have started with an introduction to the UserControl and have learnt to use the ADO+ DataReader.As we seen User Controls simplifies several common Web application scenarios.User Controls allow developers to easily define custom controls using the same programming techniques for writing Web Forms.
  • Understanding How Assert Effects SecurityApr 25, 2001. Assert is a security action that is evaluated at run time. Code Access Permission classes and Permission Sets support a method called Assert. Using the Assert method to control access to resources or actions will allow your code to perform actions that it normally has permission to perform and will allow other callers up stream in the call stack to have access that they would not normally have.
  • Windows Explorer in C#May 03, 2001. Windows Explorer application gives you a picture of how to use Treeview, Listview, Imagelist, Toolbar, Statusbar Tooltip, LinkLabel controls.
  • Word Pad in C#May 11, 2001. This application explores the Rich Text control in C#,its properties and methods. Explains the usage of common dialog boxes File open, File save and Font dialog box.
  • cwTab - A Tab Control in C#May 18, 2001. cwTab is a control written in C# that gives you the ability to add Visual Studio.Net, Excel, and InterDev tabs to any application. The control is fully customizable.
  • Control Statemenats - Part 1Jun 01, 2001. This lesson shows how to use c# control statements, and the difference between these controls in C++/ JAVA and c#. Sample includes single selection, if-else, and multi case ..
  • Validation Contol in Mobile FormJun 04, 2001. In this article i'll be showing the power of Valiation Control which u can use with Mobile Application.There are total six Valiation Control as provided. Here i am showing four of them in this example and the rest two are Valiationsummary and CustomValidator.
  • Control Statements - Part 2Jun 04, 2001. This lesson shows how to use while,do, for, for..each statements.
  • Properties in C#: New Cover on old book Jun 06, 2001. Properties are accessor methods whose job is to retrieve and set the values of fields.
  • Working with OleDb Data AdaptersJun 20, 2001. This step by step article guides you to create your database applications using OleDb Data Adapters in VS.NET.
  • What & Why : Properties :: Part 1Jun 26, 2001. If you were programming in C or C++ before coming to C#, you'll be a little bit confused about properties.
  • Displaying data in a ListBox Web ControlJul 06, 2001. Sample example for how to display data in a ListBox Web control.
  • What & Why : Properties :: Part 2Jul 09, 2001. In the part 1 of this series, I discussed about the get method of the properties, with the help of which you can make your variable so that nobody can modify the value of the variable.
  • Developing Windows Applications Jul 23, 2001. This tutorial explains you step by step how to create your Windows Applications using Visual C#.
  • Working with Status BarsAug 01, 2001. An article on how work with status bars and pens and images to the pens.
  • Working with Data Bound ControlsAug 07, 2001. Step by step tutorials teaches you how to use data-bound controls DataGrid, ListBox, and ComboBox controls .
  • Printing out your W2 Form using C# and .NETAug 07, 2001. This article covers a fairly practical aspect of using a computer - dealing with forms.
  • Editing, Deleting, Sorting and Paging in DataGrid Web ControlAug 08, 2001. The following article is about techniques for editing, deleting, sorting and paging using web Datagrid control.
  • NumberBox ASP.NET ControlAug 08, 2001. The NumberBox control is an ASP.NET control, which lets the user only input numerical values.
  • Calculator ExampleAug 14, 2001. Sample program shows you how to create a calculator.
  • Get the Place Game in C#Aug 14, 2001. I have written a game in C# called Get the Place.
  • Message Box BuilderAug 14, 2001. This program will help you using MessageBox Class. Program generates code from what you choose.
  • Automatic Generated DataGrid CommandsAug 15, 2001. This article illustrates how to update, insert, and delete in the windows DataGrid control by using automatic generated commands.
  • Move Grid PuzzleAug 15, 2001. This is a console based application the user will be prompted for move such as L-Left, R-Right, U-Up, D-Down, E-Exit.
  • Displaying Exception InformationAug 21, 2001. This is a simple utility to display exceptions. Each exception in the chain is added to an ArrayList and displayed in reverse order in a ListView control.
  • Timer Control Aug 22, 2001. The sample project attached with this article shows how to use the Timer control available in .NET and C#.
  • Call Control in Mobile Internet ToolkitAug 24, 2001. This only provides you to make you calls easier but also gives a nice look to your program.
  • Validation Controls in Web Forms: Part 2Aug 24, 2001. Validation is one of the less talked about areas – often taken for granted.
  • Validation Controls in Web Forms: Part IAug 24, 2001. Validation is one of the less talked about areas – often taken for granted.
  • Advertising on MobileAug 30, 2001. Finally,its possible to advertise on your mobile phones. Mobiles toolkit provides an add rotator control very similiar to the ad rotator control for the Web. This control will disply the Advertisement in the random manner picking from the XML File.
  • Fun With Panel ControlAug 31, 2001. Panel Control is useful control in Mobile Programming and till now, we hadn't explore it.
  • Web Control BuliderSep 03, 2001. The attached C# program can be used by users who dont have VS.NET IDE to generate the code for WebControls.
  • Realtime Stock Quotes into Excel using .NETSep 03, 2001. I may seem a little Bullish on .NET, but I was able to create this application fairly quickly in C#.
  • Editor in C#Sep 03, 2001. C# Editor shows you how to use toolbar, status bar, dialog boxes, menus and other Windows forms controls.
  • Live News feed For Mobile SiteSep 05, 2001. Current News are read from a text file, which is being updated regularly after certain interval time.
  • Web Browser in C# and VB.NETSep 11, 2001. This article explains how to add and web browser ActiveX to your project to developer your own customized web browser.
  • Screen Capturing a Form in .NET - Using GDI and GDI+Sep 15, 2001. This article shows way to do form capture in GDI is to get the device context to the screen and bit blast it to a Bitmap in memory.
  • User Control and ReusabilitySep 28, 2001. This article explain, how to create a user control for ASP.NET.
  • Customizable Generic Form Validation ControlOct 01, 2001. This control performs form validations at the client-side irrespective of the web server.
  • Real Time ApplicationOct 02, 2001. The Real time Application is a sample that shows the communication techniques between a client (TcpClient) and a server (TcpServer) application using Socket class on each side. The project also demonstrates how to using listview control in the real time project.
  • Hangman: Using GDI+ in ASP.NET ApplicationsOct 11, 2001. This example shows how you can combine GDI+ commands on a web form.
  • Encapsulation in C#Oct 12, 2001. In Object Oriented programming Encapsulation is the first pace. Encapsulation is the procedure of covering up of data and functions into a single unit (called class).
  • Working with Windows Forms ControlsOct 12, 2001. This program shows you how to use Windows Forms controls such as Check Boxes, Radio Buttons, and Combo Box.
  • Understanding Properties in C#Oct 15, 2001. In C#, properties are nothing but natural extension of data fields. They are usually known as 'smart fields' in C# community.
  • Docking Control in C#Oct 16, 2001. One of the first features of C# that took my interest was the ability to Dock a Control onto the edge of a Form.
  • Web services with Language InteroperabilityOct 18, 2001. A web service in general is a way of exposing the properties and methods through the Internet In other words, it's an URL-addressable resource that programmatically returns information to clients who want to use it.
  • Checked ListBox Control In C#Oct 18, 2001. The following source code will provide the use of CheckedListBox Control In C#.
  • Understanding Structures in C#Oct 23, 2001. A structure in C# is simply a composite data type consisting of a number elements of other types.
  • Using TreeView ControlOct 23, 2001. The following code will enumerate the Folder/Drives in the TreeView Control.
  • Tray Bar ApplicationOct 30, 2001. This is a very simple C# application which implements those very familiar Windows applications with a tray Icon.
  • Floating FormsOct 31, 2001. This is an example on how to implement a floating window application.
  • Components in C#Nov 06, 2001. The components creation and usage in C# is much more simple than earlier technologies like C++, ATL, COM.
  • Charting in GDI+Nov 07, 2001. Here is an example of creating simple charts using GDI+ commands in C#. I have used the random class to create 5 random percentage values. I then use GDI+ to plot these values on a chart.
  • Adding a Control to a form ProgrammaticallyNov 09, 2001. In this article I explain how to Add a control to a form programmatically.
  • Printing a Ruler using C# and GDI+Nov 12, 2001. If you misplaced your ruler, here's an application that will create one for you on your printer!
  • Adding Controls to Windows Forms at RuntimeNov 13, 2001. In this example I'll show how one can create and add controls to their Windows Forms at runtime.
  • Creating a User Control: .NET Toggle ControlNov 16, 2001. This is a C# User Control which re-creates the toggle used by XML, HTML, etc. files in the .NET Developer Studio. Just compile the control and drag it onto a form from the Windows Form Toolbox.
  • How to create a "ComboBox button" in a toolbar in .NETNov 20, 2001. You can actually put a ComboBox in your toolbar by just dragging a ComboBox from the toolbox onto the toolbar but if you want the ComboBox to be one of the toolbar buttons, you are out of luck using the regular old ComboBox. One way around this is to use the DropDownMenu style of a ToolbarButton to create a pseudo-ComboBox.
  • Working with Anchoring and Docking PropertiesNov 26, 2001. In this article let's take an expedition through travel around how Anchoring, Docking Properties of Controls can be used in the Windows Forms.
  • Interactive Shaped FormsNov 29, 2001. This Demo show how to create shaped form and customized buttons using Region, GraphicsPath and picture control and using picture control to play animate pictures.
  • Using ProgressBar, StatusBar and Timer Controls in VS.NETDec 05, 2001. This source code shows how to use the Timer, ProgressBar and StatusBar Windows Forms controls.
  • Event Handling in C#Dec 10, 2001. This article shows you how to write control, mouse, and keyboard event handlers in C#.
  • Developing a Record Navigation Form with Unbound ControlsDec 26, 2001. Developing a record navigation form with unbound controls. The form enables you to navigate through the records one at a time. In this application we have used a combo box, two text boxes and various command buttons.
  • A Quiz Application using Windows FormDec 27, 2001. This code shows you how to validate data in windows forms, add or remove panel control, and write a form based quiz application.
  • Playing with DataGrid ControlJan 08, 2002. The article gives a user the overview to show the importance and versatility of the DATAGRID control.
  • Custom FileDialogJan 18, 2002. The purpose of this article is to give a simple example showing how easy it is to create a custom FolderDialog.
  • Hangman Program Using C#Jan 19, 2002. Hangman was created to illustrate several features of C# including GDI+, string manipulation, array processing, using properties, as well as simple creation of objects.
  • Using ListBox Web ControlJan 21, 2002. This article explains the ListBox Web Forms control properties and methods and how to use it.
  • Adding Text Directly to Mobile Web FormsJan 24, 2002. We have seen in previous articles how to develop Mobile Web Forms using the Microsoft Mobile Internet Toolkit.
  • Data Binding in DataGrid Control - Part 1Feb 05, 2002. When it comes to data-bound controls and database programming, DataGrid control is the most versatile , powerful and flexible control available in Visual Studio .NET.
  • TreeView in C#Feb 05, 2002. This program shows you how to use TreeView control in Windows forms using C# including adding, removing and searching nodes.
  • Owner Draw ListBox Control in Windows Forms and C#Feb 08, 2002. In this article, we will see how to write owner drawn ListBox control using C# and Windows Forms.
  • An Animation Component using C#Feb 08, 2002. Sometimes its desirable to get those graphics moving a bit and this article show the control to implement it.
  • Data Access through Web Services, Stored Procedures and SQL QueriesFeb 12, 2002. Web Services has been the most revolutionary aspect of the .NET framework developed by Microsoft. This article presents the three different modes through which data can be accessed viz. through Web services, stored procedures and SQL query using the power of ADO.NET and XML.
  • C#RIS : Tetris Game in C#Feb 14, 2002. I have written a Tetris clone that demonstrates how to use off-screen graphics buffering for smooth animation and utilizes a multi-dimensional array approach to designing a game grid. The classes are largely self-explanatory and the techniques are documented in code well enough to explain what is going on.
  • A Wheel Control in C#Feb 15, 2002. This article describes a simple Windows control written in C# that simulates a wheel knob like that on your walkman used to change volume.

About property-grid-control

NA

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
Download Free eBooks