private void OnAdd (object sender, EventArgs e) { var f = new NewAlarmForm(); f.Show(this); _cAlarmList.Add(new Alarm("Test", false, DateTime.Now)); }
private void OnIconDoubleClick (object sender, EventArgs e) { var form = new NewAlarmForm(); }