public void FillBoxes(TextBox boxX, TextBox boxY, TextBox boxZ, string format) { string[] xyzText = XYZAttribute.GetTextArrayFromDoubleArray(format); if (xyzText != null) { boxX.Text = xyzText[0]; boxY.Text = xyzText[1]; boxZ.Text = xyzText[2]; } }
public void FillBoxes(DomainUpDown boxRed, DomainUpDown boxGreen, DomainUpDown boxBlue, DomainUpDown boxAlpha, string format) { string[] rgbaText = RGBAAttribute.GetTextArrayFromDoubleArray(format); if (rgbaText != null) { boxRed.Text = rgbaText[0]; boxGreen.Text = rgbaText[1]; boxBlue.Text = rgbaText[2]; boxAlpha.Text = rgbaText[3]; } }
public void FillBoxes(TextBox boxX, TextBox boxY, TextBox boxZ, TextBox boxRoll, TextBox boxPitch, TextBox boxYaw, string format) { string[] xyzText = XYZAttribute.GetTextArrayFromDoubleArray(format); if (xyzText != null) { boxX.Text = xyzText[0]; boxY.Text = xyzText[1]; boxZ.Text = xyzText[2]; } string[] rpyText = RPYAttribute.GetTextArrayFromDoubleArray(format); if (rpyText != null) { boxRoll.Text = rpyText[0]; boxPitch.Text = rpyText[1]; boxYaw.Text = rpyText[2]; } }