Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Centering MessageBox, Common DialogBox or Form on applications

, 30 Mar 2005
Simple component to center any MessageBox, Form or CommonDialog on applications.
centerdialog_demo.zip
centerdialog_src.zip
CodeProject
DialogBox
DialogBox.csproj.user
TestApplication
App.ico
bin
Debug
DialogBox.dll
TestApplication.csproj.user
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DialogBox", "DialogBox\DialogBox.csproj", "{02305236-FD71-40BC-825A-1EF5B42A70F6}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestApplication", "TestApplication\TestApplication.csproj", "{085F2687-9C24-459E-87C4-5D3FFB574392}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		Debug = Debug
		Release = Release
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{02305236-FD71-40BC-825A-1EF5B42A70F6}.Debug.ActiveCfg = Debug|.NET
		{02305236-FD71-40BC-825A-1EF5B42A70F6}.Debug.Build.0 = Debug|.NET
		{02305236-FD71-40BC-825A-1EF5B42A70F6}.Release.ActiveCfg = Release|.NET
		{02305236-FD71-40BC-825A-1EF5B42A70F6}.Release.Build.0 = Release|.NET
		{085F2687-9C24-459E-87C4-5D3FFB574392}.Debug.ActiveCfg = Debug|.NET
		{085F2687-9C24-459E-87C4-5D3FFB574392}.Debug.Build.0 = Debug|.NET
		{085F2687-9C24-459E-87C4-5D3FFB574392}.Release.ActiveCfg = Release|.NET
		{085F2687-9C24-459E-87C4-5D3FFB574392}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Jean-Claude Lanz
Web Developer
Switzerland Switzerland
No Biography provided

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 30 Mar 2005
Article Copyright 2005 by Jean-Claude Lanz
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid