public HomeFragment()
 {
     try
     {
         clsGLB        = new clsGlobal();
         creditDebitDb = new CreditDebitDb();
     }
     catch (Exception ex)
     {
         Toast.MakeText(Activity, ex.Message, ToastLength.Long).Show();
     }
 }
예제 #2
0
 public CreditDebitHistoryActivity()
 {
     try
     {
         clsGLB        = new clsGlobal();
         creditDebitDb = new CreditDebitDb();
     }
     catch (Exception ex)
     {
         Toast.MakeText(this, ex.Message, ToastLength.Long).Show();
     }
 }
예제 #3
0
 public MainActivity()
 {
     try
     {
         clsGLB        = new clsGlobal();
         creditDebitDb = new CreditDebitDb();
         //Set DBFilePath
         string folderPath = Path.Combine(clsGlobal.FilePath, clsGlobal.FileFolder);
         clsGlobal.DBFilePath = Path.Combine(folderPath, clsGlobal.DBFileName);
     }
     catch (Exception ex)
     {
         Toast.MakeText(this, ex.Message, ToastLength.Long).Show();
     }
 }