どのように私はWPFでこれを行うのですかWPFは非表示にしますか?
VB.NET
Private Sub FrmSettings_FormClosing(ByVal sender As System.Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles MyBase.FormClosing
e.Cancel = (e.CloseReason = Forms.CloseReason.UserClosing)
Me.Hide()
End Sub
C#のWPFのCloseイベントは、ちょうど私にe.Cancelなしclosereason :(
はどのように醜い:( – Peter