Bonjour,
j'ai terminer la création des form de projet maintenant j'ai commence la partie design du projet je voulais bien créer des animation l'or de l'ouverture des forme comme celle des powerpoint
merci d'avance
Bonjour,
j'ai terminer la création des form de projet maintenant j'ai commence la partie design du projet je voulais bien créer des animation l'or de l'ouverture des forme comme celle des powerpoint
merci d'avance
Voir :
http://www.codeproject.com/KB/cs/FormAnimation.aspx
http://www.dreamincode.net/forums/to...-windows-form/
Vu sur le web pour animer la fermeture:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 Private Const AW_BLEND = &H80000 'Uses a fade effect. This flag can be used only if hwnd is a top-level window. Private Declare Function AnimateWindow Lib "user32" (ByVal hwnd As Int32, ByVal dwTime As Int32, ByVal dwFlags As Int32) As Boolean Dim winHide As Integer = &H10000 Dim winBlend As Integer = &H80000 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click AnimateWindow(Me.Handle.ToInt32, CInt(500), winHide Or winBlend) Me.Close() End Sub
Partager