Пример #1
0
        private void saveChanges_button_Click(object sender, RoutedEventArgs e)
        {
            List <TestPinMap> TestPins = testBoardList1.CurrentPinMap;

            foreach (TestPinMap Pin in TestPins)
            {
                if (Pin.Edited == true)
                {
                    GCIDB.ChangePinMap(Pin.TestBoardID, Pin.PartID, Pin.DUTPin, Pin.GCIPin);
                }
            }
            testBoardList1.ClearAllEdits();
            MessageBox.Show("All changes saved!");
        }