Exemplo n.º 1
0
        void searchBox_KeyButtonReleased(Widget source, EventArgs e)
        {
            KeyEventArgs ke = (KeyEventArgs)e;

            switch (ke.Key)
            {
            case KeyboardButtonCode.KC_RETURN:
                if (fileDataGrid.hasItemSelected())
                {
                    fireOpen();
                }
                break;
            }
        }