private void Form1_Load(object sender, EventArgs e) { foreach (var template in NotificationTemplate.GetTemplates()) { this.listContent.Items.Add(template); } if (this.listContent.Items.Count > 0) { this.listContent.SelectedIndex = 0; } this.LoadSettings(); }