public CashBoxTransactionContainer()
        {
            InitializeComponent();

            if (ApplicationStaticConfiguration.ActiveCashBox == null)
            {
                ChooseCashBox_UC chooseCashBox = new ChooseCashBox_UC();
                PopupBaseForm.ShowAsPopup(chooseCashBox, this);
            }

            SetCashBoxDetails();
        }
        private void btnDailyRecords_Click(object sender, EventArgs e)
        {
            if (ApplicationStaticConfiguration.ActiveCashBox == null)
            {
                ChooseCashBox_UC chooseCashBox = new ChooseCashBox_UC();
                PopupBaseForm.ShowAsPopup(chooseCashBox, this);
            }

            SetCashBoxDetails();

            if (ApplicationStaticConfiguration.ActiveCashBox != null)
            {
                BaseController <CashBoxInOutTransaction> .ShowEditorControl(ref _cashInOutTransactionViewer, this, null,
                                                                            null, EditorContainerType.Regular, ViewerName.CashBoxInOutTrasactionViewer,
                                                                            DB_CommonTransactionType.CreateNew, "المعـامـــــلات اليـوميـــــــة", true);
            }

            SetCashBoxDetails();
        }