Esempio n. 1
0
        private void Add_Employee_Click(object sender, RoutedEventArgs e)
        {
            SearchInOrAddEmployees window = new SearchInOrAddEmployees(employeesGrid, connectStr, false);

            window.Closed += new EventHandler(OnAddWindowClosing);
            window.Title   = "Добавление работника";
            window.SearchOrAdd.Content = "Добавить";
            window.Show();
        }
Esempio n. 2
0
        private void Search_Click(object sender, RoutedEventArgs e)
        {
            SearchInOrAddEmployees window = new SearchInOrAddEmployees(employeesGrid, connectStr, true);

            window.Show();
        }