private void OnLayoutUpdated(object sender, EventArgs eventArgs) { LayoutUpdated -= OnLayoutUpdated; EmailLogProvider.ReportException(); }