How to create Paint Event of other windows form

In this example we will see that how we can get or create a paint event of other form in

  Private Sub Otherform_paint(Byval Sender As Object, Byval args As Painteventargs)
            'Write your code
    End Sub
    Private Sub Button1_Click(Byval sender As System.Object, _
                 Byval e As System.Eventargs) Handles   Button1.Click
        Dim frm As New Form1()
        frm.Visible = True
        Addhandler frm.Paint, Addressof Otherform_paint
    End Sub