OpenTween.MyLists.MyLists_Load C# (CSharp) Method

MyLists_Load() private method

private MyLists_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private async void MyLists_Load(object sender, EventArgs e)
        {
            using (ControlTransaction.Disabled(this))
            {
                try
                {
                    await this.RefreshListBox();
                }
                catch (OperationCanceledException)
                {
                    this.DialogResult = DialogResult.Cancel;
                }
                catch (WebApiException ex)
                {
                    MessageBox.Show($"Failed to get lists. ({ex.Message})");
                    this.DialogResult = DialogResult.Abort;
                }
            }
        }