示例#1
0
        private void UpdateBtn_Click(object sender, RoutedEventArgs e)
        {
            Worker           selectedRecord = xamlDataGrid.SelectedItem as Worker;
            AddWorker_Window w = new AddWorker_Window(selectedRecord);

            w.ShowDialog();
        }
示例#2
0
        private void InsertBtn_Click(object sender, RoutedEventArgs e)
        {
            AddWorker_Window w = new AddWorker_Window();

            w.ShowDialog();
        }