private void StartFindingEvents() { //eventsconsole = new FindEvents(instance, UUID.Random()); eventsconsole.Controls["pEvents"].Visible = true; totalResults = 0; lblEventsCount.Text = "Searching for " + lastQuery; txtEvents.Enabled = false; btnFindEvents.Enabled = false; btnPrevEvents.Enabled = false; btnNextEvents.Enabled = false; try { eventsconsole.ClearResults(); eventsconsole.QueryID = client.Directory.StartEventsSearch( lastQuery, // true, // "u", (uint)startResult//, // DirectoryManager.EventCategories.All, // UUID.Random() ); } catch (Exception exc) { string exp = exc.Message; } }
private void StartFindingEvents() { eventsconsole.Controls["pEvents"].Visible = true; totalResults = 0; lblEventsCount.Text = "Searching for " + lastQuery; txtEvents.Enabled = false; btnFindEvents.Enabled = false; btnPrevEvents.Enabled = false; btnNextEvents.Enabled = false; try { eventsconsole.ClearResults(); eventsconsole.QueryID = client.Directory.StartEventsSearch( lastQuery, (uint)startResult); } catch { ; } }