public void ShowCalender()
        {
            Dlg_Calender dlg = new Dlg_Calender();
            dlg.SetRecource();

            if (this.SelectedDate != null)
            {
                dlg._selectedDate = (DateTime)this.SelectedDate;
            }
            else
            {
                dlg._selectedDate = DateTime.Now;
            }

            dlg.Show();
            dlg.Closed -= dlg_Closed;
            dlg.Closed += dlg_Closed;
        }
        private void txtBillSiteDay_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            _selectIndex = dg.SelectedIndex;
            _selectColumn = dg.CurrentColumn.DisplayIndex;
            beforeValue = "";
            if (_entityListD == null) return;
            if (_entityListD.Count >= _selectIndex)
            {
                beforeValue = _entityListD[_selectIndex]._bill_site_day;
            }

            calenderDlg = new Dlg_Calender();
            calenderDlg.Show();
            calenderDlg.Closed += calenderDlg_Closed;
        }