I used Delegate To solve this problem..
This is code for Child Form
Public Delegate Sub ChangeColorDelegate(ByVal item As String)
Public Class Form2
'Declare delagete callback function, the owner of communication
Public rowChangeColor As ChangeColorDelegate
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'Notification subscribers
rowChangeColor(txtItem.Text)
End Sub
End Class
This is Code from Parent Form of which row color want to change
Dim a As Integer
Private Sub dgv_CellContentClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgv.CellContentClick
If e.ColumnIndex = 0 Then
Dim frm As New Form2
a = e.RowIndex
frm.rowChangeColor = New ChangeColorDelegate(AddressOf Me.ChangeRowBackColorFn)
frm.ShowDialog()
End If
End Sub
Private Sub ChangeRowBackColorFn(ByVal color As String)
If color = "Pink" Then
dgv.Rows(a).DefaultCellStyle.BackColor = System.Drawing.Color.Pink
Else
dgv.Rows(a).DefaultCellStyle.BackColor = System.Drawing.Color.Yellow
End If
End Sub