private static void CurrentMarketOnChanged(DependencyObject doj, DependencyPropertyChangedEventArgs dp)
        {
            Cases_BC uc3 = doj as Cases_BC;

            if (uc3.CurrentMarket != null)
            {
                uc3.UpdateGrid2();
            }
        }
        private static void CurrentCaseOnChanged(DependencyObject doj, DependencyPropertyChangedEventArgs dp)
        {
            Cases_BC ml = doj as Cases_BC;

            ml.UpdateGrid();
        }