public frmInputTestCase(int id_url, string id_testcase) { InitializeComponent(); this.ID_URL = id_url; this.ID_Testcase = id_testcase; lbIdUrl.Text = ID_URL.ToString(); txtboxId_testcase.Text = ID_Testcase; lbResult.Text = BUL.TestCaseBUL.Get_ResultTestcase(ID_URL, ID_Testcase); LoadBtnNext_Prev(); }
public frmInputTestCase(int id_url, string id_testcase, List <Test_case> listTestcase) { InitializeComponent(); ListTestCase = listTestcase; indexList = ListTestCase.IndexOf(ListTestCase.Where(p => p.id_testcase == id_testcase).SingleOrDefault()); this.ID_URL = id_url; this.ID_Testcase = id_testcase; lbIdUrl.Text = ID_URL.ToString(); txtboxId_testcase.Text = ID_Testcase; lbResult.Text = BUL.TestCaseBUL.Get_ResultTestcase(ID_URL, ID_Testcase); LoadBtnNext_Prev(); }