private async void FormLoaded(object sender, EventArgs e)
 {
     await PerformAction(async() =>
     {
         FrameworkChecker.CheckFrameworkValid();
         await Connect();
         dataGridView.Sort(dataGridName, ListSortDirection.Ascending);
     });
 }
Beispiel #2
0
        private async void FormLoaded(object sender, EventArgs e)
        {
            await PerformAction(async() =>
            {
                FrameworkChecker.CheckFrameworkValid();
                await Connect();
                dataGridView.Sort(dataGridName, ListSortDirection.Ascending);
            });

            // UX: To make it easy to start searching as soon as you launch.
            this.toolStripFilterBox.Focus();
        }