Jump to content



Recommended Posts

depende do q for esse form e do teu objectivo.

Se os doubleclicks abrirem sempre a mesma instancia do form podes fazer isso, desde q ele tenha sido instanciado no inicio.

Se a ideia for cada doubleclick abrir um form independente, tens q criar uma nova instancia desse form e depois abrir.

De acordo com o teu objectivo, tens q decidir o q mais te convém.

Matraquilhos para Android.

Gratuito na Play Store.


Link to comment
Share on other sites

Qualquer coisa do género:

  Protected Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles Calendar1.DayRender
        'estas datas variam consoante o que quiseres
        Dim mes As Integer = 12
        Dim dia As Integer = 11
        Dim ano As Integer = 2009

        If (e.Day.Date.Month = mes And e.Day.Date.Day = dia And e.Day.Date.Year = ano) Then
            e.Cell.BackColor = System.Drawing.Color.Yellow
        End If

    End Sub

e apartir de aqui podes fazer muita coisa  :smoke:

Cumprimentos Paulo Silva

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.