Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 //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;
 }