private void ISGBExceptionDialog_Load(object sender, EventArgs e) { #if !DEBUG LogFileName = LogException.LogExceptionToFile(exception); #endif }