private void Button_Click(object sender, RoutedEventArgs e)
        {
            OpenFileDialog openFile = new OpenFileDialog
            {
                Title  = "open new file",
                Filter = ".docx(Ms Word file)|*.docx"
            };

            if (openFile.ShowDialog() == true)
            {
                string directoryPath = System.IO.Path.GetFullPath(openFile.FileName);
                MedicalGrid.DataContext = dC.AddFromFileClass(directoryPath);
            }


            //OpenFileDialog oponFile = new OpenFileDialog
            //{
            //    Title = "open new file",
            //    Filter = ".doc(MSWord Files)|*.docx"
            //};
            //MedicalGrid.DataContext = ps.AddFromFileClass();
        }