private static void ProcessQueue() { if (MySQL1.QueueThread != null) { if (MySQL1.Queue.Count > 0 && MySQL1.IsReady && MySQL1.Query(MySQL1.Queue[0], true) != null) { MySQL1.Queue.RemoveAt(0); } } }