Exemple #1
0
 private void editTitle_Click(object sender, EventArgs e)
 {
     using (TitleWindow window = new TitleWindow(TitleWindow.Operation.Edit, Titles.GetSelectedRow()))
     {
         var result = window.ShowDialog();
         if (result == DialogResult.OK)
         {
             string[] editedValues = window.Values;
             Titles.EditSelectedRow(editedValues);
         }
     }
 }