3-26 Programmer’s Manual
Example C#
using Ultra;
{
Ultra.Print rPrint = new Print(); //Instantiate class
if (rPrint.nStatus > 1) // Check Status
MessageBox.Show(rPrint.nStatus.ToString(), "Status",
MessageBoxButtons.OK,MessageBoxIcon.Exclamation,
MessageBoxDefaultButton.Button1);
}
Example VB.NET
Imports Ultra
Dim rPrint As New Print ' Instantiate class
Dim nStat As String
nStat = Convert.ToString(rPrint.nStatus())
If (rPrint.nStatus > 1) Then ' Check Status
MsgBox(nStat, MsgBoxStyle.Exclamation, "Status")
End If