//修改提醒按钮 private void tsbtnUpdateAwoke_Click(object sender, EventArgs e) { if (lvAwoke.SelectedItems.Count <= 0) { return; } AddAworkeForm aaf = new AddAworkeForm(1); List <string> listString = new List <string>(); for (int i = 0; i < lvAwoke.SelectedItems[0].SubItems.Count; i++) { listString.Add(lvAwoke.SelectedItems[0].SubItems[i].Text); } aaf.listString = listString; aaf.ShowDialog(); }
//添加提醒 private void tsbtnAddAwoke_Click(object sender, EventArgs e) { AddAworkeForm aaf = new AddAworkeForm(0); aaf.ShowDialog(); }