Alert message in vb.net
MsgBox("Message")
MessageBox.Show("Insufficient Balance in your Account")
If MessageBox.Show("Do you want to print Receipt..", "Message..", MessageBoxButtons.YesNo,
--------------------------
If MessageBox.Show("Do you want to print Receipt..", "Message..", MessageBoxButtons.YesNo, MessageBoxIcon.Information) = Windows.Forms.DialogResult.Yes
Then
CmdPrint_Click(sender, e)
End If
-------------------------
MsgBox("You are not authorized for modification", MsgBoxStyle.OkOnly + MsgBoxStyle.Critical)
MsgBox("Invalid Registration No............")
Comments
Post a Comment