Private Sub tvlist_DoubleClick Select Case tvList.SelectedNode.Name Case 0 If tvList.SelectedNode.Text = "Add Data" Then tvList.SelectedNode.Checked = True Dim memberReg As New System.Windows.Forms.Form memberReg = frmMemberReg memberReg.MdiParent = Me memberReg.Show() End If Case 1 If tvList.SelectedNode.Text = "Edit Data" Then tvList.SelectedNode.Checked = True Dim memberReg As New System.Windows.Forms.Form memberReg = frmMemberReg memberReg.MdiParent = Me memberReg.Show() End If End Select End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)