Click here to Skip to main content
15,888,113 members
Articles / Desktop Programming / Windows Forms

The Dragable Container

Rate me:
Please Sign up or sign in to vote.
4.95/5 (14 votes)
10 Nov 2008MIT 36.1K   764   42  
How to create and use a dragable container at runtime.
namespace DragableContainerSample
{
	static class Program
	{
		[System.STAThread]
		static void Main()
		{
			System.Windows.Forms.Application.EnableVisualStyles();
			System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);

			SampleForm frmSample = new SampleForm();
			System.Windows.Forms.Application.Run(frmSample);
			frmSample.Dispose();
			frmSample = null;
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
Web Developer Sematec Ins.
Iran (Islamic Republic of) Iran (Islamic Republic of)
My experiences are:

HTML 5.0, CSS 3.0
JQuery, Angular JS, Bootstrap

MVC 5.0, WEB API, c#

My Site URLs:
http://www.IranianExperts.ir
http://www.IranianExperts.com

My Yahoo Group URL: http://groups.yahoo.com/group/iranianexperts

Mobile: 0098-912-108-7461
Address: Tehran, Tehran, Iran

Comments and Discussions