コード例 #1
0
        private void rbnPosOtherum_CheckedChanged(object sender, EventArgs e)
        {
            RadioButton temp = sender as RadioButton;

            if (temp == null || temp.Name != "rbnPosOtherum")
            {
                return;
            }
            var mode = new AxisMoveMode();

            mode          = MoveMode;
            mode.Distance = (double)ndnPosOther.Value;
            MoveMode      = mode;
        }
コード例 #2
0
        private void rbnLocationMoveSelect_CheckedChanged(object sender, EventArgs e)
        {
            RadioButton temp = sender as RadioButton;

            if (temp == null || temp.Name != "rbnLocationMoveSelect")
            {
                return;
            }
            var mode = new AxisMoveMode();

            mode          = MoveMode;
            mode.Continue = !rbnLocationMoveSelect.Checked;
            MoveMode      = mode;
        }