Ver Mensaje Individual
  #3 (permalink)  
Antiguo 11/07/2009, 18:14
JhoelSub
 
Fecha de Ingreso: marzo-2009
Mensajes: 69
Antigüedad: 15 años, 1 mes
Puntos: 1
Respuesta: como cambiar opacidad de un form? c#

Código PHP:
Private Sub Form1_FormClosing(ByVal sender As System.ObjectByVal e As System.Windows.Forms.FormClosingEventArgsHandles MyBase.FormClosing
        
If CerroVentana False Then
            e
.Cancel True
            Me
.Timer1.Enabled True
        End 
If
    
End Sub

    
Private Sub Timer1_Tick(ByVal sender As System.ObjectByVal e As System.EventArgsHandles Timer1.Tick
        Me
.Opacity Me.Opacity 0.3
        
If Me.Opacity 0 Then
            CerroVentana 
True
            Me
.Close()
        
End If
    
End Sub 
Esto esta con VB.Net ... modificalo a C#