private void AnchorA_MouseUp(object sender, MouseButtonEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouse <WeldJointViewModel>(false, MouseEventObjectType.jointAnchorA, sender, e);
        }
        private void AnchorB_MouseMove(object sender, MouseEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouseMove <WeldJointViewModel>(MouseEventObjectType.jointAnchorB, sender, e);
        }
Ejemplo n.º 3
0
        private void Shape_MouseUp(object sender, MouseButtonEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouse <LfShapeViewModel>(false, MouseEventObjectType.shape, sender, e);
        }
        private void AnchorB_MouseMove(object sender, MouseEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouseMove <ReentryFlameEmitterPropertiesViewModel>(MouseEventObjectType.systemAnchorB, sender, e);
        }
        private void ShapeBorder_MouseDown(object sender, MouseButtonEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouse <LfPointViewModel>(true, MouseEventObjectType.dragableBorder, sender, e);
        }
        private void ShapeBorder_MouseMove(object sender, MouseEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouseMove <IPositionInterface>(MouseEventObjectType.dragableBorder, sender, e);
        }
        private void DragablePoint_MouseUp(object sender, MouseButtonEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouse <LfDragablePointViewModel>(false, MouseEventObjectType.dragablePoint, sender, e);
        }
Ejemplo n.º 8
0
        private void LowerLimit_MouseUp(object sender, MouseButtonEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouse <PrismaticJointViewModel>(false, MouseEventObjectType.prismJointLowerLimit, sender, e);
        }
Ejemplo n.º 9
0
        private void UpperLimit_MouseMove(object sender, MouseEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouseMove <PrismaticJointViewModel>(MouseEventObjectType.prismJointUpperLimit, sender, e);
        }
Ejemplo n.º 10
0
        private void EllipseBorder_MouseUp(object sender, MouseButtonEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouse <LfStaticCircleViewModel>(false, MouseEventObjectType.dragableBorder, sender, e);
        }
Ejemplo n.º 11
0
        private void AnchorA_MouseMove(object sender, MouseEventArgs e)
        {
            CompoundObjectUserControl parentControl = ParentalFinder.FindParent <CompoundObjectUserControl>(this);

            parentControl.GeneralMouseMove <GunPropertiesViewModel>(MouseEventObjectType.gunSystem, sender, e);
        }