更新:2007 年 11 月
在文件最後一頁列印完後發生。
命名空間: Microsoft.VisualBasic.PowerPacks.Printing
組件: Microsoft.VisualBasic.PowerPacks.Vs (在 Microsoft.VisualBasic.PowerPacks.Vs.dll 中)
語法
<BrowsableAttribute(False)> _
Public Event EndPrint As PrintEventHandler
Dim instance As PrintForm
Dim handler As PrintEventHandler
AddHandler instance.EndPrint, handler
[BrowsableAttribute(false)]
public event PrintEventHandler EndPrint
[BrowsableAttribute(false)]
public:
event PrintEventHandler^ EndPrint {
void add (PrintEventHandler^ value);
void remove (PrintEventHandler^ value);
}
JScript 不支援事件。
備註
EndPrint 事件處理常式通常會用來執行需要在列印之後完成的任何工作。例如,它可用來顯示對話方塊,通知使用者列印工作已完成。
使用權限
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualBasic.PowerPacks.Printing 命名空間
其他資源
HOW TO:使用 PrintForm 元件列印表單 (Visual Basic)
HOW TO:列印表單的用戶端區域 (Visual Basic)
HOW TO:列印表單的工作區和非工作區 (Visual Basic)