Beispiel #1
0
        private void SaveData()
        {
            MeasureToolData measureToolData = new MeasureToolData();

            measureToolData.pStartRatio = pStartRatio;
            measureToolData.pOverRatio  = pOverRatio;
            lMeasureLine.DataContext    = measureToolData;
        }
Beispiel #2
0
        private void GetData()
        {
            MeasureToolData measureToolData = lMeasureLine.DataContext as MeasureToolData;

            if (measureToolData != null)
            {
                pStartRatio = measureToolData.pStartRatio;
                pOverRatio  = measureToolData.pOverRatio;
            }
        }