| 123456789101112131415161718192021222324252627 |
- using System.Windows.Controls;
- using TeamAAS_VP.ViewModels.Calibration;
- namespace TeamAAS_VP.Views.Calibration
- {
- /// <summary>
- /// Interaction logic for CalibrationTeachCenterPoint
- /// </summary>
- public partial class CalibrationTeachCenterPoint : UserControl
- {
- CalibrationTeachCenterPointViewModel VM;
- public CalibrationTeachCenterPoint()
- {
- InitializeComponent();
- VM=DataContext as CalibrationTeachCenterPointViewModel;
- VM.PropertyChanged += VM_PropertyChanged;
- }
- private void VM_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
- {
- if (e.PropertyName== "Robot")
- {
- this.robotManual.Robot = VM.Robot;
- }
- }
- }
- }
|