Public feed #1400913

Closing Child Form

public text v1 · immutable
Raw Edit
·published 2009-04-23 13:19 UTC
rendered paste body
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing If Not e.CloseReason = CloseReason.WindowsShutDown Or Not e.CloseReason = CloseReason.MdiFormClosing Then  e.Clancel = True End IfEnd Sub