.NET, ASP.NET, C#, VB.NET, SQL Server, WPF, XAML

  • Login
  • Articles
  • About Us
  • Submit Article
  • RSS MessageBoard
  • RSS Articles
  • Slap Microsoft
  • Videos
  • Buy Software
  • Forum Merit
  • Message Board
 

screen center

Partha Mandayam replied to Timothy Purvis at 03-Jul-08 05:29
Use this code

Center Form


'vb

Top = Screen.Height / 2 - Height / 2
Left = Screen.Width / 2 - Width / 2


Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Screen Display - Timothy Purvis  03-Jul-08 03:00 3:00:48 PM
      screen center - Partha Mandayam  03-Jul-08 05:29 5:29:13 PM
          solution to screen centre - Umapathy Kaliaperumal  04-Jul-08 12:34 12:34:55 AM
      Try this link - this will solve your prob. - santhosh kumar  04-Jul-08 01:46 1:46:18 AM
      In form_resize event put the code to set appropriate left and top of the imagebox - Deepak Ghule  04-Jul-08 01:59 1:59:07 AM
View Posts


 
Pete's BlogPete's ResumeRobbe's BlogRobbe's ResumeASP.NET ResourcesArchive #2Archive #3Windows Update
All Categories.NETBizTalkExchange ServerIISIEISA ServerMisc
NetworkingSharePointSQL ServerSys Mgmt ServerWin32Mobile DevMSNWinFX
Windows 2003Windows MediaWindows NTWindows VistaWindows XPXmlPitStopDotNetSlackersRecent
      Close        
   |   Advertise   |   Contact Us   |   Privacy Policy   |   Copyright (c) 2000 - 2008 eggheadcafe.com.  All rights reserved.