Article View: free.it.visual-basic
Article #2912Re: Aiuto con i Form!
From: Daniele
Date: Thu, 02 Jan 2003 15:42
Date: Thu, 02 Jan 2003 15:42
28 lines
1889 bytes
1889 bytes
Non mi son spiegato bene! Dunque, ho due form (Form1 e Form2), il secondo � ereditato dal primo. Questo � il codice che ho dato ai due pulsanti: Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim Form2 As New Form2() Form2.Show() Form2.Location = Me.Location Me.Hide() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Form1 As New Form1() Form1.Show() Form1.Location = Me.Location Me.Hide() End Sub Quando cliccando su un pulsante, mi compare l'altro form, questo prima appare in un'altra posizione e poi si posiziona nella stessa posizione del form su cui ho cliccato! L'apparire del form in un'altra posizione � impercettibile ma comunque fastidioso. Come devo fare???? Grazie.
Technical Details
Message-ID:
<u5ZQ9.71783$Ou4.2383859@twister2.libero.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mailReferences:
<XHLQ9.70298$Ou4.2326618@twister2.libero.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,3d3692990c66250e X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2003-01-02 07:43:51 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news.mailgate.org!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail From: "Daniele" <info@no-spam-controlzeta.it> Newsgroups: free.it.visual-basic References: <XHLQ9.70298$Ou4.2326618@twister2.libero.it> Subject: Re: Aiuto con i Form! Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <u5ZQ9.71783$Ou4.2383859@twister2.libero.it> Date: Thu, 02 Jan 2003 15:42:18 GMT NNTP-Posting-Host: 151.25.149.107 X-Complaints-To: abuse@libero.it X-Trace: twister2.libero.it 1041522138 151.25.149.107 (Thu, 02 Jan 2003 16:42:18 MET) NNTP-Posting-Date: Thu, 02 Jan 2003 16:42:18 MET Organization: [Infostrada]