public TError(TBLObj iBLObj, Exception iEx, string iForm, string iMessage, string iLongMessage, bool iShowForm) { this.User = iBLObj.User; ; this.Ex = iEx; this.Form = iForm; this.Message = iMessage; this.LongMessage = iLongMessage; this.sqlConnection = iBLObj.sqlConnection; this.ShowForm = iShowForm; }
//error with user form public TError(TBLObj iBLObj, Exception iEx, string iForm, string iMessage) { this.User = iBLObj.User; this.Ex = iEx; this.Form = iForm; this.Message = iMessage; //this.strConnectionString = iBLObj.strConnectionString; this.sqlConnection = iBLObj.sqlConnection; this.ShowForm = true; }