Exemplo n.º 1
0
        private void GetUsers()
        {
            try
            {
                Cursor.Current = Cursors.WaitCursor;

                dgUsers.DataSource = bll.SelectUsers();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            finally
            {
                Cursor.Current = Cursors.Default;
            }
        }