好文档 - 专业文书写作范文服务资料分享网站

卵曲线计算

天下 分享 时间: 加入收藏 我要投稿 点赞

else {

listBox1.Items.Add(\次点不在曲线上---\ }

listBox1.SelectedIndex = listBox1.Items.Count - 1; }

private void comboBox方向_SelectedIndexChanged(object sender, EventArgs e) {

fx = comboBox方向.Text; }

private void text缓和曲线长_TextChanged(object sender, EventArgs e) {

string l = \ if (l != \ {

text缓和曲线长.Text = \ }

l = l + text缓和曲线长.Text; Ls1 = Convert.ToDouble(l); }

private void textBox曲线长Ls2_TextChanged(object sender, EventArgs e) {

string l = \ if (l != \ {

textBox曲线长Ls2.Text = \ }

l = l + textBox曲线长Ls2.Text; Ls2 = Convert.ToDouble(l); }

private void textBox曲线长Lf_TextChanged(object sender, EventArgs e) {

string l = \ if (l != \ {

textBox曲线长Lf.Text = \ }

l = l + textBox曲线长Lf.Text; Lf = Convert.ToDouble(l); }

private void textBox半径R1_TextChanged(object sender, EventArgs e) {

string r = \

if (r.Length == 0) {

textBox半径R1.Text = \ }

r = r + textBox半径R1.Text; R1 = Convert.ToDouble(r); }

private void text转弯半径R2_TextChanged(object sender, EventArgs e) {

string r = \ if (r.Length == 0) {

text转弯半径R2.Text = \ }

r = r + text转弯半径R2.Text; R2 = Convert.ToDouble(r); }

private void textBox转角a1_TextChanged(object sender, EventArgs e) {

string a0 = \ if (a0.Length == 0) {

textBox转角a1.Text = \ }

a0 = a0 + textBox转角a1.Text; double a4 = Convert.ToDouble(a0); a1 = dms_rad(a4); }

private void textBox转角a2_TextChanged(object sender, EventArgs e) {

string a0 = \ if (a0.Length == 0) {

textBox转角a2.Text = \ }

a0 = a0 + textBox转角a2.Text; double a4 = Convert.ToDouble(a0); a2 = dms_rad(a4); }

private void textBox里程_TextChanged(object sender, EventArgs e) {

string k = \ if (k.Length == 0) {

textBox里程.Text = \ }

k = k + textBox里程.Text; Kzh = Convert.ToDouble(k); }

private void button退出_Click(object sender, EventArgs e) {

Close(); }

private void button计算里程_Click_1(object sender, EventArgs e) {

jisu(sender,e); }

private void textBoxJD1X_TextChanged(object sender, EventArgs e) {

string jd = \ if (jd.Length == 0) {

textBoxJD1X.Text = \ }

jd = jd + textBoxJD1X.Text; JD1.x = Convert.ToDouble(jd); }

private void textBoxJD1Y_TextChanged(object sender, EventArgs e) {

string jd = \ if (jd.Length == 0) {

textBoxJD1Y.Text = \ }

jd = jd + textBoxJD1Y.Text; JD1.y = Convert.ToDouble(jd); }

private void textBoxJD2X_TextChanged(object sender, EventArgs e) {

string jd = \ if (jd.Length == 0) {

textBoxJD2X.Text = \ }

jd = jd + textBoxJD2X.Text; JD2.x = Convert.ToDouble(jd); }

private void textBoxJD2Y_TextChanged(object sender, EventArgs e)

{

string jd = \ if (jd.Length == 0) {

textBoxJD2Y.Text = \ }

jd = jd + textBoxJD2Y.Text; JD2.y = Convert.ToDouble(jd); }

private void textBoxJD3X_TextChanged(object sender, EventArgs e) {

string jd = \ if (jd.Length == 0) {

textBoxJD3X.Text = \ }

jd = jd + textBoxJD3X.Text; JD3.x = Convert.ToDouble(jd); }

private void textBoxJD3Y_TextChanged(object sender, EventArgs e) {

string jd = \ if (jd.Length == 0) {

textBoxJD3Y.Text = \ }

jd = jd + textBoxJD3Y.Text; JD3.y = Convert.ToDouble(jd); }

private void button坐标_Click(object sender, EventArgs e) {

if (comboBox方向.Text == \左转弯\ {

turn_left(sender, e); }

else if (comboBox方向.Text == \右转弯\ {

turn_right(sender, e); } else {

listBox1.Items.Add(\转弯方向输入错误!---\ } }

private void textBoxli_TextChanged(object sender, EventArgs e) {

string ki = \ if (ki.Length == 0) {

textBoxli.Text = \ }

ki = ki + textBoxli.Text; Ki = Convert.ToDouble(ki); } } }

卵曲线计算

else{listBox1.Items.Add(\次点不在曲线上---\}listBox1.SelectedIndex=listBox1.Items.Count-1;}
推荐度:
点击下载文档文档为doc格式
8n8xl4x1e64mg6283nif6msol1o4p300utv
领取福利

微信扫码领取福利

微信扫码分享