1. if (IsAlreadyRunning()) 2. { 3. SwitchToCurrentInstance(); 4. return false; 5. }</pre> 6. Application.Run(frmMain);
FbDataReader reader; cmd.CommandText = "select acct_name from iaccounts where comp_id=" + GlobleData.Companyid +" Order By (acct_name) asc"; reader = cmd.ExecuteReader(); if (reader.HasRows == true) { while (reader.Read()) autoCompleteStringColl.Add(reader["Acct_Name"].ToString()); }
SwitchToCurrentInstance
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)