Exemple #1
0
 private void DestroyBasic()
 {
     try
     {
         MAdapter          = null;
         TxtSave           = null;
         Image             = null;
         TxtAddImg         = null;
         IconDiscountType  = null;
         TxtDiscountType   = null;
         MRecycler         = null;
         IconDiscountItems = null;
         TxtDiscountItems  = null;
         IconCurrency      = null;
         TxtCurrency       = null;
         IconDescription   = null;
         TxtDescription    = null;
         IconDate          = null;
         TxtDate           = null;
         IconTime          = null;
         TxtTime           = null;
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }
Exemple #2
0
 private void DestroyBasic()
 {
     try
     {
         MAdapter          = null !;
         TxtSave           = null !;
         IconDiscountType  = null !;
         TxtDiscountType   = null !;
         MRecycler         = null !;
         IconDiscountItems = null !;
         TxtDiscountItems  = null !;
         IconCurrency      = null !;
         TxtCurrency       = null !;
         IconDescription   = null !;
         TxtDescription    = null !;
         IconDate          = null !;
         TxtDate           = null !;
         IconTime          = null !;
         TxtTime           = null !;
         OfferClass        = null !;
         TypeDialog        = null !;
         CurrencyId        = null !;
         OfferId           = null !;
         AddDiscountId     = null !;
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
     }
 }
Exemple #3
0
 private void DestroyBasic()
 {
     try
     {
         MAdapter          = null;
         TxtSave           = null;
         IconDiscountType  = null;
         TxtDiscountType   = null;
         MRecycler         = null;
         IconDiscountItems = null;
         TxtDiscountItems  = null;
         IconCurrency      = null;
         TxtCurrency       = null;
         IconDescription   = null;
         TxtDescription    = null;
         IconDate          = null;
         TxtDate           = null;
         IconTime          = null;
         TxtTime           = null;
         OfferClass        = null;
         TypeDialog        = null;
         CurrencyId        = null;
         OfferId           = null;
         AddDiscountId     = null;
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }
Exemple #4
0
 private void SetRecyclerViewAdapters()
 {
     try
     {
         LayoutManager = new LinearLayoutManager(this);
         MAdapter      = new DiscountTypeAdapter(this)
         {
             DiscountList = new ObservableCollection <DiscountOffers>()
         };
         MRecycler.SetLayoutManager(LayoutManager);
         MRecycler.SetAdapter(MAdapter);
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }
Exemple #5
0
 private void SetRecyclerViewAdapters()
 {
     try
     {
         LayoutManager = new LinearLayoutManager(this);
         MAdapter      = new DiscountTypeAdapter(this)
         {
             DiscountList = new ObservableCollection <DiscountOffers>()
         };
         MRecycler.SetLayoutManager(LayoutManager);
         MRecycler.SetAdapter(MAdapter);
     }
     catch (Exception e)
     {
         Methods.DisplayReportResultTrack(e);
     }
 }