예제 #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();
        }