diff --git a/d20 SRD Spell Lists/FrmAddEdit.cs b/d20 SRD Spell Lists/FrmAddEdit.cs
index bba82aa..e795d31 100644
--- a/d20 SRD Spell Lists/FrmAddEdit.cs
+++ b/d20 SRD Spell Lists/FrmAddEdit.cs
@@ -24,6 +24,7 @@ namespace d20_SRD_Spell_Lists {
if (_spell != null) {
spell = _spell;
+ loadSpell();
} else {
spell = new Spell();
}
@@ -32,6 +33,13 @@ namespace d20_SRD_Spell_Lists {
txtName.LostFocus += new EventHandler(txtName_LostFocus);
}
+ private void loadSpell() {
+ txtName.Text = spell.Name;
+ txtLevel.Value = spell.Level;
+ txtComponents.Text = spell.Components;
+ txtDescription.Text = spell.ShortDescription;
+ }
+
void txtName_LostFocus(object sender, EventArgs e) {
if (txtName.Text != "") {
baseSpellComboBox.SelectedValue = "--";
diff --git a/d20 SRD Spell Lists/FrmMain.Designer.cs b/d20 SRD Spell Lists/FrmMain.Designer.cs
index fbbc24e..55a3f7e 100644
--- a/d20 SRD Spell Lists/FrmMain.Designer.cs
+++ b/d20 SRD Spell Lists/FrmMain.Designer.cs
@@ -24,6 +24,7 @@
///
private void InitializeComponent() {
this.components = new System.ComponentModel.Container();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.lblExtra9 = new System.Windows.Forms.Label();
@@ -70,26 +71,28 @@
this.label2 = new System.Windows.Forms.Label();
this.lblDirections = new System.Windows.Forms.Label();
this.mainToolStrip = new System.Windows.Forms.ToolStrip();
+ this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
+ this.spellsDataGridView = new System.Windows.Forms.DataGridView();
+ this.btnAdd = new System.Windows.Forms.Button();
+ this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
+ this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn();
this.newToolStripButton = new System.Windows.Forms.ToolStripButton();
this.openToolStripButton = new System.Windows.Forms.ToolStripButton();
this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
this.printToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
this.cutToolStripButton = new System.Windows.Forms.ToolStripButton();
this.copyToolStripButton = new System.Windows.Forms.ToolStripButton();
this.pasteToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.helpToolStripButton = new System.Windows.Forms.ToolStripButton();
- this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
- this.spellsDataGridView = new System.Windows.Forms.DataGridView();
this.prepColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.levelColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.spellNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.componentColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.descColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.editColumn = new System.Windows.Forms.DataGridViewButtonColumn();
- this.deleteColumn = new System.Windows.Forms.DataGridViewButtonColumn();
- this.btnAdd = new System.Windows.Forms.Button();
+ this.editColumn = new System.Windows.Forms.DataGridViewImageColumn();
+ this.deleteColumn = new System.Windows.Forms.DataGridViewImageColumn();
this.tableLayoutPanel1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.mainToolStrip.SuspendLayout();
@@ -601,6 +604,69 @@
this.mainToolStrip.Size = new System.Drawing.Size(784, 25);
this.mainToolStrip.TabIndex = 1;
//
+ // toolStripSeparator
+ //
+ this.toolStripSeparator.Name = "toolStripSeparator";
+ this.toolStripSeparator.Size = new System.Drawing.Size(6, 25);
+ //
+ // toolStripSeparator1
+ //
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
+ //
+ // errorProvider
+ //
+ this.errorProvider.ContainerControl = this;
+ //
+ // spellsDataGridView
+ //
+ this.spellsDataGridView.AllowUserToAddRows = false;
+ this.spellsDataGridView.AllowUserToDeleteRows = false;
+ this.spellsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.spellsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.prepColumn,
+ this.levelColumn,
+ this.spellNameColumn,
+ this.componentColumn,
+ this.descColumn,
+ this.editColumn,
+ this.deleteColumn});
+ this.spellsDataGridView.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.spellsDataGridView.Location = new System.Drawing.Point(0, 194);
+ this.spellsDataGridView.Name = "spellsDataGridView";
+ this.spellsDataGridView.ReadOnly = true;
+ this.spellsDataGridView.Size = new System.Drawing.Size(784, 368);
+ this.spellsDataGridView.TabIndex = 24;
+ this.spellsDataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.spellsDataGridView_CellContentClick);
+ //
+ // btnAdd
+ //
+ this.btnAdd.Location = new System.Drawing.Point(697, 165);
+ this.btnAdd.Name = "btnAdd";
+ this.btnAdd.Size = new System.Drawing.Size(75, 23);
+ this.btnAdd.TabIndex = 25;
+ this.btnAdd.Text = "Add Spell";
+ this.btnAdd.UseVisualStyleBackColor = true;
+ this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
+ //
+ // dataGridViewImageColumn1
+ //
+ this.dataGridViewImageColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
+ this.dataGridViewImageColumn1.HeaderText = "";
+ this.dataGridViewImageColumn1.Image = global::d20_SRD_Spell_Lists.Properties.Resources.edit_16;
+ this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
+ this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewImageColumn1.Width = 5;
+ //
+ // dataGridViewImageColumn2
+ //
+ this.dataGridViewImageColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
+ this.dataGridViewImageColumn2.HeaderText = "";
+ this.dataGridViewImageColumn2.Image = global::d20_SRD_Spell_Lists.Properties.Resources.editdelete_16;
+ this.dataGridViewImageColumn2.Name = "dataGridViewImageColumn2";
+ this.dataGridViewImageColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.dataGridViewImageColumn2.Width = 5;
+ //
// newToolStripButton
//
this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
@@ -639,11 +705,6 @@
this.printToolStripButton.Size = new System.Drawing.Size(23, 22);
this.printToolStripButton.Text = "&Print";
//
- // toolStripSeparator
- //
- this.toolStripSeparator.Name = "toolStripSeparator";
- this.toolStripSeparator.Size = new System.Drawing.Size(6, 25);
- //
// cutToolStripButton
//
this.cutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
@@ -671,11 +732,6 @@
this.pasteToolStripButton.Size = new System.Drawing.Size(23, 22);
this.pasteToolStripButton.Text = "&Paste";
//
- // toolStripSeparator1
- //
- this.toolStripSeparator1.Name = "toolStripSeparator1";
- this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
- //
// helpToolStripButton
//
this.helpToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
@@ -685,31 +741,6 @@
this.helpToolStripButton.Size = new System.Drawing.Size(23, 22);
this.helpToolStripButton.Text = "He&lp";
//
- // errorProvider
- //
- this.errorProvider.ContainerControl = this;
- //
- // spellsDataGridView
- //
- this.spellsDataGridView.AllowUserToAddRows = false;
- this.spellsDataGridView.AllowUserToDeleteRows = false;
- this.spellsDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.spellsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.spellsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.prepColumn,
- this.levelColumn,
- this.spellNameColumn,
- this.componentColumn,
- this.descColumn,
- this.editColumn,
- this.deleteColumn});
- this.spellsDataGridView.Location = new System.Drawing.Point(12, 221);
- this.spellsDataGridView.Name = "spellsDataGridView";
- this.spellsDataGridView.ReadOnly = true;
- this.spellsDataGridView.Size = new System.Drawing.Size(760, 329);
- this.spellsDataGridView.TabIndex = 24;
- //
// prepColumn
//
this.prepColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
@@ -759,31 +790,28 @@
// editColumn
//
this.editColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
+ dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle5.BackColor = System.Drawing.Color.Gray;
+ dataGridViewCellStyle5.NullValue = ((object)(resources.GetObject("dataGridViewCellStyle5.NullValue")));
+ this.editColumn.DefaultCellStyle = dataGridViewCellStyle5;
this.editColumn.HeaderText = "";
+ this.editColumn.Image = global::d20_SRD_Spell_Lists.Properties.Resources.edit_16;
this.editColumn.Name = "editColumn";
this.editColumn.ReadOnly = true;
- this.editColumn.Text = "Edit";
+ this.editColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.editColumn.ToolTipText = "Edit spell";
this.editColumn.Width = 5;
//
// deleteColumn
//
this.deleteColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
this.deleteColumn.HeaderText = "";
+ this.deleteColumn.Image = global::d20_SRD_Spell_Lists.Properties.Resources.editdelete_16;
this.deleteColumn.Name = "deleteColumn";
this.deleteColumn.ReadOnly = true;
- this.deleteColumn.Text = "Delete";
+ this.deleteColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.deleteColumn.Width = 5;
//
- // btnAdd
- //
- this.btnAdd.Location = new System.Drawing.Point(697, 192);
- this.btnAdd.Name = "btnAdd";
- this.btnAdd.Size = new System.Drawing.Size(75, 23);
- this.btnAdd.TabIndex = 25;
- this.btnAdd.Text = "Add Spell";
- this.btnAdd.UseVisualStyleBackColor = true;
- this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
- //
// FrmMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -873,14 +901,16 @@
private System.Windows.Forms.Label lblDC1;
private System.Windows.Forms.Label lblDC0;
private System.Windows.Forms.DataGridView spellsDataGridView;
+ private System.Windows.Forms.Button btnAdd;
private System.Windows.Forms.DataGridViewTextBoxColumn prepColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn levelColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn spellNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn componentColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn descColumn;
- private System.Windows.Forms.DataGridViewButtonColumn editColumn;
- private System.Windows.Forms.DataGridViewButtonColumn deleteColumn;
- private System.Windows.Forms.Button btnAdd;
+ private System.Windows.Forms.DataGridViewImageColumn editColumn;
+ private System.Windows.Forms.DataGridViewImageColumn deleteColumn;
+ private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn1;
+ private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn2;
}
}
diff --git a/d20 SRD Spell Lists/FrmMain.cs b/d20 SRD Spell Lists/FrmMain.cs
index b3c9d93..4584975 100644
--- a/d20 SRD Spell Lists/FrmMain.cs
+++ b/d20 SRD Spell Lists/FrmMain.cs
@@ -37,36 +37,6 @@ namespace d20_SRD_Spell_Lists {
this.spellsDataGridView.DataSource = character.Spells;
}
- //private void spellsDataGridView_CellValueChanged(object sender, DataGridViewCellEventArgs e) {
- // string question = "Should this update apply to just this character's spell list?";
- // string title = "Spell Update";
-
- // var result = MessageBox.Show(question, title, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question);
-
- // if (result == DialogResult.Yes) {
- // string newValue = spellsDataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex].FormattedValue.ToString();
- // Spell newSpell = spellsDataGridView.Rows[e.RowIndex].DataBoundItem as Spell;
- // // If it's a custom app spell already, hide that one for the character, then add the character spell.
- // if (newSpell.IsCustom) {
- // if (spellsDataGridView.Columns[e.ColumnIndex].HeaderText != "Name") {
- // spells.hideMasterSpellForCharacter("name", newSpell.Name);
- // } else {
- // spells.hideMasterSpellForCharacter("short_description", newSpell.ShortDescription);
- // }
- // spells.addCharacterSpell(newSpell, Character.getSpellcastingClass(charClassComboBox.SelectedItem.ToString()));
- // newSpell.IsCharCustom = true;
- // } else if (newSpell.IsCharCustom) {
- // // But what if it's already a character-specific spell?! ...then I just need to save it.
- // // ...so... does that mean do nothing?
- // }
- // } else if (result == DialogResult.No) {
- // Spell newSpell = spellsDataGridView.Rows[e.RowIndex].DataBoundItem as Spell;
- // if (newSpell.IsCharCustom) {
- // // It's a custom character spell, which means I should hide the chara
- // }
- // }
- //}
-
private void setupAttributes() {
txtSpellCastingAttribute.LostFocus += new EventHandler(txtSpellCastingAttribute_LostFocus);
txtSpellCastingAttribute_TextChanged(txtSpellCastingAttribute, new EventArgs());
@@ -221,5 +191,40 @@ namespace d20_SRD_Spell_Lists {
refreshSpellList();
}
}
+
+ private void spellsDataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e) {
+ if (isEditButtonCell(e)) {
+ Spell editItem = (Spell)spellsDataGridView.Rows[e.RowIndex].DataBoundItem;
+ FrmAddEdit editForm = new FrmAddEdit(true, character, editItem);
+ var result = editForm.ShowDialog();
+ if (result == System.Windows.Forms.DialogResult.OK) {
+ character.Spells[character.Spells.IndexOf(editItem)] = editForm.spell;
+ refreshSpellList();
+ }
+ } else if (isDeleteButtonCell(e)) {
+ Spell deleteItem = (Spell)spellsDataGridView.Rows[e.RowIndex].DataBoundItem;
+ string msg = "Are you sure you want to delete this spell from your character?";
+ string title = "Confirm";
+ var result = MessageBox.Show(msg, title, MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
+ if (result == System.Windows.Forms.DialogResult.Yes) {
+ character.Spells.Remove(deleteItem);
+ refreshSpellList();
+ }
+ }
+ }
+
+ private bool isDeleteButtonCell(DataGridViewCellEventArgs e) {
+ if (spellsDataGridView.Columns[e.ColumnIndex] is DataGridViewImageColumn && e.ColumnIndex == 6) {
+ return true;
+ }
+ return false;
+ }
+
+ private bool isEditButtonCell(DataGridViewCellEventArgs e) {
+ if (spellsDataGridView.Columns[e.ColumnIndex] is DataGridViewImageColumn && e.ColumnIndex == 5) {
+ return true;
+ }
+ return false;
+ }
}
}
diff --git a/d20 SRD Spell Lists/FrmMain.resx b/d20 SRD Spell Lists/FrmMain.resx
index f53cb10..62cb0a1 100644
--- a/d20 SRD Spell Lists/FrmMain.resx
+++ b/d20 SRD Spell Lists/FrmMain.resx
@@ -120,7 +120,48 @@
17, 17
+
+ 137, 17
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+
+ Qk32AgAAAAAAADYAAAAoAAAADgAAABAAAAABABgAAAAAAAAAAADEDgAAxA4AAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYGEgoTGw8bGw8bGw8bGw8bGw8bGw8bG
+ w8bGw8bGw8bGw8bGw8bGw8YAAAABgYSChP///////////////////////////////////////////8bD
+ xgAAAAGBhIKE////////////////////////////////////////////xsPGAAAAAYGEgoT/////////
+ ///////////////////////////////////Gw8YAAAABgYSChP//////////////////////////////
+ /////////////8bDxgAAAAGBhIKE////////////AAD/AAD/////////AAD/AAD/////////xsPGAAAA
+ AYGEgoT///////////////8AAP8AAP8AAP8AAP/////////////Gw8YAAAABgYSChP//////////////
+ /////wAA/wAA/////////////////8bDxgAAAAGBhIKE////////////////AAD/AAD/AAD/AAD/////
+ ////////xsPGAAAAAYGEgoT///////////8AAP8AAP////////8AAP8AAP/////////Gw8YAAAABgYSC
+ hP///////////////////////////////////////////8bDxgAAAAGBhIKE////////////////////
+ ////////////////////////xsPGAAAAAYGEgoT/////////////////////////////////////////
+ ///Gw8YAAAABgYSChP///////////////////////////////////////////8bDxgAAAAGBhIKEhIKE
+ hIKEhIKEhIKEhIKEhIKEhIKEhIKEhIKEhIKEhIKEhIKEhIKEAYE=
+
+
+
+ True
+
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
@@ -242,49 +283,4 @@
TkSuQmCC
-
- 137, 17
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/d20 SRD Spell Lists/Models/Spell.cs b/d20 SRD Spell Lists/Models/Spell.cs
index a4a9f67..7d25c87 100644
--- a/d20 SRD Spell Lists/Models/Spell.cs
+++ b/d20 SRD Spell Lists/Models/Spell.cs
@@ -7,7 +7,7 @@ using System.Text.RegularExpressions;
namespace d20_SRD_Spell_Lists.Models {
public class Spell {
- public bool IsPrepped { get; set; }
+ public string IsPrepped { get; set; }
public string Name { get; set; }
public string AltName { get; set; }
public string School { get; set; }
diff --git a/d20 SRD Spell Lists/Properties/Resources.Designer.cs b/d20 SRD Spell Lists/Properties/Resources.Designer.cs
index 92113df..562b259 100644
--- a/d20 SRD Spell Lists/Properties/Resources.Designer.cs
+++ b/d20 SRD Spell Lists/Properties/Resources.Designer.cs
@@ -9,8 +9,9 @@
//------------------------------------------------------------------------------
namespace d20_SRD_Spell_Lists.Properties {
-
-
+ using System;
+
+
///
/// A strongly-typed resource class, for looking up localized strings, etc.
///
@@ -22,29 +23,29 @@ namespace d20_SRD_Spell_Lists.Properties {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
-
+
private static global::System.Resources.ResourceManager resourceMan;
-
+
private static global::System.Globalization.CultureInfo resourceCulture;
-
+
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
-
+
///
/// Returns the cached ResourceManager instance used by this class.
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
- if ((resourceMan == null)) {
+ if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("d20_SRD_Spell_Lists.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
-
+
///
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
@@ -58,5 +59,33 @@ namespace d20_SRD_Spell_Lists.Properties {
resourceCulture = value;
}
}
+
+ internal static System.Drawing.Bitmap edit_16 {
+ get {
+ object obj = ResourceManager.GetObject("edit-16", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap edit_32 {
+ get {
+ object obj = ResourceManager.GetObject("edit_32", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap editdelete_16 {
+ get {
+ object obj = ResourceManager.GetObject("editdelete-16", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
+
+ internal static System.Drawing.Bitmap editdelete_32 {
+ get {
+ object obj = ResourceManager.GetObject("editdelete_32", resourceCulture);
+ return ((System.Drawing.Bitmap)(obj));
+ }
+ }
}
}
diff --git a/d20 SRD Spell Lists/Properties/Resources.resx b/d20 SRD Spell Lists/Properties/Resources.resx
index af7dbeb..07436f9 100644
--- a/d20 SRD Spell Lists/Properties/Resources.resx
+++ b/d20 SRD Spell Lists/Properties/Resources.resx
@@ -46,7 +46,7 @@
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
- : System.Serialization.Formatters.Binary.BinaryFormatter
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
@@ -60,6 +60,7 @@
: and then encoded with base64 encoding.
-->
+
@@ -68,9 +69,10 @@
-
+
+
@@ -85,9 +87,10 @@
-
+
+
@@ -109,9 +112,22 @@
2.0
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ..\Resources\editdelete-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\edit-32.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\edit-16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\editdelete-16.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
\ No newline at end of file
diff --git a/d20 SRD Spell Lists/Resources/edit-16.png b/d20 SRD Spell Lists/Resources/edit-16.png
new file mode 100644
index 0000000..c383e9b
Binary files /dev/null and b/d20 SRD Spell Lists/Resources/edit-16.png differ
diff --git a/d20 SRD Spell Lists/Resources/edit-256.png b/d20 SRD Spell Lists/Resources/edit-256.png
new file mode 100644
index 0000000..b9ecdfa
Binary files /dev/null and b/d20 SRD Spell Lists/Resources/edit-256.png differ
diff --git a/d20 SRD Spell Lists/Resources/edit-32.png b/d20 SRD Spell Lists/Resources/edit-32.png
new file mode 100644
index 0000000..26886d3
Binary files /dev/null and b/d20 SRD Spell Lists/Resources/edit-32.png differ
diff --git a/d20 SRD Spell Lists/Resources/editdelete-16.png b/d20 SRD Spell Lists/Resources/editdelete-16.png
new file mode 100644
index 0000000..3d02ffe
Binary files /dev/null and b/d20 SRD Spell Lists/Resources/editdelete-16.png differ
diff --git a/d20 SRD Spell Lists/Resources/editdelete-256.png b/d20 SRD Spell Lists/Resources/editdelete-256.png
new file mode 100644
index 0000000..e645617
Binary files /dev/null and b/d20 SRD Spell Lists/Resources/editdelete-256.png differ
diff --git a/d20 SRD Spell Lists/Resources/editdelete-32.png b/d20 SRD Spell Lists/Resources/editdelete-32.png
new file mode 100644
index 0000000..c94e211
Binary files /dev/null and b/d20 SRD Spell Lists/Resources/editdelete-32.png differ
diff --git a/d20 SRD Spell Lists/d20SRDSpellLists.csproj b/d20 SRD Spell Lists/d20SRDSpellLists.csproj
index bcb4b78..867c2c3 100644
--- a/d20 SRD Spell Lists/d20SRDSpellLists.csproj
+++ b/d20 SRD Spell Lists/d20SRDSpellLists.csproj
@@ -102,6 +102,7 @@
True
Resources.resx
+ True
@@ -122,6 +123,12 @@
Always
+
+
+
+
+
+