public static void OnTryClose(object sender, TryCloseEventArgs e) { if (TryClose != null) { TryClose(sender, e); } }
private void OnTryClose(object sender, TryCloseEventArgs e) { TryClose(); }