public Joystick()
        {
            InitializeComponent();
            mvm = new viewModel.ManualViewModel();
            Knob.MouseLeftButtonDown += Knob_MouseLeftButtonDown;
            Knob.MouseLeftButtonUp   += Knob_MouseLeftButtonUp;
            Knob.MouseMove           += Knob_MouseMove;

            centerKnob = Knob.Resources["CenterKnob"] as Storyboard;
        }
예제 #2
0
 public Manual()
 {
     InitializeComponent();
     mvm = new viewModel.ManualViewModel();
     this.DataContext = mvm;
 }