C# Corner

Resources  
  • Adding Items to a ListBoxMar 06, 2001. Sample code shows you how to add items to a list box.
  • Drag and Drop RevisitedMar 13, 2001. I've had a couple inquiries on how to do drag and drop in .NET again, so I've put together a simple app for dragging text from a TreeView to a TreeView and a TreeView to a ListBox.
  • Using Microsoft Message Queues to build Scalable SolutionsApr 12, 2001. This tutorial shows you how to create, send, and received messages using MSMQ from the .NET base class library (System.Messaging) and C#.
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • Time Ticker2Jul 04, 2001. Microsoft had made lot of Changes for Beta2, some of the changes are old Namespace such as System.WinForms modified to System.Windows.Forms. In addition no. of new Namespaces like Microsoft.CSharp, Microsoft.JScript, Microsoft.Vsa etc...
  • Working with ReflectionJul 05, 2001. This article is about the use of reflection package in Csharp. Through Reflection we can get Information about the class.
  • Displaying data in a ListBox Web ControlJul 06, 2001. Sample example for how to display data in a ListBox Web control.
  • C# foreach loopJul 24, 2001. This article demonstrates how to use foreach loop in C#.
  • Working with Data Bound ControlsAug 07, 2001. Step by step tutorials teaches you how to use data-bound controls DataGrid, ListBox, and ComboBox controls .
  • XML GeneratorAug 17, 2001. This article is about advance use of reflection package in Csharp.
  • C# TokenizerAug 27, 2001. A simple tokenizer in csharp without using regex or MatchCollections.
  • Simple Game Developed in C#Sep 03, 2001. This article contains the code for a simple game developed using csharp. This game is all about arranging the shuffled numbers in ascending order.
  • Query BuilderOct 17, 2001. This application is that of a QueryBuilder in CSharp.This application is for Beta2 SDK version of DotNetFramework.
  • Checked ListBox Control In C#Oct 18, 2001. The following source code will provide the use of CheckedListBox Control In C#.
  • Using MS Agent in C#-Part-I(Text To Speech)Jan 15, 2002. This article explains how to use MS Agent to write text-to-speech applications using C# and .NET.
  • Using ListBox Web ControlJan 21, 2002. This article explains the ListBox Web Forms control properties and methods and how to use it.
  • 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.
  • Editable ListBox ControlJul 01, 2002. A ListBox is a read-only list of items. But let us suppose your application needs to edit an item in a listbox at runtime.
  • Editable ListView in C#Jul 01, 2002. Based on the similar technique used my previous article, the Editable Listbox, we can edit columns and rows of a ListView control.
  • Owner Draw ListBox Control with ImagesAug 05, 2002. In this article we will see how to write owner drawn ListBox control.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • PERST: A Simple, Fast, Convenient Object Oriented DatabaseMar 05, 2003. PERST is a simple Object-Oriented Database implemented with pure C-Sharp and Java implementations.
  • CSLint: Deadlock Detector for C#Mar 12, 2003. This is a deadlock detector for CSharp programs. It builds a lock graph for the application and searches loops in the graph.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • Part I: Simple Color Syntax Code Editor for PHP written in C# and .NETJun 18, 2003. The Application is a simple Windows Form program that allows you to open and save the text files edited in the rich edit control, as well as print them out. The program takes advantage of a “syntax” text file for PHP which lists the functions and keywords contained in the PHP language.
  • Working with DropDownList and ListBox Controls in ASP.NETJul 29, 2003. In this article we'll see how to use DropDownList and ListBox Web controls to display data in various formats.
  • Photo Browser and Wallpaper ChangerOct 20, 2003. The attached source code is a Photo Browser and Wallpaper changer. You can save your favorite photos in a list and loud it at any time.
  • MyQueue in C#Jan 09, 2004. This article attempts to explain the how MSMQ can be implemented between two forms and the very basics of message queuing.
  • DataTable in C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • Using ListBox in C#Dec 28, 2004. The source code demonstrates how to use a listbox control in C# - adding, deleting and altering strings.
  • .NET Color ListBoxApr 26, 2005. .Net ListBox control itself works fine, however as a base class for further derivation it is fundamentally flawed. The root of evil is in the Windows API ListBox. .Net ListBox is just a wrapper for this control.
  • Adding & Retrieving items from listbox and check list boxJun 02, 2005. The attached source code shows how to add and retrieve items of Windows Forms ListBox and CheckListBox controls.
  • Editable ListBox in C#Jun 09, 2005. The attached sample code demonstrates how you can create an editable ListBox control, which will let you edit ListBox items at runtime.
  • Convert a Comma Delimited String to an Array in C#Aug 01, 2005. This article shows how to convert an array to a comma delimited string in C#.
  • Hashtable in C#Nov 14, 2005. Hashtable is useful when you need to store data in a key and value pair. This article shows how to use hashtable in C#.
  • Revised Generic 'T, K' Database ComponentDec 20, 2005. This is the code behind the Generic 'T, K' Database Component.
  • Wrapper Patterns in C#, Part III: The Decorator PatternFeb 15, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#, Part IV: The Adapter PatternFeb 16, 2006. In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • The C# Value Type and BoxingFeb 17, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications. One of the things we need to be aware of is how the Common Language Runtime (CLR) deals with references to value types.
  • C# Interface Based DevelopmentMar 06, 2006. When trying to build maintainable, reusable, and flexible C# code, the object oriented nature of C# only gets us 50% of the way there. Programming to interfaces can provide us with the last 50%. Interfaced-based design provides loose coupling, true component-based programming, easier maintainability and it makes code reuse much more accessible because implementation is separated from the interface.
  • Add some elegance to your code using C# ListMar 31, 2006. A short and to-the-point tutorial that demonstrates how to sort and search using List in C#.
  • C# Defensive Event Publishing Using InterfacesApr 03, 2006. This article explains how to use interfaces for C# Defensive Event Publishing.
  • Top 10 Reasons to Switch from Java to Visual C#Jun 03, 2006. This article details the major reasons for Java programmers to consider switching from the Java language to Visual C#.
  • Introducing ASP.NET 2.0Jun 14, 2006. In this article, the author examines the fundamentals of ASP.NET 2.0 with the help of code snippets.
  • Simple Password Encryption ProgramOct 31, 2006. This article shows you how to make a simple password encryption program.
  • C# Introduction to Fuzzy Computing: Part INov 15, 2006. Boolean logic often fails to adequately simulate real-world conditions because things are never simply just black and white (or zeroes and ones) but exist in millions of shades of grey. This article is a brief introduction to the subject of fuzzy computing through demonstration of a few of the core principles using a fuzzy controller.
  • Dynamic Code CompilationNov 30, 2006. This article throws light on how a code can be built dynamically, compiled and run.
  • How to assign Text and Values to Items in an Unbound List Based ControlMar 28, 2007. The purpose of this article is to discuss the construction of a couple of simple custom controls that extend both the Combobox and the Listbox controls to allow them to be associated with both a text and a value property for each item in the control's list.
  • Word automation using C#May 11, 2007. Word Automation through C# is all about programmatically generating the Word Document using C# code. Almost all of the tasks which we perform on word 2003 can be done programmatically using C# or VB.
  • Lotto Program in C#Jul 16, 2007. It is a small Lotto-Program which can help you fill your lotto ticket. It is written in C#.NET 2.0 by using Visual Studio 2005.
  • WPF ListBoxAug 31, 2007. This tutorial shows you how to work with the ListBox control available in WPF.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • Power of Yield, Generics and Array in C#Jul 14, 2008. This article tells you an additiional way to get reverse processing of array with help of generics and yield.
  • Transferring data from one ListBox to another in WPFJul 28, 2008. This article discusses how we can transfer items from one ListBox to another in WPF.
  • Data Binding in WPFAug 05, 2008. In this article, I discuss how we can use ADO.NET DataSet to get data from a database and bind to a WPF ListBox control using data binding process in WPF.
  • ListBox in WPFAug 26, 2008. This tutorial shows you how to create and use a ListBox control in WPF and XAML. The tutorial also covers styling and formatting, add images, checkboxes, and data binding in a ListBox contrtol.
  • Image Slideshow in WPFNov 17, 2008. In this article, I will create a simple image slideshow using WPF and C#.
  • ListBox in SilverlightDec 20, 2008. A ListBox control is an items control that works as a ListBox control but only one item from the collection is visible at a time and clicking on the ListBox makes the collection visible and allows users to pick an item from the collection. This article demonstrates how to use a ListBox control in Silverlight.
  • ListBox in WPFJan 08, 2009. This article demonstrates how to create and use a ListBox control in WPF.
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • Web Browser in C#Mar 16, 2009. The attached project is a Web Browser application created in C# 2.0.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • Cascading Dropdown & Multiselect option in ListBox using WPFMay 10, 2009. Many times we come across the situation where we need to populate the dropdowns based on the value of another dropdown or combo.
  • Struct in C#Jun 08, 2009. In this article, you will learn how to define structs in C#, where and how to use them and what is the difference between structs and classes.
  • Enums in C#Jun 11, 2009. This article demonstrates how to use enumerations in C#.
  • C# DelegatesJun 15, 2009. The delegate topic seems to be a confusing and tough for most of the developers. In this article I will explain the basics of delegates and Event handling in C# in a simple manner.
  • Indexers in C#Jun 29, 2009. In this article, I discuss indexers in C# and how to use them.
  • Insertion at the begining of a Linklist in C#Jul 11, 2009. This code snippet shows how to insert data to a Linklist at the beginning.
  • List Box in Silverlight 3 ApplicationJul 28, 2009. In this article we will explore what are features available for a ListBox in Silverlight 3 Application.
  • Programmatically Compress and Decompress FilesSep 09, 2009. Learn how to compress and decompress files programmatically via .NET.
  • Refactoring: Magic NumbersSep 14, 2009. Learn how to improve your code using Magic Numbers refactoring.
  • Databinding in Listbox from XML fileNov 13, 2009. In this article we will see how to bind data in listbox from a XML file.
  • Alternate Row Color in ListBox in WPFDec 06, 2009. In this article we will see how we can make the Alternate Rows of the ListBox Colorful in WPF.
  • Grouping and Sorting in ListBox in WPFDec 07, 2009. In this article we will see how we can group elements in ListBox.
  • ListBox Group Header Expand and Collapse in WPFDec 08, 2009. In this article we will see how can we expand and collapse the header and its contents.
  • StringReader in C# Dec 09, 2009. In this article I will explain you about StringReader and StringWriter Classes in C#.
  • FileSystemWatcher in C#Dec 14, 2009. In this article I will explain you about FileSystemWatcher and IOException Class in C#.
  • Text Editor in C#Jan 02, 2010. In this article I will explain how to make a Simple Text Editor in GDI+ using C#.
  • Drag And Drop Item in ListBox in WPFJan 17, 2010. In this article we will see how we achieve Drag and Drop behaviour for ListBox Item.
  • Creating Your First ADO.NET Web ApplicationJan 21, 2010. In this article I will explain Creating Your First ADO.NET Web Application.
  • View Image in C#Jan 27, 2010. In this article I will explain about view images in C# using GDI+.
  • Marshaling UnionsFeb 21, 2010. In this article you will learn how to marshal C/C++ Unions in C#.
  • Making an Image SlideShow in WPF: Part IIMar 05, 2010. In part I of this article series we have seen the preview of the application and we created a ListBox that has Customized ItemContainer and ItemPanel. In this article we will see how next and Previous Buttons are added to the ListBox.
  • Making an Image SlideShow in WPF: Part IVMar 07, 2010. In this article we will see how we can loop through the Image List and display it in ListBox.
  • Creating a Sound Recorder in C and C#Mar 23, 2010. In this article we will learn how to record audio and play sound files in C and C#.
  • Move Up/Down ListBoxItem in ListBox in WPFApr 03, 2010. In this article we will see how we can move up/down a ListBoxItem in ListBox.
  • Creating a Printing Application using Windows Forms and C#Apr 30, 2010. This article talks about how to create a simple printing application in C# using GDI+.
  • Printing Multiple Pages in C#May 31, 2010. In this article you will learn how to print multiple pages in C# using GDI+.
  • CheckBox in C#Jun 03, 2010. A CheckBox control allows users to select a single or multiple options from a list of options. In this article, I will discuss how to create a CheckBox control in Windows Forms at design-time as well as run-time. After that, I will continue discussing various properties and methods available for the CheckBox control.
  • MenuStrip in C#Jun 08, 2010. The MenuStrip class is the foundation of menus functionality in Windows Forms. If you have worked with menus in .NET 1.0 and 2.0, you must be familiar with the MainMenu control. In .NET 3.5 and 4.0, the MainMenu control is replaced with the MenuStrip control.
  • CheckBox in C#Jun 11, 2010. A CheckBox control allows users to select a single or multiple options from a list of options. In this article, I will discuss how to create a CheckBox control in Windows Forms at design-time as well as run-time.
  • Multiple Paths in Path ListBox in Silverlight 4Jun 18, 2010. In this article we will see how multiple paths can be used in PathListBox control in Silverlight 4.
  • DomainUpDown in C#Jun 21, 2010. A DomainUpDown control allows users to provide a spin (up/down) interface to move through pre-defined strings using up and down arrows. In this tutorial, we will see how to create a DomainUpDown control and use it in a Windows Forms application.
  • NumericUpDown in C#Jun 22, 2010. A NumericUpDown control allows users to provide a spin (up/down) interface to move through pre-defined numbers using up and down arrows. In this tutorial, we will see how to create a NumericUpDown control at design-time as well as at run-time.
  • Dictionary in C#Jul 10, 2010. A Dictionary class represents a dictionary in C# that is used to represent a collection of keys and values pair of data. This article demonstrates how to use a dictionary in C#.
  • Understanding Message Box in Windows Forms using C#Jul 12, 2010. MessageBox control displays a message with specified text. A message box may have some additional options including a caption, icon, and help buttons. In this article, I will discuss how to use the MessageBox class to display messages in Windows Forms and C#.
  • ImageList in C#Jul 18, 2010. In this article, I will discuss how to create an ImageList control and how to use its properties and methods to use in a Windows Forms application.

About ListBox-in-Csharp

ListBox in Csharp

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
techbash 2016