Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    vb.net dimensione form massima

    ciao a tutti sapreste dirmi come faccio ad aprire una form a tutto schermo?

  2. #2
    Utente di HTML.it L'avatar di cassano
    Registrato dal
    Aug 2004
    Messaggi
    3,002
    preso da msdn

    [Visual Basic]
    Private Sub CreateMyTopMostForm()
    ' Create lower form to display.
    Dim bottomForm As New Form()
    ' Display the lower form Maximized to demonstrate effect of TopMost property.
    bottomForm.WindowState = FormWindowState.Maximized
    ' Display the bottom form.
    bottomForm.Show()
    ' Create the top most form.
    Dim topMostForm As New Form()
    ' Set the size of the form larger than the default size.
    topMostForm.Size = New Size(300, 300)
    ' Set the position of the top most form to center of screen.
    topMostForm.StartPosition = FormStartPosition.CenterScreen
    ' Display the form as top most form.
    topMostForm.TopMost = True
    topMostForm.Show()
    End Sub 'CreateMyTopMostForm

  3. #3
    Grazie cassano grazie alle tue righe ho scoperto che basta mettere nel load della form questa riga (che ho trovato nelle tue)

    Me.WindowState = FormWindowState.Maximized

  4. #4
    Utente di HTML.it L'avatar di cassano
    Registrato dal
    Aug 2004
    Messaggi
    3,002

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.