All pastes #467982 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-02 20:48 UTC
rendered paste body
    Private Sub frmMain_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
        If txtAddress.Text = "" Then
            Application.Exit()
        Else
            e.Cancel = True
            dlgExit.Show()
        End If

    End Sub