public void timer1_tick() { retrieving ID values from DB } public void store_ID() { condition: check the id present in the ID list open a form; else; dont open a form; }
int tempID = 0; public void timer1_tick() { // retrieving ID values from DB } public void store_ID() { // condition: check the id present in the ID list if (IDfromDatabase == tempID) { // open a form; } else { tempID = IDfromDatabase; // dont open a form; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)