31
Support Questions / Re: Main Form Properties
« on: December 02, 2014, 04:09:24 AM »
Hi there,
this code below how i could add application title with excalmation or question marks on the message box plz
when the user clicks the close button and gets the message box i need to display question mark on the mgsbox and the application name
and this is the code am using without question mark or exclamation marks
" Private Sub MainForm_FormClosing(sender As System.Object, e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
If MsgBox("Are you sure?", MsgBoxStyle.YesNo) = MsgBoxResult.No Then
e.Cancel = True
End If
End Sub"
Thanks
this code below how i could add application title with excalmation or question marks on the message box plz
when the user clicks the close button and gets the message box i need to display question mark on the mgsbox and the application name
and this is the code am using without question mark or exclamation marks
" Private Sub MainForm_FormClosing(sender As System.Object, e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
If MsgBox("Are you sure?", MsgBoxStyle.YesNo) = MsgBoxResult.No Then
e.Cancel = True
End If
End Sub"
Thanks