protected override void OnClosed(EventArgs e)
        {
            base.OnClosed(e);
            ExportJointListVM vm = DataContext as ExportJointListVM;

            vm.Close();
        }
        void SetupDataContext()
        {
            ExportJointListVM vm = new ExportJointListVM();

            DataContext = vm;
            if (vm.CloseAction == null)
            {
                vm.CloseAction = new Action(Close);
            }
        }