Esempio n. 1
0
        private void NewCompany(object sender, RoutedEventArgs e)
        {
            NewEditCompany newEditCompanyWindow = new NewEditCompany(false);

            newEditCompanyWindow.ShowDialog();
            fillCompanyList();
        }
Esempio n. 2
0
        private void EditCompany()
        {
            NewEditCompany newEditCompanyWindow = new NewEditCompany(true);

            newEditCompanyWindow.ShowDialog();
            fillCompanyList();
            CompanyList.ItemsSource = new Queries().findCompany(CompanySearching.Text);
        }