Esempio n. 1
0
 private void TxtSearch_TextChanged(object sender, EventArgs e)
 {
     if (SearchType != SearchMode.None)
     {
         InvokeSearch?.Invoke(sender, e);
     }
 }
Esempio n. 2
0
        /* I researched on removing that annoying "ding" sound when user presses <ENTER>. For instructions on how to do that, goto
         *  https://stackoverflow.com/questions/6290967/stop-the-ding-when-pressing-enter
         * However, the commentator on the referring page to that link advised: "Personally, I would suggest against it. If a user has
         * sounds on at the system level I don't think your app should ignore them. For example, as Peter pointed out,
         * the user could be blind or have other accessibility issues."  So this is a 508 Requirement????
         */
        private void picBox_Click(object sender, EventArgs e)
        {
            if (InvokeSearch != null)
            {
                return;
            }

            InvokeSearch.Invoke(sender, e);
        }
Esempio n. 3
0
 private void RefreshScreen(object sender, EventArgs e)
 {
     searchBox.ClearSearchBox(sender, e);
     InvokeSearch?.Invoke(sender, e);
 }