C# Corner

Resources  
  • 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.
  • Rubber Band Effect in a FormAug 15, 2001. This is an example on how to implement a rubber band effect in Windows forms.
  • Debugging "Rubber Band Effect"Nov 06, 2001. Bug fixes for Rubber Band Effect in a form by Simon Bond demonstrated a small but useful rubber band effect application. If you play with the application for a while, however, you may find one major problem with it.
  • Space Breakout - 2D Game Developed using DirectX and C#Apr 11, 2002. GDI+ is a feature rich graphics API that makes sophisticated graphical effects highly accessible to the C# developers. Unfortunately if youve tried to develop smooth detailed animation using GDI+ you have undoubtedly discovered that just how slow it can be. Consequently it is not particularly suited to games development, if you want to really take advantage of your 1 gig + processor and that fancy new graphics card youre going to have to get a little more low level and dirty, enter Microsofts DirectX API.
  • Space Breakout - 2D Game Developed Using DirectX and C#Apr 11, 2002. GDI+ is a feature rich graphics API that makes sophisticated graphical effects highly accessible to the C# developers.
  • C# Corner Logo: 3D GDI+ EffectMay 10, 2002. "It's time to redesign the logo. Let's do some 3D work here". That's what Owen said an hour ago. And after that he drew a 3D C# logo on the board.
  • 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.
  • Singleton Patterns in C# RevisedDec 16, 2002. I am coming from the Java world, where synchronizing the Singleton creation is common practice.
  • 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.
  • Designing Inherited Controls for Windows FormsMay 08, 2003. This article uses Windows Form's TextBox control to explain how to design your controls.
  • Trackbar/Progress bar with Cylinder EffectMay 13, 2003. Trackbars and scrollbars are convenient ways of displaying a data range.
  • 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.
  • 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.
  • Color Transformations and the Color MatrixApr 10, 2004. This article discusses the color transformations and how to apply Color Matrix on image colors to provide various effects such as gray scale effects, reduce or increase the contrast, brightness, or redness of an image.
  • Using the Tablet PC as a Flashing Restaurant Menu in C# and .NETJun 08, 2004. This is a simple application written for a restaurant using Tablet PC that allows you to list such things as lunch specials and have the colors on the board change randomly to produce an interesting flashing sign effect.
  • 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.
  • 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.
  • 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.
  • Aural Alert Generator (Voice and Tones)Aug 25, 2006. This article describes an application used to generate and test aural alerts; I wrote the application originally to allow me to define and test aural alerts for use in a couple of cockpit simulators, however, you could use the application to generate aural alerts for any purpose. The application also may be used to define voice messages which may be optionally saved as wave files for subsequent use in other applications.
  • 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.
  • Implement Microsoft DirectX Image Transformation Filters in ASP.NET 2.0Dec 07, 2006. This article describes an easy approach to creating custom Web controls used to display Microsoft DirectX Image Transformation filter effects in an ASP.NET 2.0 web page.
  • Extending the ASP.NET ImageButton ControlDec 18, 2006. This article describes an easy approach to extending an existing ASP.NET control; in this example, the standard toolkit’s Image Button control is extended to support roll-over effects. Given the standard control already contains existing support for both server side click events and client click events, the control is well furbished prior to the addition of the roll-over effect.
  • 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.
  • 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.
  • Build a Simple Watermarking Utility in C#May 07, 2007. This article shall describe an approach to building a simple watermarking utility that may be used to add watermarks to any supported image file format. The resulting application shall permit the user to open any supported image file format into a scrollable picture box.
  • 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.
  • Ajax AnimationExtender ControlFeb 01, 2008. In this article we are going to discuss about AJAX AnimationExtender control. It provides good animation effect such as moving an ASP Control to a new place, resizing it, modifying its color, or making it fade in or fade out. In this article I m going to use fade in or fade out animation.
  • Bitmap Effects using WPFAug 19, 2008. This article shows how to give Bitmap Effect in WPF.
  • WPF TextBoxAug 21, 2008. This article shows how to use and work with the TextBox control available in WPF and XAML.
  • Dynamic and static Rectangle in WPFAug 29, 2008. This article shows how to create dynamic and static rectangle in WPF and XAML with various drawing effects.
  • 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
  • AJAX Text Box Watermark ExtenderOct 08, 2008. This article shows how to use two new AJAX Controls, TextBoxWatermarkExtender and ValidatorCalloutExtender in ASP.NET 3.5.
  • 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#.
  • Modal popup window in ASP.NetJan 07, 2009. A Masked div or modal popup window is a child window created from the parent window which prevents the user from interacting with parent window before he returns to the parent application.
  • .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?
  • 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.
  • Analizing data to best customers using Crystal ReportsMay 22, 2009. In the sales analysis, there is a principle named the Pareto principle also known as the 80-20 rule. The 80-20 rule states that 80% of the effects come from the 20% of the causes and then the remaining 20% effects come from 80% of the causes. Pareto observed that 80% of the land in Italy was owned by 20% of the population. One example in the IT world is that Microsoft has noted that 20% of the most reported bugs are the causes of the 80% of the errors or crashes of the systems. After Pareto observed this principle, a lot of application appeared. One of the most common applications of the Pareto principle is in the sales analysis. Companies perform analysis in their sales orders in order to discover the best customers, that is, the 80% of the sales come from the 20% of the customers. In this article, I will show how to perform a sales analysis using Crystal Reports. For this example, we will use the AdventureWorks database shipped with SQL Server 2005.
  • Ghost Effect In Blend 3 and Silverlight 3Jul 14, 2009. Making Ghost Effect In Blend 3 and Silverlight 3.
  • Using Pixel Shader Effects in Silverlight 3Jul 20, 2009. In this article you will learn how to use pixel shader effects in Silverlight 3.
  • 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.
  • Creating Pixel Shader Effects Using Code Behind in Silverlight 3Jul 27, 2009. In this article you will learn how to use pixel shader effects in Silverlight 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.
  • 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.
  • 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.
  • Reflection Opacity Effect in Silverlight 3Nov 22, 2009. In this article we will see how we can use in Silverlight 3 a new effect i.e. Reflection Opacity Effect.
  • 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.
  • 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.
  • Animating Window Form (Fade Effect)Mar 03, 2010. Here in this article we are going to make the fade effect animation in windows form.
  • Restrict Clipboard Shortcuts in TextBox in Silverlight 3Mar 04, 2010. In this article we will see how we can restrict Clipboard shortcuts such as CTRL+C, CTRL+X, and CTRL+V in Silverlight 3 for TextBox Control.
  • WPF TextBoxMar 18, 2010. This article demonstrates how to create and use a TextBox control in WPF using XAML and C#.
  • Implementing Effects in JQueryMar 20, 2010. In previous article, we looked into events of JQuery. In this article, we will cover Effects and its implementation.
  • Sliding Effect in Windows Form ApplicationApr 04, 2010. Article will teach you how to achieve sliding effect in windows form
  • Count the number of characters in a textboxApr 07, 2010. In this article we will see how to implement in JavaScript to count the number of characters in a textbox.
  • Bitmap Effects In WPF - Part IIApr 08, 2010. In previous article we saw how we can add effects; we experienced Blur and Outer Glow Bitmap effects. In this article we will see rest of the 3 Bitmap Effects.
  • Bitmap Effects In WPF - Part IIIApr 08, 2010. In previous article we saw remaining three effects DropShadow, Bevel and Emboss. In this article we will see how to group effects, and we will see how we can achieve the effects with triggers.
  • Bitmap Effects In WPF - Part IApr 08, 2010. In this article we will see what the Bitmap Effects available in WPF are, and how it can improve the controls look better.
  • Creating TextBoxes dynamically at runtimeApr 12, 2010. This article explains how to create TextBoxes dynamically at runtime and access their values from codebehind
  • Watermark TextBox in WPFApr 13, 2010. In this article I am going to show how we can use watermark textbox in WPF application.
  • Magnifying Glass Effect in SilverlightApr 19, 2010. In this article I am going to show how we can zoom a part of an image.
  • Masked TextBox In WPFMay 10, 2010. In this article I am going to show how we can create a masked textbox in wpf.
  • Gradient Effect in SilverlightMay 19, 2010. In this article I am going to show how we can show gradient effect in silverlight.
  • TextBox in C#May 25, 2010. A TextBox control accepts user input on a Form. In this article, I will discuss how to create a TextBox 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 TextBox control.
  • How to Display Records as First-Next-Previous-Last in a Textboxes Using Windows ApplicationJun 01, 2010. In this article you will know how to display records in a textboxes as First,Next,Previous and Last records.
  • Magical Portfolio Presentation in ASP.NETJun 09, 2010. In this article we will learn how to create our portfolio with dynamic effects.
  • Surface Effect in Silverlight 4 - Magnify EffectJun 16, 2010. In this article we will see about magnify effect in Silverlight 4.
  • BasicEffect system in XNAJun 20, 2010. In this article I wish to talk about the built-in effect system in XNA - BasicEffect.
  • TextBox Selection Model in Silverlight 4Jun 21, 2010. In this article we will see the Text Selection Model in Silverlight 4.
  • How you can load HLSL effects on your XNA projectJun 21, 2010. In this article I will be showing you how you can load HLSL effects on your XNA project and use it. We will be drawing a triangle cleared with different color in each vertices.
  • How to get the Values of Selected Row from a Gridview using ASP.NETJun 25, 2010. In this Article you can learn how to get the values of selected row from a Gridview and display the values in textBoxes using C# code.
  • MaskedTextBox in C#Jul 16, 2010. In this article, I will discuss how to create a MaskedTextBox control in Windows Forms at design-time as well as run-time.
  • Creating a Custom DateTextbox User Control: Part IAug 08, 2010. In this article you will learn how to create a custom date textbox user control.
  • ComboBox in C#Aug 09, 2010. A ComboBox control is a combination of a TextBox and a ListBox control. Only one list item is displayed at one time in a ComboBox and other available items are loaded in a drop down list.
  • Creating a Custom Date Textbox User Control: Part 2Aug 16, 2010. In this part we're going to test our user control using the defined properties.
  • RichTextBox in C#Aug 29, 2010. A RichTextBox control is an advanced text box that provides text editing and advanced formatting features including loading rich text format (RTF) files. In this article, I will demonstrate how to create and use various features of Windows Forms RichTextBox control.
  • Bind ScrollBarToTextBox and TextBoxToScrollBar in SilverlightAug 30, 2010. Thisarticle is all about binding of scrollbar to textbox and textbox to scrollbar with small piece of code in silverlight.
  • Focus Color on Textbox controlsSep 01, 2010. In this article you will learn how to use Focus Color on Textbox controls in C#.

About TextBox-Watermark-Effect

NA

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.
Download Free eBooks