Exemple #1
0
 private void uxMemoryEdit_Click(object sender, EventArgs e)
 {
     if (uxMemoryList.SelectedIndices.Count > 0)
     {
         int      index = uxMemoryList.SelectedIndices[0];
         string[] s     = MemoryEntryForm.ShowEdit(new string[] {
             uxMemoryList.Items[index].SubItems[0].Text,
             uxMemoryList.Items[index].SubItems[1].Text,
             uxMemoryList.Items[index].SubItems[2].Text,
             uxMemoryList.Items[index].SubItems[3].Text
         });
         if (s != null)
         {
             uxMemoryList.Items[index] = new ListViewItem(s);
         }
     }
 }