private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            try
            {
                LogManager.WriteLog("CVaultEvents:UserControl_Loaded", LogManager.enumLogLevel.Debug);
                dtpStartDate.SelectedDate = DateTime.Now.Date.AddDays(-1);
                dtpEndDate.SelectedDate = DateTime.Now.Date;
                dtpStartTime.SelectedTime = new TimeSpan(DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
                dtpEndtime.SelectedTime = new TimeSpan(DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
                objVaultBiz = new VaultBiz();
                string[] str = new string[] { "20", "30", "40", "50", "60", "100", "200", "300", "All" };
                string[] strEvents = new string[] { "All", "Voucher", "Handpay", "Jackpot", "Mystery", "Prog", "Event" };
                cmb_SelectTop.ItemsSource = str;
                cmb_Type.ItemsSource = strEvents;
                cmb_SelectTop.SelectedIndex = 0;
                cmb_Type.SelectedIndex = 0;
                //refreshEvents(0);
            }
            catch (Exception Ex)
            {

                ExceptionManager.Publish(Ex);

            }

        }
        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            try
            {
                objVaultBiz = new VaultBiz();
                DataTable dtHistory = objVaultBiz.GetFillHistory(0, 20, 0);
                lst_FillHistory.ItemsSource = dtHistory.DefaultView;
                string[] str = new string[] { "20", "30", "40", "50", "60", "100", "All" };
                cmb_SelectTop.ItemsSource = str;
                cmb_SelectTop.SelectedIndex = 0;
                LoadTransactionTypes();
                btnDetails.Visibility = Visibility.Hidden;
            }
            catch (Exception Ex)
            {

                ExceptionManager.Publish(Ex);
            }

        }