private void MethodSettingEntity_Load(object sender, EventArgs e) { namevalue.Text = settingentity.getparamatername(); clinevalue.Text = settingentity.getlinevalue(); if (clinevalue.Text.Equals("")) { clinevalue.SelectedIndex = 0; } for (int i = 0; i < settingentity.getresultentitylist().Count; i++) { if (((ResultEntity)settingentity.getresultentitylist()[i]).getresultname() == "Control line") { setstartvalue.Text = ((ResultEntity)settingentity.getresultentitylist()[i]).getresultstartvalue().ToString(); setendvalue.Text = ((ResultEntity)settingentity.getresultentitylist()[i]).getresultendvalue().ToString(); } } shuttertimevalue.Text = settingentity.getshuttertimes().ToString(); readytimevalue.Text = settingentity.getreadytime().ToString(); }