private bool bLicencja(string sNIP) { bool _return = false; fb3 = new fb3000(); string sIleNip = fb3.fNIP(sNIP); if (sIleNip != "0") _return = true; return _return; }
private void fUserRAKSList() { fb3 = new fb3000(); List<string>[] lstUser = fb3.fUsers(); dataGridView1.Rows.Clear(); for (int i = 0; i < lstUser[0].Count; i++) { int number = dataGridView1.Rows.Add(); dataGridView1.Rows[number].Cells[0].Value = lstUser[0][i].ToString(); dataGridView1.Rows[number].Cells[1].Value = lstUser[1][i].ToString(); } }