public void Edit(string identifier)
        {
            EnquiryViewModel enquiryViewModel = new EnquiryViewModel(identifier);
            EnquiryWindow    en = new EnquiryWindow();

            en.DataContext = enquiryViewModel;
            en.ShowDialog();
        }
Exemple #2
0
        private void btnEnquiry_Click(object sender, RoutedEventArgs e)
        {
            Enquiries.EnquiryWindow n = new Enquiries.EnquiryWindow();

            n.ShowDialog();
        }