System.Windows.Forms.UserControl Class
Information   Base Types   Related Resources

Provides an empty control that can be used to create other controls.

  • Namespace: System.Windows.Forms
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.1.4322
  • Assembly: System.Windows.Forms.dll

  • System.Windows.Forms.ContainerControl
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (81)Discussions (1598)MembersRotorChanges
    Articles

    Page: 1234
    .NET Color Picker Controls
    The Code Project
    I have created a control library PJLControls.dll containing three public color picker controls, some internal classes/controls and a demo app ColorPickerDemo.exe. The demo shows usage of the controls ColorPanel, ColorPicker and CustomColorPicker.
    .NET Interop: Get Ready for Microsoft .NET by Using Wrappers to Interact with COM-based Applications
    MSDN
    Very soon, the development of Microsoft .NET applications will require interaction between those apps and existing COM components on both the client and the server. The .NET Framework has made provisions for this interaction by implementing various wrappers for COM objects to allow exposure of their properties and methods to .NET components. These wrappers will make it easy to make the connection between COM and .NET.
    A C# Visual Studio.Net, Excel, and InterDev tab control
    The Code Project
    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. The class is written in C# and uses a double-buffering class provided by Microsoft. The code demonstrates using GDI+ for drawing, event handling, enumerations in C#, overrides, attributes, properties and double buffering.
    A Designable PropertyTree for VS.NET
    The Code Project
    Ever since I first started programming with OWL back in 1995, I've written this type of control each time I learn a new language in which to program GUIs. I wrote one in OWL (Borland's MFC-like library), in straight C, and Java 2's Swing, among others. I've always called them 'PropertyTree's - mostly because the first place I saw them implemented was in Netscape's Edit | Properties dialog box.
    A Docking Control That Can Be Dragged And Resized by the User
    The Code Project
    One of the first features of C# that took my interest was the ability to Dock a Control onto the edge of a Form. Now I could attach a Control (or more likely a composite control by deriving from UserControl) onto a Form edge and quickly construct a useful looking application. But there is one crucial factor missing from this scenario. The user has no discretion over the size or positioning of this docked control. I want the user to be able to drag the control to a different edge and be able to resize the control so that they can customise the application area to suit their own preferences.
    A flexible line graph class library in C#
    The Code Project
    Looking for a way to draw 2D line graphs with C#? Here's yet another charting class library with a high degree of configurability but also easy to use.
    A Tutorial for Constructing a Plug-In Viewer
    MSDN
    Step through the process of implementing a plug-in viewer and integrating it into Analysis Services. Get stub code that enables you to quickly write a plug-in viewer into Analysis Services.
    A Wheel Control in C#
    C# Corner
    This article describes a simple Windows control written in C# that simulates a wheel knob like that on your walkman used to change volume. The control is drawn using animation technique. I use a bitmap that shows the wheel in various position that will be displayed sequentially when the control is dragged. Some properties give the user the possibility to change range of possible values returned by the control. More over sensitivity property act like a gain on wheel movements.
    Adding MouseLeave, MouseHover events to VB6 Controls
    The Code Project
    This article is about creating ActiveX controls in Visual Basic 6 that has two extra mouse Events : MouseLeave ,MouseHover.
    AnimatedIcon Control
    The Code Project
    AnimatedIcon Control plays an animation as a sequence of images stored in the ImageList. The article demonstrates how to show an animated icon on the StatusBar.
    Barcode PDF417 (2D) UserControl C#
    GotDotNet
    Control de Usuario en C# el cual genera un Codigo de barras de 2D, este genera un archivo Metafile.
    BUG: ActiveX Control Disappears in Windows Forms Designer
    http://www.kbalertz.com/
    (312120) - When you place an ActiveX control that was created in Visual Basic 6.0 or Visual C++ 6.0 on a form in a Visual Studio .NET Windows application, the control may disappear from the form in the design view. The control disappears when you use the...
    BUG: Focus on a Control That Does Not Support the CausesValidation Property Suppresses Validation of Unvalidated Controls in the User Control
    http://www.kbalertz.com/
    (814350) - The pending validation of the controls in a user control is suppressed if the following conditions are true: There are multiple controls in the user control. -and- In the user control, you move from a control with the CausesValidation property set to...
    Building a Forms Generator using Code DOM
    C#Today
    In this case study, Dot Net Guru Reynolds looks at one of the most powerful features of .NET Code DOM. Code DOM is short for Code Document Object Model, and it has been designed to generate code in any managed language, although support from language to language may vary. Core Microsoft languages will typically support Code DOM (C# and VB .NET both do, obviously). In this case study, were going to look at how to build a Forms Generator using Code DOM. Were going to put together a project that can take a DataTable and from that generate a new C# source code file containing a class that extends UserControl that also has a set of TextBox, Label and CheckBox controls that allow editing of that DataTable.
    Building Windows Forms on-the-fly with XML and C#
    C#Today
    In this article, Ashiwn Kamanna takes the concept of an XML driven Form builder a step further than the basics as he discusses how to eliminate the requirement for Form development, not only in an ASP based web application, but also in any potential client of an application. He discusses how to build a Form dynamically in a C# based windows application, and also discusses some object oriented patterns as he walks us through an example.
    Code Behind in Web Forms and User Controls
    DotNetJunkies
    In this article Doug Seven teaches you the basics behind Code Behind. You will learn how to work with an ASP.NET Web Form and User Controls while using Code Behind. Downloadable code available in Visual Basic .NET.
    Collapsible Group Box
    The Code Project
    An introduction to the ExpandingPanel and CollapsibleGroupBox controls
    Creating a professional looking GDI+ drawn custom control
    The Code Project
    Shows how to create a custom scrolling label control with GDI+ and proper double buffering
    Creating a User Control Using C#
    The Code Project
    In this tutorial I'm going to create a simple clock control to demonstrate usingthe .NET framework. The control will be a clock showing thecurrent time, and I'll leave it up to the reader to implement a second hand anddraw the clock numerals.
    Creating Controls
    GotDotNet
    This topic demonstrates how you can create Windows Forms controls. It covers the basics of creating a control. In addition, this topic covers adding painting logic to a control, exposing properties and events, using control licensing, and adding design-time behavior to your control.
    Creating Controls that Resemble the Microsoft Control Suite. 2 - FlatControl
    devCity.NET
    Whether you are new to VB or a VB Guru, most of us are new to .NET and are still finding our feet. I will start my development guide by introducing the development of a "base" control that all the flat style controls can and will be inherited from.
    Creating Windows Form User Controls Part -1
    Master C#
    As we all know that the .NET Platform provides us with a Rich Windows Form API to create Windows Applications. Not only this model rich, but its also very extensible! Developers can quickly create their own controls and extend the API as they want! In this article we will see how to create our own Windows Form User Control to help us create a new 'LabledTextBox' control.
    Custom Add-Ins Help You Maximize the Productivity of Visual Studio .NET
    MSDN
    Regardless of how great an integrated development environment (IDE) is, there will always be features that developers wish had been included. For that reason, the Visual Studio .NET IDE provides an extensive add-in facility that allows you to add nearly unlimited numbers of features and functionalities written in Visual Basic, C, C++, C#, or any .NET-compliant language. This article explains how add-ins work in Visual Studio .NET. It then shows how to add custom text editing by creating an add-in with two editing functions, a simple text insert of the current date, and a more complex function to reformat paragraphs of text. Finally, you'll learn how to add a page to the Options dialog.
    Declarative QueryString Parameter Binding
    The Code Project
    Describes using reflection to automatically populate member parameters from the Form and Querystring.
    Developing A Vector Based C# Drawing Application - Part 3
    C#Today
    In the first part of this series, Budi Kurniawan discussed the specification for a vector based C# drawing application. In Part 2, we looked at the Shape abstract class and the seven classes that inherit it. We also examined how an event handler works in a Windows application and we briefly discussed the System.Collections namespace. In this final part of the project, we will complete the development by discussing the DrawingArea custom control, the Color and Pen classes from the System.Drawing namespace, and object serialization - which is used to persist our drawing to a file, to be restored at a later stage.
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification