How can you make this in one line?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gflor16
    New Member
    • Sep 2008
    • 9

    How can you make this in one line?

    Hi,
    Can someone help me make this in a one line of code.

    Thanks,


    Code:
    Private Sub FormatToolStripMenu_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles FormatToolStripMenu.Click
            If MainToolStripMenuItem.Checked Then
                tspFormatting.Visible = True
            Else
                tspFormatting.Visible = False
            End If
        End Sub
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    try to use IIF ,that will help you.

    Comment

    Working...