Autor Beitrag
c#ler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176
Erhaltene Danke: 1

Win7 64Bit
C#, VBA, VS2013 Ultimate
BeitragVerfasst: Mi 21.09.11 14:21 
hi,
ich habe eine Installation geschrieben, hierbei verwende ich 6 Formulare.
Das Problem ist, dass die Formulare immer an willkürlichen Positionen angezeigt werden.
Ich würde es gern so haben, dass sich das Formular immer in der Bildschirmmitte öffnet.
Also jedes Formular soll auf der selben Position angezeigt werden.
Hat jemand eine Idee, wie ich das in Code umsetzen kann?
c#ler Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176
Erhaltene Danke: 1

Win7 64Bit
C#, VBA, VS2013 Ultimate
BeitragVerfasst: Mi 21.09.11 14:40 
Hab doch schon eine Lösung:
ausblenden C#-Quelltext
1:
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;					


funktioniert super :)