예제 #1
0
 private void tsmi_DeleteFile_Click(object sender, EventArgs e)
 {
     foreach (DataGridViewRow selectedRow in this.gridView.SelectedRows)
     {
         ModEditor.GetItem(selectedRow).Delete();
         this.OnFileEnabledChanged();
     }
 }
예제 #2
0
 private ModFile GetItemAt(int rowIndex)
 {
     return(ModEditor.GetItem(this.gridView.Rows[rowIndex]));
 }