Ejemplo n.º 1
0
 private void OpenTranDetails()
 {
     try
     {
         BuissnessHelpers.LoadTransaction(Transaction.SelectedTransaction);
     }
     catch (Exception E)
     {
         ExepionLogger.Logger.LogException(E);
         ExepionLogger.Logger.Show(E);
     }
 }
        private void OpenTransactionObject(object paramater)
        {
            try
            {
                switch (paramater.ToString())
                {
                case "Purchase":
                    StockObj.PopulatePurchaseObj();
                    BuissnessHelpers.LoadTransaction(StockObj.PurchaseObject);
                    break;

                case "Sale":
                    StockObj.PopulateSaleObj();
                    BuissnessHelpers.LoadTransaction(StockObj.SaleObject);
                    break;
                }
            }
            catch (Exception E)
            {
                ExepionLogger.Logger.LogException(E);
                ExepionLogger.Logger.Show(E);
            }
        }