Click here to Skip to main content
12,698,531 members (23,687 online)
Click here to Skip to main content

Stats

120.3K views
3.6K downloads
45 bookmarked
Posted

Centering MessageBox, Common DialogBox or Form on applications

, 30 Mar 2005
Simple component to center any MessageBox, Form or CommonDialog on applications.
DialogBox.dll
TestApplication.exe
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

Share

About the Author

Jean-Claude Lanz
Web Developer
Switzerland Switzerland
No Biography provided

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 30 Mar 2005
Article Copyright 2005 by Jean-Claude Lanz
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid