private void btnAddToList_Click(object sender, EventArgs e)
        {
            if (spnAmount.EditValue == null || Math.Abs(Convert.ToDouble(spnAmount.EditValue)) < 0.0001)
            {
                return;
            }

            if (CashBoxInOutTransactionsList == null)
            {
                CashBoxInOutTransactionsList = new List <CashBoxInOutTransaction>();
            }

            CashBoxInOutTransaction cashBoxInOutTransaction = DBCommon.CreateNewDBEntity <CashBoxInOutTransaction>();

            if (CashBoxTransactionType_P_ID != null)
            {
                cashBoxInOutTransaction.CashBoxTransactionType_P_ID = Convert.ToInt32(CashBoxTransactionType_P_ID);
            }
            if (TransactionAmount != null)
            {
                cashBoxInOutTransaction.TransactionAmount = chkExpenses.Checked || chkReverseRevenue.Checked
                                        ? Convert.ToDouble(TransactionAmount) * -1
                                        : Convert.ToDouble(TransactionAmount);
            }
            if (TranscationSerial != null)
            {
                cashBoxInOutTransaction.TranscationSerial = TranscationSerial.ToString();
            }
            if (Description != null)
            {
                cashBoxInOutTransaction.Description = Description.ToString();
            }
            if (TranscationDate != null)
            {
                cashBoxInOutTransaction.TranscationDate = Convert.ToDateTime(TranscationDate);
            }
            if (ApplicationStaticConfiguration.ActiveCashBox != null)
            {
                cashBoxInOutTransaction.CashBox_CU_ID = ApplicationStaticConfiguration.ActiveCashBox.ID;
            }

            cashBoxInOutTransaction.AddedType = AddedType.NewelyAdded;

            CashBoxInOutTransactionsList.Add(cashBoxInOutTransaction);
            listToBeViewedOnly.Clear();

            listToBeViewedOnly.AddRange(CashBoxInOutTransaction.ItemsList.FindAll(item =>
                                                                                  !Convert.ToInt32(item.AddedType).Equals(Convert.ToInt32(AddedType.Removed))));
            listToBeViewedOnly.AddRange(CashBoxInOutTransactionsList.FindAll(item =>
                                                                             !Convert.ToInt32(item.AddedType).Equals(Convert.ToInt32(AddedType.Removed))));

            grdCashBoxInOutTransactions.DataSource = listToBeViewedOnly.OrderByDescending(item => item.TranscationDate);
            grdCashBoxInOutTransactions.RefreshDataSource();
            gridView7.SelectRow(-1);
            ClearControls();
        }