Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to start a form maximized in the right way

How to start a form maximized in the right way

Scheduled Pinned Locked Moved C#
questiontutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MarkPhB
    wrote on last edited by
    #1

    Hi, i want to start a form in Maximized-WindowState. So i found the following possibilities: #1 Setting the WindowState Property to Maximized in the Designer -> thats bad because the the form will be showed at Form_Load and that is too early. :( #2 Setting the WindowState Property to Maximized in the Form_Load-Event -> thats bad because i see how the form is resizing at the start. :( #3 Setting the WindowState Property to Normal in the Designer and set the Size-Property to the screenbounds -> thats bad because when i change the WindowState at runtime then there is no different between the WindowStates Normal and Maximized. :( So my question ist there a way to start a form maximized without that problems i mentioned ? :^)

    X 1 Reply Last reply
    0
    • M MarkPhB

      Hi, i want to start a form in Maximized-WindowState. So i found the following possibilities: #1 Setting the WindowState Property to Maximized in the Designer -> thats bad because the the form will be showed at Form_Load and that is too early. :( #2 Setting the WindowState Property to Maximized in the Form_Load-Event -> thats bad because i see how the form is resizing at the start. :( #3 Setting the WindowState Property to Normal in the Designer and set the Size-Property to the screenbounds -> thats bad because when i change the WindowState at runtime then there is no different between the WindowStates Normal and Maximized. :( So my question ist there a way to start a form maximized without that problems i mentioned ? :^)

      X Offline
      X Offline
      Xmen Real
      wrote on last edited by
      #2

      try the first method and hide your form as load event start and show when going to end

      TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia> -------------------------------------------------------- 128 bit encrypted signature, crack if you can

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups