C# Corner

Resources  
  • Creating and Using Custom Attributes in C#Feb 27, 2000. Attributes are classes that allow you to add additional information to elements of your class structure.
  • Using Transforms with GDI+ in C#Mar 15, 2001. Transforms are matrices that allow you to rotate and translate your graphics shapes. In this example we are going to rotate a very powerful element in C# called the GraphicsPath.
  • Complex Numbers ClassMar 20, 2001. This small example demonstrates using some of the interesting language elements of the C# language.
  • 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.
  • Communication Between Two Forms: Part-IIJun 24, 2002. Last time I wrote about the possibility of sending a string from a textbox in one form to another.
  • Writing a Single Event Handler for Multiple ControlsJul 22, 2002. Writing a Single Event Handler for Multiple Controls by Giuseppe Russo. Jul 22, 2002. I have noticed that in many articles, I read, people use a longer method of clearing many textboxes, as well as handling more than one control at the same time.
  • Web Forms Code ModelJul 23, 2002. ASP.NET introduces a new programming model for Web Forms to separate the code and visual elements in different files.
  • Consumer/Producer Multithreaded ProgramNov 04, 2002. This is simple multi-threading program that adds and removes elements in an ArrayList. Producer button will creates a producer thread that adds elements in to the ArrayList. The maximum number of elements can be added to this ArrayList are 100 elements and the producer thread has to wait until the consumer thread/threads (creates by pressing consumer button) removes elements from the ArrayList. Then Producer thread starts to add more elements to the ArrayList.
  • ADODB Services in .NET Applications Using C#Dec 31, 2002. With the advent of ADO.NET, the .NET Framework lets you work with your data in a paradigm shift.
  • Mask Edit ControlMar 05, 2003. This control is a attempt to emulate the Marked Edit control available in VB 6.0. MaskEdit control extends the TextBox System.Windows.Forms.TextBox control available in Microsoft .NET library.
  • Developing Secure Web Site with ASP.NET and IIS: PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article. I will be looking at Form Authentication and how to implement it in several sample web applications.
  • Developing Secure Web Site with ASP.NET and IIS - PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article.
  • Designing Inherited Controls for Windows FormsMay 08, 2003. This article uses Windows Form's TextBox control to explain how to design your controls.
  • Syntax Highlighting in Rich TextBox Control - Part 1Jun 12, 2003. This article shows how to perform basic syntax highlighting using the RichTextBox control and C#.
  • EggTimer in C#Aug 26, 2003. This simple timer app will count down from whatever value is set in the textbox.
  • In Depth ASP.NET using ADO.NET: Part IIINov 18, 2003. In this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET.
  • Masked TextBox ControlJan 26, 2004. This Masked Edit TextBox intelligent user control enhances the function of TextBox control, which can mask the Date, IP Address, SSN, Phone number, digit, decimal and check the validation, automatically set delimit location.
  • Fundamentals of Function Point Analysis Part IIFeb 18, 2004. Function points are a unit measure for software much like an hour is to measuring time, miles are to measuring distance or Celsius is to measuring temperature.
  • Using Enter and Tab Keys to Navigate on a FormMar 24, 2004. When building Windows Forms application you may want to use a tab or return key to navigate on your textboxes. This code shows you how to do it.
  • Adding Discovery Features to BizTalk Server 2004: Part ISep 13, 2004. This article explores the concepts of the BizTalk-UDDI mapping process and the similarity with the WSDL-UDDI mapping process. By the other way the second article is focused in the implementation and use of the BizTalk Server 2004 UDDI Publishing Wizard tool.
  • Thread Safe Collections ArrayList and QueueSep 24, 2004. The attached project provides a dll containing a wrapper around the non-thread safe ArrayList and Queue classes. The wrapper implements the most common functions of this collection elements.
  • How Count Sort worksJan 15, 2005. Count Sort is Linear Sorting algorithm which sorts elements in O(n) time , the other linear sorts include Bucket and Radix sorts.
  • Edit Almost Anything with AgileStudioMar 15, 2005. There are a range of controls available as standard for Windows Forms in VisualStudio .NET 2003. These include TextBox to edit strings, CheckBox to edit booleans and even a DateTimePicker. However there is a vast range of types available in .NET.
  • ValidationScriptGeneratorMar 16, 2005. This article gives you a solution for generating a client side validation script in a component model that you can reuse in an ASP.NET project.
  • Insert Master-Detail Data using Transact-SQLJun 24, 2005. Microsoft SQL Server 2000 SQLXML allows among other things to manage batch operations in a database, which reduces significantly the need of more than one round-trip to a database. OpenXML is a Transact-SQL statement that allows to represent data in XML format and can be used to insert, update, and delete more than one row (represented by an element) in a table or group of tables.
  • Notepad.NET - Printing a Multiline Textbox in C# and .NETJul 31, 2005. Notepad.NET is a file text editor that allows you to edit multiple files at the same time. It also has a few nice features not included in notepad, such as print preview and a most recently used file list. This article describes how printing is performed in this utility.
  • Masked Currency TextBox for Visual Studio 2005 BetaAug 14, 2005. There are some problems with the behavior of the current beta version of the MaskedTextBox when you are using currency. This article will show you how to overcome this behavior with an overriding control.
  • Windows Forms 2.0 MaskedTextBox ControlNov 10, 2005. The MaskedTextBox control is a TextBox with mask feature, which allows you to set the format of the data of TextBox such as zip code, date, time, social security, and phone number.
  • Numeric TextBox for ASP.NETDec 06, 2005. An article on how to allow users to enter only numbers in a TextBox.
  • Fetching Data from a Database in XML FormatJan 28, 2006. In this article we will see how to fetch data from database in XML format.
  • How to Pass Control Values between Windows FormsMar 03, 2006. There are many questions about how to pass control's values from one form to another. This article is a step by step tutorial on how to pass a TextBox value from one windows form to a second form.
  • AutoComplete TextBox in C#Mar 13, 2006. Auto completion is a new feature added to Windows Forms 2.0 controls. In this article, I will show how to use the auto completion feature in your applications.
  • ASP.NET Datepicker and Calendar ControlMay 24, 2006. When developing enterprise ASP.NET applications it is common to require the input of dates. This article presents a hybrid textbox / calendar control for user input of dates.
  • 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.
  • Handling new line and carriage return with TextboxAug 08, 2006. This article shows how to handle newline and carriage return with Textbox while working with Databases.
  • Mortgage Calculator in C# and .NETSep 05, 2006. This article shows you how to create a mortgage calculator in .NET for computing a home loan. It also illustrates how to override a TextBox in order to create your own masked text box that includes thousand separators.
  • Atlas: Floating Server Elements in ASP.Net 2.0Sep 26, 2006. In this article, we will see how easily Atlas allows setting up a server element as a floating element, which the end users of the web page can drag to any location in the web page.
  • Restricting User InputDec 28, 2006. This article describes an approach to restricting the user’s input to letters only, numbers only, letters or numbers only, and special characters only. The approach is simple to implement and can be used whenever it is necessary to restrict a user’s response to instances where it is necessary to capture information from the user into a form’s text box control.
  • Extend the Textbox Control to Validate Against Regular ExpressionsJan 05, 2007. This article describes an approach to validating text box entries against a regular expression.
  • Simplify Data Entry User Experience with AutoCompleteJan 17, 2007. A tutorial demonstrating the power of AutoComplete feature of the TextBox control using Windows Forms client and SQL Server 2000 data.
  • LED Control EmulationFeb 06, 2007. This project describes an approach for constructing a hardware emulation of a segmented seven element LED display.
  • Error Provider in C#Mar 09, 2007. This article shall address the use of the error provider control in Win Forms application development. The error provider control is most useful in displaying errors associated with data entry tasks on a Windows form.
  • XAML TextBoxApr 10, 2007. XAML <TextBox /> element represents the XAML TextBox control. This article discusses how to create a TextBox and set its various properties such as background and foreground colors, setting size and positions, fonts, wrapping, scrolling, and input validations.
  • XAML Layout using the Panel ClassApr 12, 2007. This article describes how to use the DockPanel element to achieve standard layouts in XAML. While there are a number of interface elements that can be used to position controls in your application, DockPanel provides one of the easiest mechanisms for defining scalable layouts.
  • Generate XML based Resource Files on the fly in ASP.NET 1.x applicationsSep 11, 2007. If internationalization was not part of your application’s initial development cycle, but required to extend it globally at a later point of time, then creating resource files from all the UI elements is a very tedious & manual process in ASP.NET 1.x. The framework presented in this article saves a developer from manually updating the resources and keeps the resx files in sync with the webforms and user-controls by automatically generating the resx files.
  • Free Book: Programming XML with C#Sep 15, 2007. Programming XML with C# is a 65 pages book written for C# programmers who wish to learn how to work with XML documents using C# language. In this book, you will learn the basic elements of XML and classes and objects available in .NET Framework to work with XML.
  • Cross browser conditional validationOct 25, 2007. This article show how to show/hide textbox with required field validation on radio button click in a master page.
  • Configuration Sections; Introducing the Custom Configuration Section Concept: Part IApr 14, 2008. Custom sections of an ASP.NET Configuration File are customized sections that a developer configures by himself. In this case, the developer also sets their attributes and elements to suit special application needs in terms of settings.
  • Media Player in WPFAug 04, 2008. This tutorial shows you how to play and control media files in WPF and XAML using WPF Media controls.
  • WPF TextBoxAug 21, 2008. This article shows how to use and work with the TextBox control available in WPF and XAML.
  • Handle resource files - Generate a class with strong typed properties using StronglyTypedResourceBuilder: Part VIISep 03, 2008. You can generate a class with strongly typed properties issued from a given resources file elements or attributes using other way than in Part VI handle resource files where the resgen.exe is invoked to achieve such task.
  • Resizable TextBox in ASP.NET using AjaxControlToolKitSep 09, 2008. This article will help you to create Resizable TextBox user control in ASP.NET using AjaxContolToolKit
  • Creating art using Silverlight and BlendNov 05, 2008. This article shows how you can draw attractive shapes and artistic elements using Silverlight and Blend.
  • Cropping or Clipping in WPFNov 06, 2008. The Clip property of an element (defined in the UIElement class) is used to clip a region and represents the geometry that defines the content of an element.
  • Using the Media Element control in Silverlight 2Dec 02, 2008. This article describes how to use the Media Element control in Silverlight 2.
  • TextBox in SilverlightDec 26, 2008. This article demonstrates how to create and use a TextBox control in Silverlight using XAML and C#.
  • WPF AutoComplete Folder TextBoxDec 29, 2008. This article demos how to create a TextBox control that can suggest items at runtime based on input such as disk drive folders on a machine.
  • TextBox in WPFJan 05, 2009. This article demonstrates how to create and use a TextBox control in WPF using XAML and C#.
  • .txt file in multi line textbox in ASP.NET 2.0Jan 07, 2009. How will you display .txt file’s text in multi line textbox through ASP.NET 2.0?
  • Introduction to Page Layout using DIV elementFeb 03, 2009. This article explains about benefits of using DIV tag over TABLE in page layout design.
  • Elements in XAMLMar 10, 2009. This article will explain Elements and their types in XAML.
  • Display Image in SilverlightMar 23, 2009. Image element represents an image control in Silverlight. This article demonstrates how to use an Image control in Silverlight to display images.
  • Parsing Markup to represent it as ObjectsApr 01, 2009. Here I place a project I made that takes any markup and turn it in form of a MarkupDocument with elements and attributes, content etc.
  • Setting Null Value to an Entity Property Through Textbox ControlMay 12, 2009. In this article, I want to document a bug in Visual Studio. NET concerning to setting a null value to entity property’s through a Textbox control. There is a common scenario to have an entity type in your data model where some attributes are optional. When you develop a rich client application using the Windows forms, data binding techniques and a Textbox to enter the simple data, and you want to set null the optional attributes of the underlying data source by leaving in blank the Text property of the Textbox control; then there is a missing feature for the Formatting and Advanced Binding dialog box for null values. They should have a checkbox there to allow people to use blank as null. In this article, I will show one simple solution to this bug.
  • How to Preserve Password in a TextBox between Page PostbacksMay 15, 2009. This quick tip shows how you can preserve a password in a TextBox between page postbacks.
  • Customized TextBox Control in Silverlight 3Jul 24, 2009. In this article we will see how to customized TextBox Control in Silverlight 3 using Blend 3.
  • Watermark TextBox in WPF ApplicationJul 30, 2009. In this article we will see how we can make a Watermark Textbox in WPF Application. Watermark is nothing but an information text, which helps the user to type according to that.
  • Text Selection in a TextBox in Silverlight 3 ApplicationJul 31, 2009. In this article we will see some of the properties related to Text Selection in TextBox Control in Silverlight 3.
  • Drag n Drop an element from one Panel to another in Silverlight 3Aug 01, 2009. In this article we see the code to drag and drop an element from one panel to another in Silverlight.
  • Element to Element Binding in Silverlight 3 using Blend 3Aug 07, 2009. This article is all about element to element binding in Silverlight using Blend 3.
  • Find Controls by Name in WPFOct 03, 2009. FindName method of FrameworkElement class is used to find elements or controls by their Name properties. This article shows how to find controls on a Window by name.
  • Creating Dynamic TextBox and Get Its ValueOct 04, 2009. This code snippet shows how to create a Dynamic TextBox and get its value in the code in Windows Forms.
  • Setting Focus of TextBox in Silverlight 3Oct 13, 2009. In this article we will see how we can set a focus for a TextBox.
  • Element to Element Binding in Silverlight 3.0Nov 09, 2009. In this article I am going to discuss new feature of Silverlight 3.0 called Element to Element Binding. I will show three samples to understand Element to Element Binding.
  • Inserting Text in TextBox using Silverlight 3Nov 09, 2009. In this article we will see how can we insert text in any TextBox Caret position.
  • Filtered TextBox in Silverlight 3Nov 11, 2009. In this article we will see how we can filter a Textbox on Keyboard inputs.
  • An XML Document and its ItemsNov 19, 2009. In this article I will explain you about XML Document and its Items.
  • Using PLINQ to Improve Learning AlgorithmsNov 30, 2009. PLINQ is a welcome addition to the .NET 4.0 framework, allowing us to operate on collection elements in parallel. This article examines the performance improvements of PLINQ over LINQ when doing heavy calculations on a large collection of genomes in a particular learning algorithm.
  • Understanding the DOM ImplementationNov 30, 2009. In this article I will explain you about DOM implementation in C# and .NET.
  • How to Quickly Build Attractive Mobile UI in VSDec 01, 2009. Every developer wishes his application was not only efficient but also attractive, full of beautiful graphical elements and easy to operate. It is definitely one of the most important factors deciding whether the app will be commercially successful or not.
  • Content Alignment in WPFDec 06, 2009. This article demonstrates how to align contents of elements in WPF.
  • Grouping and Sorting in ListBox in WPFDec 07, 2009. In this article we will see how we can group elements in ListBox.
  • Canvas in WPFDec 14, 2009. In this article, you will learn how to use a WPF Canvas panel using XAML and C#.
  • Border in WPFDec 18, 2009. This article discusses how to use the Border element to place borders around other elements in WPF using XAML.
  • How to Extend a TextBox to use get/set Latitude and LongitudeJan 18, 2010. In this article you will learn how to Extend a TextBox to use get/set Latitude and Longitude
  • AutoComplete From DatabaseJan 22, 2010. This article explains to fill a AutoComplete Textbox from the data fetched from database.
  • AutoComplete Textbox in WPFJan 30, 2010. This article is a simple approach for achieving AutoComplete for TextBox.
  • Clipping or Cropping Images in WPFFeb 10, 2010. Clipping a region is a process of displaying partial area of a region by setting the outline of a region. In WPF, the clipping has been extended to all elements that are inherited from UIElement that includes controls, images, panels, Windows, and Pages.
  • SkewTransform in WPFFeb 14, 2010. SkewTransform is used to skew or shear an element. Shear can be used to add depth to elements to give them a 3-D look.
  • RotateTransform in WPFFeb 14, 2010. This article demonstrates how to rotate elements and controls in WPF using XAML and C#.
  • TranslateTransform in WPFFeb 14, 2010. TranslateTransform is used to move an element from one position to other. The X and Y properties are used to move an element towards the x and y axes.
  • ScaleTransform in WPFFeb 14, 2010. Scaling is a process of stretching or shrinking an element. The ScaleTransform scales an element by a given factor.
  • RIA Services in Silverlight 4 Using VS 2010 BetaFeb 19, 2010. In this article we will see how we can filter a Textbox on Keyboard inputs. We will see how we can block Numeric input from Keyboard.
  • Video Brush in WPFFeb 20, 2010. This article demonstrates how to implement video brushes in WPF using MediaElement XAML element.
  • Transparent Brushes in WPFFeb 21, 2010. All elements in XAML including all brushes have an Opacity attribute that defines the transparency of an element. This article demonstrates how to use Opacity to implement transparent brushes in WPF using XAML.
  • LINQ to XML Part 1 - XAttribute ClassFeb 21, 2010. In this article, I will give explanation on XAttribute class. This class is used to construct Attributes in XML Elements.
  • Media Element in WPFFeb 22, 2010. In this article we will see how to use Media Element in WPF and we will explore some of the basic functionalities such as Play, Pause, Stop, Back and Forward.
  • Take Screen Shot From Media Element in WPFFeb 22, 2010. In this article we will see how can we take the screenshot of the Media (Video) we are playing.
  • Seek Bar For Media Element in WPFFeb 22, 2010. In this article we will see how we can add a Seek Bar that will seek to the desired position.
  • LINQ to XML Part 2: (XElement Class)Feb 23, 2010. In this article I describe the XElement class. This class is used to construct XML Elements.

About TextBox-Element

NA

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!
Download Free eBooks