ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

VB: ¥ÑAªí³æ¶}±ÒBªí³æ

VB: ¥ÑAªí³æ¶}±ÒBªí³æ

­n¥ÑAªí³æ¶}±ÒBªí³æ, ¦bAªí³æ¤W³]­p¤@­Óbutton, «ö¤U«á·|¶}±ÒBªí³æ¨Ã¦P®ÉÃö³¬Aªí³æ
Public Class Home
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Me.Close()
        FanNoise.Show()
    End Sub
End Class
'------------------------------------------
«o¥u·|Ãö³¬Aªí³æ¤£·|¶}±ÒBªí³æ, §ï¦¨¤U¦C³o¼Ë
'------------------------------------------
Public Class Home
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        FanNoise.Show()
    End Sub
End Class
'------------------------------------------
¶}±ÒBªí³æ«o¤£·|Ãö³¬Aªí³æ,¸Ó¦p¦ó¤~¯à¶}±ÒBªí³æ¨Ã¦P®ÉÃö³¬Aªí³æ?

­n¥ÑAªí³æ¶}±ÒBªí³æ, ¦bAªí³æ¤W³]­p¤@­Óbutton, «ö¤U«á·|¶}±ÒBªí³æ¨Ã¦P®ÉÃö³¬Aªí³æ
Public Class Home
   ...
acdx µoªí©ó 2016-12-2 15:06



    §Aªº¥D¿ï³æ¬OA ÁÙ¬OB   
     ¦pªG§A­nªº¥\¯à¬O­n   ¶}B¤£¬ÝA
     A.hide
     B.show

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¥»©«³Ì«á¥Ñ lpk187 ©ó 2017-1-22 15:59 ½s¿è

¦^´_ 1# acdx


    ¦pªGAªí³æ¬°¤÷µ¡¤f¡A¤]¤£¤@©w¤@©w­nÃö³¬¡A¥u¥´¶}¤lµ¡¤f¡A¦Ó¨Ï¤÷µ¡¤f¼È®É¥¢¥h§@¥Î´N¥i¥H¤F¡A°£«D§A¾Þ§@Bªí³æ«á¡A¤£¦A¦^¤÷µ¡¤f


Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

        Dim fanWin = New FanNoise()
        fanWin.ShowDialog() '·í°õ¦æ¨ì¦¹¦æ¡A·|¼u¥XFanNoiseµ¡¤f¡A¦Ó¨Ï¥Ø«eµ¡¤f¼È®É¥¢¥h§@¥Î¡A§AÂI¥¦¤]¨S¦³¥Î¡A°£«DÂ÷¶}FanNoiseµ¡¤f¡C¥Dµ¡¤f¤~·|«ì´_¨ä§@¥Î
        MessageBox.Show("¦^¨ì¥Dµ¡¤f") 'Â÷¶}FanNoiseµ¡¤f«á¤~·|°õ¦æ³o¤@¦æ

    End Sub

TOP

¤p§Ì§Ú¦³¤@­ÓÃþ¦üªººÃ´b¡A§Q¥ÎHIDE¤ÎSHOW¨Ó¼gµøµ¡³£·|¶Ã¶]¡A­n«ç¼Ë¤~¯àÅýBµøµ¡¶}±Òªº¦ì¤l¸òAµøµ¡¤@¼Ë¡AµM«áB¤Á´«¦^A¤]¬O¤@¼Ë?

TOP

        ÀR«ä¦Û¦b : ¨Ã«D¦³¿ú¾{¬O§Ö¼Ö¡A°Ý¤ßµL·\¤ß³Ì¦w¡C
ªð¦^¦Cªí ¤W¤@¥DÃD