Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / forms

Forms

forms

Great Reads

by ortund
Login system with breach redundancy handling.
by Nikita D. Sinelnikov
HowTo: make the report background (elements) of Microsoft .NET Report (.rdlc) non-printable
by The Zakies
in this tut we will create a technique to enable the user to control points within a drawn line, by drawing circles around points of the line , when the user clicks a circle he would control the corresponding point.
by The Zakies
we would create Hand_tool to pan through the drawing form, and we would use a custom cursor of open and closed hands

Latest Articles

by ortund
Login system with breach redundancy handling.
by Nikita D. Sinelnikov
HowTo: make the report background (elements) of Microsoft .NET Report (.rdlc) non-printable
by The Zakies
in this tut we will create a technique to enable the user to control points within a drawn line, by drawing circles around points of the line , when the user clicks a circle he would control the corresponding point.
by The Zakies
we would create Hand_tool to pan through the drawing form, and we would use a custom cursor of open and closed hands

All Articles

Sort by Score

forms 

by Nikita D. Sinelnikov
HowTo: make the report background (elements) of Microsoft .NET Report (.rdlc) non-printable
by The Zakies
in this tut we will create a technique to enable the user to control points within a drawn line, by drawing circles around points of the line , when the user clicks a circle he would control the corresponding point.
by The Zakies
we would create Hand_tool to pan through the drawing form, and we would use a custom cursor of open and closed hands
by The Zakies
we will continue the functionality of the hand tool with having a navigator panel which works as a map, we will also have a red rectangle which tells the user where he is actually viewing inside the whole form, also it can be moved to pan the form
by The Zakies
[tut4] how to draw lines & to draw different types on end shapes like rectangle and circle using C#
by charles922
Use of the Trapezoidal Rule to integrate a function
by Tarek Elqusi
I created a simple form with a button to add a label control at run time sequentially numbered; labels are movable and lines are drawn between labels.
by Joezer BH
Avoiding a cumbersome message box or input box that locks the application in WPF.
by SREENATH GANGA
Auto updating the exe if the latest exe is available in the network share
by MRBULL93
In this tip, I am presenting a simple way to avoid refresh resubmit
by BillWoodruff
Suggestions for adding controls in code
by Sem.Shekhovtsov
Caching the entire asp.net 3.5 web forms page using modules.
by Wu Yehao
A ColorSelector control used in GIS Applications, with a menu button for displaying
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
This tip will help you to communicate with a cross domain Iframe which is added in the form.
by jansok
A tip on converting multiple image files (BMP, PNG, GIF, JPEG, TIFF) to single or multiple PDF
by assamheart
Crop a photo and signature from an scanned image
by Jean Carlo S. Passos
CRUD over Association Entity that maps to association tables
by Tajwer Jalal
Data Entry Form made Easy, Enabled / Disabled controls on Data Entry Form
by databaseobjectmodel
A Sample ORM project
by DaveAuld
A simple way to create a grow only Column Width routine
by Kristian Sixhøj
A code snippet which makes a borderless form draggable.
by Anshul R
The original snippet I made is in VB.NETProtected Overrides Sub WndProc(ByRef e As Message) MyBase.WndProc(e) If e.Msg = &H84 AndAlso e.Result = &H1 Then e.Result = &H2 End SubI used Reflector to translate it to C#protected override void WndProc(ref Message...
by Dima Popov
A slightly different solution.using System.Runtime.InteropServices;private const int WM_NCLBUTTONDOWN = 0xA1;private const int HTCAPTION = 0x2;[DllImport("User32.dll")]private static extern bool ReleaseCapture();[DllImport("User32.dll")]private static extern int...
by CharlieFoolsTheComputer
Constraining a form/dialog to a single monitor
by Midi_Mick
Extension methods to get the index or key of the image currently displayed in the node of a Windows.Forms.TreeView control
by HP2M
This tip covers handling two Excel lists using Interop.
by Adrian Pasik
We all know that .ShowDialog() is great but sometimes You want to show user some window and keep program running. (.ShowDialog() freezes code execution in method as we all know) Let's say You have this scenario that You want to have form that will not loose focus but at the same time You...
by radioman.lt
dialog.Owner = this;dialog.Show();// ;}
by tonyt
Form f = new Form(); f.Shown += delegate(object s, EventArgs e) { MessageBox.Show("Here you go!"); } f.ShowDialog();
by lukeer
A MenuItem with special text is rendered as a separator
by Bertus Bever
Suppressing key and mouse events while loading
by Anand Gunasekaran
Auto Word Completion for Multiline Textbox (Minimal Intellisense)
by Alain Peralta
This is an alternative for "IntelliSense TextBox in C#"
by Celso Jr
Save the form entries to local storage preventing loss of data on browser crashing
by NightRider92
Custom .NET Numerical Keyboard Control
by Erion Pici
using System;using System.Configuration;using System.Collections.Generic;using System.ComponentModel;using System.Text;using System.Windows.Forms;namespace FadingForm{ public partial class FrmSplashScreen : Form { /// /// Indicates whether the...
by marshalDavout
Draws a sequence of ascending numbers evenly spaced on a grid system for use on game maps and such.
by Benjamin Lifshitz
With this code, you can print images quickly and efficiently, using the largest part of the A4 page for your image.
by majaak
Explains how numbers can be rendered like segmented numbers (looking like old-school digital clock)
by User 9149614
Preserving alpha channel drawing transparent PNGs
by hari19113
This code will help us to reshape our Windows form.
by Jean Paul V.A
Exploring InfoPath Forms with Rules.
by Jean Paul V.A
Usage of InfoPath Forms along with SharePoint 2010.
by Tantum
How to show your forms in the current active display on dual (or more) monitors
by Noble KC
Simple Animation with Timer control in C#.NET (Sliding and Scrolling Effects)
by Daniel Lieberwirth (BrainInBlack)
This describes a simple way to create interactive, bitmap based, buttons for WinForm applications.
by charles henington
using System;using System.Windows.Forms;namespace WindowsFormsApplication1{ public partial class Form1 : Form { private Panel panel1; private ComboBox comboBox1; public Form1() { InitializeComponent(); } ...
by jarvisa
ComboBox items do not have to be strings.The combobox calls ToString on each object in Items so simply add the enum values to the combobox.using System;using System.Drawing;using System.Windows.Forms;namespace Anchor_Form{ public class Form1 : Form { public...
by 1sumitanand
This tip is for newbie developers.
by AdventureDriver
Make a single instance form application that redisplays the one and only interface of the other instance.
by 1sumitanand
Sorting of simple ListView Elements in Ascending/Descending Order
by Ivan Tsurkan
Sudoku Generator
by Emmery Chrisco
Tabbed Browser Control addon
by Albin Abel
We may come across situations where a form may be called from many other forms but business logic it has to execute may be different. How can we handle it?
by mnguyen88
This is an alternative for "Using the jQuery unobtrusive validator with Twitter Bootstrap tooltips"
by Cristian Moldovan
jQuery unobtrusive validation plugin with Twitter Bootstrap 3 showing error messages as tooltips
by Member 10974085
VB.NET - A different approach to creating control arrays - Create controls at Design time, process them as a control array with shared event handlers
by Member 10974085
VB.NET - Resize and Reposition all controls when Form is resized
by Ajcek84
Overview of music notation library