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