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; }
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; }