Esempio n. 1
0
        public LocateByXYEditPage(ActUIElement Action)
        {
            InitializeComponent();

            mAction = Action;

            double X;
            double Y;

            mAction.GetLocateByXYValues(out X, out Y);

            txtLocateValueX.ValueTextBox.Text = X + "";
            txtLocateValueY.ValueTextBox.Text = Y + "";
        }
Esempio n. 2
0
        public LocateByXYEditPage(ActUIElement Action, object locateValueParentObject, string locateValueField)
        {
            InitializeComponent();

            mAction                  = Action;
            mlocateValueField        = locateValueField;
            mlocateValueParentObject = locateValueParentObject;

            double X;
            double Y;


            mAction.GetLocateByXYValues(out X, out Y, mlocateValueParentObject, mlocateValueField);

            txtLocateValueX.ValueTextBox.Text = X + "";
            txtLocateValueY.ValueTextBox.Text = Y + "";
        }