void inputFillUp() { string article = in1_cikkszam.Text; string charge = in1_charge.Text; string beerkdatum = in1_beerkdatum.Text; List <string> li = new List <string>(); li = db.dbSearchRow(article, charge, beerkdatum); if (li.Count != 0) { in1_szallito.Text = li[0]; in1_anyag_tipus.Text = li[1]; in1_anyagnev.Text = li[2]; in1_pc.Text = li[3]; in1_utomunk.Text = li[4]; in1_folyokep_c.Text = li[5]; in1_utokalapacs_j.Text = li[6]; in1_folyokep_suly.Text = li[7]; in1_suruseg.Text = li[8]; in1_szin.Text = li[9]; in1_szakszig_min.Text = li[10]; in1_szakszig_max.Text = li[11]; in1_utesal_min.Text = li[12]; in1_utesal_max.Text = li[13]; in1_foly_g_min.Text = li[14]; in1_foly_g_max.Text = li[15]; in1_foly_cm_min.Text = li[16]; in1_foly_cm_max.Text = li[17]; in1_toltotart_min.Text = li[18]; in1_toltotart_max.Text = li[19]; in1_uto_date.Text = li[20]; in1_kw.Text = li[21]; in1_allapot.Text = li[22]; in1_viztartalom.Text = li[23]; in1_szakszig.Text = li[24]; in1_szakszig_gy.Text = li[25]; in1_utesallosag.Text = li[26]; in1_utesallosag_gy.Text = li[27]; in1_folykep_g_1.Text = li[28]; in1_folykep_g_2.Text = ""; in1_folykep_g_gy.Text = li[29]; in1_folykep_cm_1.Text = li[30]; in1_folykep_cm_2.Text = ""; in1_folykep_cm_gy.Text = li[31]; in1_toltoanyag.Text = li[32]; in1_toltoanyag_gy.Text = li[33]; in1_megjegyzes.Text = li[34]; inputEvaulationColorer(in1_szakszig, null, li[10], li[11], li[24], "null"); inputEvaulationColorer(in1_utesallosag, null, li[12], li[13], li[26], "null"); inputEvaulationColorer(in1_folykep_g_1, null, li[14], li[15], li[28], "null"); inputEvaulationColorer(in1_folykep_cm_1, null, li[16], li[17], li[30], "null"); inputEvaulationColorer(in1_toltoanyag, null, li[18], li[19], li[32], "null"); //inputEvaulationColorer(in1_szakszig, in1_szakszig_min.Text, in1_szakszig_max.Text, in1_szakszig.Text); //inputEvaulationColorer(in1_utesallosag, in1_utesal_min.Text, in1_utesal_max.Text, in1_utesallosag.Text); //inputEvaulationColorer(in1_folykep_g_1, in1_foly_g_min.Text, in1_foly_g_max.Text, in1_folykep_g_1.Text); //inputEvaulationColorer(in1_folykep_cm_1, in1_foly_cm_min.Text, in1_foly_cm_max.Text, in1_folykep_cm_1.Text); //inputEvaulationColorer(in1_toltoanyag, in1_toltotart_min.Text, in1_toltotart_max.Text, in1_toltoanyag.Text); } }