Ajuster mon application à la résolution du poste ou j'install mon application

elwadeh Messages postés 55 Date d'inscription samedi 11 avril 2009 Statut Membre Dernière intervention 28 juin 2018 - 18 avril 2011 à 19:00
ehjoe Messages postés 728 Date d'inscription samedi 4 avril 2009 Statut Membre Dernière intervention 30 mars 2014 - 19 avril 2011 à 10:18
Bonjour,
comment ajuster mon application à la résolution du poste ou j'install mon application.

maerci

1 réponse

ehjoe Messages postés 728 Date d'inscription samedi 4 avril 2009 Statut Membre Dernière intervention 30 mars 2014 4
19 avril 2011 à 10:18
Bonjour,

Alors en vbNet, exemple testé :

  Sub Form1_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown
    Dim x As Integer = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width
    Dim y As Integer = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height
    Me.Left = 0
    Me.Top = 0
    Me.Width = x
    Me.Height = y
  End Sub


Cordialement, Joe.
0
Rejoignez-nous