Dot Net Framework
A)
Write a Vb.Net program to move the Text “Pune University” continuously from
Left
to Right and Vice Versa.
Answer :
Public Class Form1
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
If Label1.Left >= Me.Width Then
Label1.Left =
-100
Else
Label1.Left =
Label1.Left + 10
End If
End Sub
End Class
Output :
B)Write
a C#.Net program to create a base class Department and derived classes Sales
and
Human
Resource. Accept the details of both departments and display them in proper
format.
Answer :
Output :
Savitribai Phule Pune University T.Y.B.B.A.(C.A.) Dot Net Framework Practical Slip 2 Answers
Reviewed by technical_saurabh
on
May 02, 2022
Rating:
No comments:
Post a Comment