// the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
// Boston, MA 02110-1301, USA.
+#nullable enable
+
using System;
using System.Collections.Generic;
using System.ComponentModel;
{
public partial class EventViewerDialog : OTBaseForm
{
- public List<Twitter.FormattedEvent> EventSource { get; set; }
+ public List<Twitter.FormattedEvent> EventSource { get; set; } = new List<Twitter.FormattedEvent>();
- private Twitter.FormattedEvent[] _filterdEventSource;
+ private Twitter.FormattedEvent[] _filterdEventSource = Array.Empty<Twitter.FormattedEvent>();
- private ListViewItem[] _ItemCache = null;
+ private ListViewItem[]? _ItemCache = null;
private int _itemCacheIndex;
- private TabPage _curTab = null;
+ private TabPage _curTab = null!;
public EventViewerDialog()
{