Spell components now show.
Signed-off-by: Melissa Avery <averymd@irrsinn.net>
This commit is contained in:
@@ -1 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?><character><spells><spell><name>Dummy Character Spell</name><short_description>A short description.</short_description></spell></spells></character>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<character>
|
||||||
|
<spells>
|
||||||
|
<spell>
|
||||||
|
<name>Dummy Character Spell</name>
|
||||||
|
<short_description>A short description.</short_description>
|
||||||
|
</spell>
|
||||||
|
</spells>
|
||||||
|
</character>
|
||||||
@@ -1 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?><spells><spell><name>Dummy Spell</name><short_description>A short description.</short_description></spell></spells>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<spells>
|
||||||
|
<spell>
|
||||||
|
<name>Dummy Spell</name>
|
||||||
|
<short_description>A short description.</short_description>
|
||||||
|
</spell>
|
||||||
|
</spells>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
646
d20 SRD Spell Lists/FrmMain.Designer.cs
generated
646
d20 SRD Spell Lists/FrmMain.Designer.cs
generated
@@ -1,322 +1,324 @@
|
|||||||
namespace d20_SRD_Spell_Lists {
|
namespace d20_SRD_Spell_Lists {
|
||||||
partial class FrmMain {
|
partial class FrmMain {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private System.ComponentModel.IContainer components = null;
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Clean up any resources being used.
|
/// Clean up any resources being used.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
protected override void Dispose(bool disposing) {
|
protected override void Dispose(bool disposing) {
|
||||||
if (disposing && (components != null)) {
|
if (disposing && (components != null)) {
|
||||||
components.Dispose();
|
components.Dispose();
|
||||||
}
|
}
|
||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent() {
|
private void InitializeComponent() {
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
||||||
this.mainTabControl = new System.Windows.Forms.TabControl();
|
this.mainTabControl = new System.Windows.Forms.TabControl();
|
||||||
this.spellListTab = new System.Windows.Forms.TabPage();
|
this.spellListTab = new System.Windows.Forms.TabPage();
|
||||||
this.spellsDataGridView = new System.Windows.Forms.DataGridView();
|
this.spellsDataGridView = new System.Windows.Forms.DataGridView();
|
||||||
this.classComboBox = new System.Windows.Forms.ComboBox();
|
this.classComboBox = new System.Windows.Forms.ComboBox();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.characterTab = new System.Windows.Forms.TabPage();
|
this.characterTab = new System.Windows.Forms.TabPage();
|
||||||
this.mainToolStrip = new System.Windows.Forms.ToolStrip();
|
this.mainToolStrip = new System.Windows.Forms.ToolStrip();
|
||||||
this.newToolStripButton = new System.Windows.Forms.ToolStripButton();
|
this.newToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||||
this.openToolStripButton = new System.Windows.Forms.ToolStripButton();
|
this.openToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||||
this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
|
this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||||
this.printToolStripButton = new System.Windows.Forms.ToolStripButton();
|
this.printToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.cutToolStripButton = new System.Windows.Forms.ToolStripButton();
|
this.cutToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||||
this.copyToolStripButton = new System.Windows.Forms.ToolStripButton();
|
this.copyToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||||
this.pasteToolStripButton = new System.Windows.Forms.ToolStripButton();
|
this.pasteToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.helpToolStripButton = new System.Windows.Forms.ToolStripButton();
|
this.helpToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||||
this.prepColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
this.prepColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||||
this.spellNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.spellNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.componentColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.componentColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.descColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.descColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.customColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
this.customColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||||
this.charCustomColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
this.charCustomColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||||
this.mainTabControl.SuspendLayout();
|
this.mainTabControl.SuspendLayout();
|
||||||
this.spellListTab.SuspendLayout();
|
this.spellListTab.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.spellsDataGridView)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.spellsDataGridView)).BeginInit();
|
||||||
this.mainToolStrip.SuspendLayout();
|
this.mainToolStrip.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// mainTabControl
|
// mainTabControl
|
||||||
//
|
//
|
||||||
this.mainTabControl.Controls.Add(this.spellListTab);
|
this.mainTabControl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||||
this.mainTabControl.Controls.Add(this.characterTab);
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.mainTabControl.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.mainTabControl.Controls.Add(this.spellListTab);
|
||||||
this.mainTabControl.Location = new System.Drawing.Point(0, 30);
|
this.mainTabControl.Controls.Add(this.characterTab);
|
||||||
this.mainTabControl.Multiline = true;
|
this.mainTabControl.Location = new System.Drawing.Point(0, 30);
|
||||||
this.mainTabControl.Name = "mainTabControl";
|
this.mainTabControl.Multiline = true;
|
||||||
this.mainTabControl.SelectedIndex = 0;
|
this.mainTabControl.Name = "mainTabControl";
|
||||||
this.mainTabControl.Size = new System.Drawing.Size(571, 375);
|
this.mainTabControl.SelectedIndex = 0;
|
||||||
this.mainTabControl.TabIndex = 0;
|
this.mainTabControl.Size = new System.Drawing.Size(784, 534);
|
||||||
//
|
this.mainTabControl.TabIndex = 0;
|
||||||
// spellListTab
|
//
|
||||||
//
|
// spellListTab
|
||||||
this.spellListTab.Controls.Add(this.spellsDataGridView);
|
//
|
||||||
this.spellListTab.Controls.Add(this.classComboBox);
|
this.spellListTab.Controls.Add(this.spellsDataGridView);
|
||||||
this.spellListTab.Controls.Add(this.label1);
|
this.spellListTab.Controls.Add(this.classComboBox);
|
||||||
this.spellListTab.Location = new System.Drawing.Point(4, 22);
|
this.spellListTab.Controls.Add(this.label1);
|
||||||
this.spellListTab.Name = "spellListTab";
|
this.spellListTab.Location = new System.Drawing.Point(4, 22);
|
||||||
this.spellListTab.Padding = new System.Windows.Forms.Padding(3);
|
this.spellListTab.Name = "spellListTab";
|
||||||
this.spellListTab.Size = new System.Drawing.Size(563, 349);
|
this.spellListTab.Padding = new System.Windows.Forms.Padding(3);
|
||||||
this.spellListTab.TabIndex = 0;
|
this.spellListTab.Size = new System.Drawing.Size(776, 508);
|
||||||
this.spellListTab.Text = "Spell List";
|
this.spellListTab.TabIndex = 0;
|
||||||
this.spellListTab.UseVisualStyleBackColor = true;
|
this.spellListTab.Text = "Spell List";
|
||||||
//
|
this.spellListTab.UseVisualStyleBackColor = true;
|
||||||
// spellsDataGridView
|
//
|
||||||
//
|
// spellsDataGridView
|
||||||
this.spellsDataGridView.AllowUserToOrderColumns = true;
|
//
|
||||||
this.spellsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
this.spellsDataGridView.AllowUserToOrderColumns = true;
|
||||||
this.spellsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
this.spellsDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||||
this.prepColumn,
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.spellNameColumn,
|
this.spellsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||||
this.componentColumn,
|
this.spellsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||||
this.descColumn,
|
this.prepColumn,
|
||||||
this.customColumn,
|
this.spellNameColumn,
|
||||||
this.charCustomColumn});
|
this.componentColumn,
|
||||||
this.spellsDataGridView.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.descColumn,
|
||||||
this.spellsDataGridView.Location = new System.Drawing.Point(3, 44);
|
this.customColumn,
|
||||||
this.spellsDataGridView.Name = "spellsDataGridView";
|
this.charCustomColumn});
|
||||||
this.spellsDataGridView.Size = new System.Drawing.Size(557, 302);
|
this.spellsDataGridView.Location = new System.Drawing.Point(3, 44);
|
||||||
this.spellsDataGridView.TabIndex = 2;
|
this.spellsDataGridView.Name = "spellsDataGridView";
|
||||||
//
|
this.spellsDataGridView.Size = new System.Drawing.Size(770, 461);
|
||||||
// classComboBox
|
this.spellsDataGridView.TabIndex = 2;
|
||||||
//
|
//
|
||||||
this.classComboBox.FormattingEnabled = true;
|
// classComboBox
|
||||||
this.classComboBox.Location = new System.Drawing.Point(49, 6);
|
//
|
||||||
this.classComboBox.Name = "classComboBox";
|
this.classComboBox.FormattingEnabled = true;
|
||||||
this.classComboBox.Size = new System.Drawing.Size(121, 21);
|
this.classComboBox.Location = new System.Drawing.Point(49, 6);
|
||||||
this.classComboBox.TabIndex = 1;
|
this.classComboBox.Name = "classComboBox";
|
||||||
this.classComboBox.Text = "Choose a class:";
|
this.classComboBox.Size = new System.Drawing.Size(121, 21);
|
||||||
//
|
this.classComboBox.TabIndex = 1;
|
||||||
// label1
|
this.classComboBox.Text = "Choose a class:";
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
// label1
|
||||||
this.label1.Location = new System.Drawing.Point(6, 9);
|
//
|
||||||
this.label1.Name = "label1";
|
this.label1.AutoSize = true;
|
||||||
this.label1.Size = new System.Drawing.Size(35, 13);
|
this.label1.Location = new System.Drawing.Point(6, 9);
|
||||||
this.label1.TabIndex = 0;
|
this.label1.Name = "label1";
|
||||||
this.label1.Text = "Class:";
|
this.label1.Size = new System.Drawing.Size(35, 13);
|
||||||
//
|
this.label1.TabIndex = 0;
|
||||||
// characterTab
|
this.label1.Text = "Class:";
|
||||||
//
|
//
|
||||||
this.characterTab.Location = new System.Drawing.Point(4, 22);
|
// characterTab
|
||||||
this.characterTab.Name = "characterTab";
|
//
|
||||||
this.characterTab.Padding = new System.Windows.Forms.Padding(3);
|
this.characterTab.Location = new System.Drawing.Point(4, 22);
|
||||||
this.characterTab.Size = new System.Drawing.Size(563, 349);
|
this.characterTab.Name = "characterTab";
|
||||||
this.characterTab.TabIndex = 1;
|
this.characterTab.Padding = new System.Windows.Forms.Padding(3);
|
||||||
this.characterTab.Text = "Character";
|
this.characterTab.Size = new System.Drawing.Size(563, 349);
|
||||||
this.characterTab.UseVisualStyleBackColor = true;
|
this.characterTab.TabIndex = 1;
|
||||||
//
|
this.characterTab.Text = "Character";
|
||||||
// mainToolStrip
|
this.characterTab.UseVisualStyleBackColor = true;
|
||||||
//
|
//
|
||||||
this.mainToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
// mainToolStrip
|
||||||
this.newToolStripButton,
|
//
|
||||||
this.openToolStripButton,
|
this.mainToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.saveToolStripButton,
|
this.newToolStripButton,
|
||||||
this.printToolStripButton,
|
this.openToolStripButton,
|
||||||
this.toolStripSeparator,
|
this.saveToolStripButton,
|
||||||
this.cutToolStripButton,
|
this.printToolStripButton,
|
||||||
this.copyToolStripButton,
|
this.toolStripSeparator,
|
||||||
this.pasteToolStripButton,
|
this.cutToolStripButton,
|
||||||
this.toolStripSeparator1,
|
this.copyToolStripButton,
|
||||||
this.helpToolStripButton});
|
this.pasteToolStripButton,
|
||||||
this.mainToolStrip.Location = new System.Drawing.Point(0, 0);
|
this.toolStripSeparator1,
|
||||||
this.mainToolStrip.Name = "mainToolStrip";
|
this.helpToolStripButton});
|
||||||
this.mainToolStrip.Size = new System.Drawing.Size(571, 25);
|
this.mainToolStrip.Location = new System.Drawing.Point(0, 0);
|
||||||
this.mainToolStrip.TabIndex = 1;
|
this.mainToolStrip.Name = "mainToolStrip";
|
||||||
//
|
this.mainToolStrip.Size = new System.Drawing.Size(784, 25);
|
||||||
// newToolStripButton
|
this.mainToolStrip.TabIndex = 1;
|
||||||
//
|
//
|
||||||
this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
// newToolStripButton
|
||||||
this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
|
//
|
||||||
this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.newToolStripButton.Name = "newToolStripButton";
|
this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
|
||||||
this.newToolStripButton.Size = new System.Drawing.Size(23, 22);
|
this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.newToolStripButton.Text = "&New";
|
this.newToolStripButton.Name = "newToolStripButton";
|
||||||
//
|
this.newToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||||
// openToolStripButton
|
this.newToolStripButton.Text = "&New";
|
||||||
//
|
//
|
||||||
this.openToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
// openToolStripButton
|
||||||
this.openToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image")));
|
//
|
||||||
this.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.openToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.openToolStripButton.Name = "openToolStripButton";
|
this.openToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image")));
|
||||||
this.openToolStripButton.Size = new System.Drawing.Size(23, 22);
|
this.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.openToolStripButton.Text = "&Open";
|
this.openToolStripButton.Name = "openToolStripButton";
|
||||||
//
|
this.openToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||||
// saveToolStripButton
|
this.openToolStripButton.Text = "&Open";
|
||||||
//
|
//
|
||||||
this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
// saveToolStripButton
|
||||||
this.saveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
|
//
|
||||||
this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.saveToolStripButton.Name = "saveToolStripButton";
|
this.saveToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
|
||||||
this.saveToolStripButton.Size = new System.Drawing.Size(23, 22);
|
this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.saveToolStripButton.Text = "&Save";
|
this.saveToolStripButton.Name = "saveToolStripButton";
|
||||||
//
|
this.saveToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||||
// printToolStripButton
|
this.saveToolStripButton.Text = "&Save";
|
||||||
//
|
//
|
||||||
this.printToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
// printToolStripButton
|
||||||
this.printToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image")));
|
//
|
||||||
this.printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.printToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.printToolStripButton.Name = "printToolStripButton";
|
this.printToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image")));
|
||||||
this.printToolStripButton.Size = new System.Drawing.Size(23, 22);
|
this.printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.printToolStripButton.Text = "&Print";
|
this.printToolStripButton.Name = "printToolStripButton";
|
||||||
//
|
this.printToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||||
// toolStripSeparator
|
this.printToolStripButton.Text = "&Print";
|
||||||
//
|
//
|
||||||
this.toolStripSeparator.Name = "toolStripSeparator";
|
// toolStripSeparator
|
||||||
this.toolStripSeparator.Size = new System.Drawing.Size(6, 25);
|
//
|
||||||
//
|
this.toolStripSeparator.Name = "toolStripSeparator";
|
||||||
// cutToolStripButton
|
this.toolStripSeparator.Size = new System.Drawing.Size(6, 25);
|
||||||
//
|
//
|
||||||
this.cutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
// cutToolStripButton
|
||||||
this.cutToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripButton.Image")));
|
//
|
||||||
this.cutToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.cutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.cutToolStripButton.Name = "cutToolStripButton";
|
this.cutToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripButton.Image")));
|
||||||
this.cutToolStripButton.Size = new System.Drawing.Size(23, 22);
|
this.cutToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.cutToolStripButton.Text = "C&ut";
|
this.cutToolStripButton.Name = "cutToolStripButton";
|
||||||
//
|
this.cutToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||||
// copyToolStripButton
|
this.cutToolStripButton.Text = "C&ut";
|
||||||
//
|
//
|
||||||
this.copyToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
// copyToolStripButton
|
||||||
this.copyToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripButton.Image")));
|
//
|
||||||
this.copyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.copyToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.copyToolStripButton.Name = "copyToolStripButton";
|
this.copyToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("copyToolStripButton.Image")));
|
||||||
this.copyToolStripButton.Size = new System.Drawing.Size(23, 22);
|
this.copyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.copyToolStripButton.Text = "&Copy";
|
this.copyToolStripButton.Name = "copyToolStripButton";
|
||||||
//
|
this.copyToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||||
// pasteToolStripButton
|
this.copyToolStripButton.Text = "&Copy";
|
||||||
//
|
//
|
||||||
this.pasteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
// pasteToolStripButton
|
||||||
this.pasteToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripButton.Image")));
|
//
|
||||||
this.pasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.pasteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.pasteToolStripButton.Name = "pasteToolStripButton";
|
this.pasteToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("pasteToolStripButton.Image")));
|
||||||
this.pasteToolStripButton.Size = new System.Drawing.Size(23, 22);
|
this.pasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.pasteToolStripButton.Text = "&Paste";
|
this.pasteToolStripButton.Name = "pasteToolStripButton";
|
||||||
//
|
this.pasteToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||||
// toolStripSeparator1
|
this.pasteToolStripButton.Text = "&Paste";
|
||||||
//
|
//
|
||||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
// toolStripSeparator1
|
||||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
//
|
||||||
//
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||||
// helpToolStripButton
|
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||||
//
|
//
|
||||||
this.helpToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
// helpToolStripButton
|
||||||
this.helpToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("helpToolStripButton.Image")));
|
//
|
||||||
this.helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.helpToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.helpToolStripButton.Name = "helpToolStripButton";
|
this.helpToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("helpToolStripButton.Image")));
|
||||||
this.helpToolStripButton.Size = new System.Drawing.Size(23, 22);
|
this.helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.helpToolStripButton.Text = "He&lp";
|
this.helpToolStripButton.Name = "helpToolStripButton";
|
||||||
//
|
this.helpToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||||
// prepColumn
|
this.helpToolStripButton.Text = "He&lp";
|
||||||
//
|
//
|
||||||
this.prepColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
// prepColumn
|
||||||
this.prepColumn.DataPropertyName = "IsPrepped";
|
//
|
||||||
this.prepColumn.HeaderText = "Prep?";
|
this.prepColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||||
this.prepColumn.Name = "prepColumn";
|
this.prepColumn.DataPropertyName = "IsPrepped";
|
||||||
this.prepColumn.Width = 41;
|
this.prepColumn.HeaderText = "Prep?";
|
||||||
//
|
this.prepColumn.Name = "prepColumn";
|
||||||
// spellNameColumn
|
this.prepColumn.Width = 41;
|
||||||
//
|
//
|
||||||
this.spellNameColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
|
// spellNameColumn
|
||||||
this.spellNameColumn.DataPropertyName = "Name";
|
//
|
||||||
this.spellNameColumn.HeaderText = "Name";
|
this.spellNameColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
|
||||||
this.spellNameColumn.Name = "spellNameColumn";
|
this.spellNameColumn.DataPropertyName = "Name";
|
||||||
this.spellNameColumn.Width = 60;
|
this.spellNameColumn.HeaderText = "Name";
|
||||||
//
|
this.spellNameColumn.Name = "spellNameColumn";
|
||||||
// componentColumn
|
this.spellNameColumn.Width = 60;
|
||||||
//
|
//
|
||||||
this.componentColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
// componentColumn
|
||||||
this.componentColumn.DataPropertyName = "Components";
|
//
|
||||||
this.componentColumn.HeaderText = "Comp";
|
this.componentColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||||
this.componentColumn.Name = "componentColumn";
|
this.componentColumn.DataPropertyName = "Components";
|
||||||
this.componentColumn.Width = 59;
|
this.componentColumn.HeaderText = "Comp";
|
||||||
//
|
this.componentColumn.Name = "componentColumn";
|
||||||
// descColumn
|
this.componentColumn.Width = 59;
|
||||||
//
|
//
|
||||||
this.descColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
// descColumn
|
||||||
this.descColumn.DataPropertyName = "ShortDescription";
|
//
|
||||||
this.descColumn.HeaderText = "Description";
|
this.descColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
||||||
this.descColumn.Name = "descColumn";
|
this.descColumn.DataPropertyName = "ShortDescription";
|
||||||
//
|
this.descColumn.HeaderText = "Description";
|
||||||
// customColumn
|
this.descColumn.Name = "descColumn";
|
||||||
//
|
//
|
||||||
this.customColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
// customColumn
|
||||||
this.customColumn.DataPropertyName = "IsCustom";
|
//
|
||||||
this.customColumn.HeaderText = "A?";
|
this.customColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||||
this.customColumn.Name = "customColumn";
|
this.customColumn.DataPropertyName = "IsCustom";
|
||||||
this.customColumn.ReadOnly = true;
|
this.customColumn.HeaderText = "Custom?";
|
||||||
this.customColumn.Width = 26;
|
this.customColumn.Name = "customColumn";
|
||||||
//
|
this.customColumn.ReadOnly = true;
|
||||||
// charCustomColumn
|
this.customColumn.Width = 54;
|
||||||
//
|
//
|
||||||
this.charCustomColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
// charCustomColumn
|
||||||
this.charCustomColumn.DataPropertyName = "IsCharCustom";
|
//
|
||||||
this.charCustomColumn.HeaderText = "C";
|
this.charCustomColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||||
this.charCustomColumn.Name = "charCustomColumn";
|
this.charCustomColumn.DataPropertyName = "IsCharCustom";
|
||||||
this.charCustomColumn.ReadOnly = true;
|
this.charCustomColumn.HeaderText = "Char?";
|
||||||
this.charCustomColumn.Width = 20;
|
this.charCustomColumn.Name = "charCustomColumn";
|
||||||
//
|
this.charCustomColumn.ReadOnly = true;
|
||||||
// FrmMain
|
this.charCustomColumn.Width = 41;
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
// FrmMain
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
//
|
||||||
this.ClientSize = new System.Drawing.Size(571, 405);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.Controls.Add(this.mainToolStrip);
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.Controls.Add(this.mainTabControl);
|
this.ClientSize = new System.Drawing.Size(784, 562);
|
||||||
this.Name = "FrmMain";
|
this.Controls.Add(this.mainToolStrip);
|
||||||
this.Text = "D&D 3.5 SRD Spell Lists";
|
this.Controls.Add(this.mainTabControl);
|
||||||
this.mainTabControl.ResumeLayout(false);
|
this.Name = "FrmMain";
|
||||||
this.spellListTab.ResumeLayout(false);
|
this.Text = "D&D 3.5 SRD Spell Lists";
|
||||||
this.spellListTab.PerformLayout();
|
this.mainTabControl.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.spellsDataGridView)).EndInit();
|
this.spellListTab.ResumeLayout(false);
|
||||||
this.mainToolStrip.ResumeLayout(false);
|
this.spellListTab.PerformLayout();
|
||||||
this.mainToolStrip.PerformLayout();
|
((System.ComponentModel.ISupportInitialize)(this.spellsDataGridView)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.mainToolStrip.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.mainToolStrip.PerformLayout();
|
||||||
|
this.ResumeLayout(false);
|
||||||
}
|
this.PerformLayout();
|
||||||
|
|
||||||
#endregion
|
}
|
||||||
|
|
||||||
private System.Windows.Forms.TabControl mainTabControl;
|
#endregion
|
||||||
private System.Windows.Forms.TabPage spellListTab;
|
|
||||||
private System.Windows.Forms.TabPage characterTab;
|
private System.Windows.Forms.TabControl mainTabControl;
|
||||||
private System.Windows.Forms.ToolStrip mainToolStrip;
|
private System.Windows.Forms.TabPage spellListTab;
|
||||||
private System.Windows.Forms.ToolStripButton newToolStripButton;
|
private System.Windows.Forms.TabPage characterTab;
|
||||||
private System.Windows.Forms.ToolStripButton openToolStripButton;
|
private System.Windows.Forms.ToolStrip mainToolStrip;
|
||||||
private System.Windows.Forms.ToolStripButton saveToolStripButton;
|
private System.Windows.Forms.ToolStripButton newToolStripButton;
|
||||||
private System.Windows.Forms.ToolStripButton printToolStripButton;
|
private System.Windows.Forms.ToolStripButton openToolStripButton;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
|
private System.Windows.Forms.ToolStripButton saveToolStripButton;
|
||||||
private System.Windows.Forms.ToolStripButton cutToolStripButton;
|
private System.Windows.Forms.ToolStripButton printToolStripButton;
|
||||||
private System.Windows.Forms.ToolStripButton copyToolStripButton;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
|
||||||
private System.Windows.Forms.ToolStripButton pasteToolStripButton;
|
private System.Windows.Forms.ToolStripButton cutToolStripButton;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
private System.Windows.Forms.ToolStripButton copyToolStripButton;
|
||||||
private System.Windows.Forms.ToolStripButton helpToolStripButton;
|
private System.Windows.Forms.ToolStripButton pasteToolStripButton;
|
||||||
private System.Windows.Forms.ComboBox classComboBox;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.ToolStripButton helpToolStripButton;
|
||||||
private System.Windows.Forms.DataGridView spellsDataGridView;
|
private System.Windows.Forms.ComboBox classComboBox;
|
||||||
private System.Windows.Forms.DataGridViewCheckBoxColumn prepColumn;
|
private System.Windows.Forms.Label label1;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn spellNameColumn;
|
private System.Windows.Forms.DataGridView spellsDataGridView;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn componentColumn;
|
private System.Windows.Forms.DataGridViewCheckBoxColumn prepColumn;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn descColumn;
|
private System.Windows.Forms.DataGridViewTextBoxColumn spellNameColumn;
|
||||||
private System.Windows.Forms.DataGridViewCheckBoxColumn customColumn;
|
private System.Windows.Forms.DataGridViewTextBoxColumn componentColumn;
|
||||||
private System.Windows.Forms.DataGridViewCheckBoxColumn charCustomColumn;
|
private System.Windows.Forms.DataGridViewTextBoxColumn descColumn;
|
||||||
}
|
private System.Windows.Forms.DataGridViewCheckBoxColumn customColumn;
|
||||||
}
|
private System.Windows.Forms.DataGridViewCheckBoxColumn charCustomColumn;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,40 +1,40 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using d20_SRD_Spell_Lists.Models;
|
using d20_SRD_Spell_Lists.Models;
|
||||||
|
|
||||||
namespace d20_SRD_Spell_Lists {
|
namespace d20_SRD_Spell_Lists {
|
||||||
public partial class FrmMain : Form {
|
public partial class FrmMain : Form {
|
||||||
private SpellSet spells;
|
private SpellSet spells;
|
||||||
private Character character;
|
private Character character;
|
||||||
|
|
||||||
public FrmMain() {
|
public FrmMain() {
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
character = new Character();
|
character = new Character();
|
||||||
spells = new SpellSet();
|
spells = new SpellSet();
|
||||||
spellsDataGridView.AutoGenerateColumns = false;
|
spellsDataGridView.AutoGenerateColumns = false;
|
||||||
|
|
||||||
setupClassList();
|
setupClassList();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setupClassList() {
|
private void setupClassList() {
|
||||||
classComboBox.DataSource = Character.ClassNames;
|
classComboBox.DataSource = Character.ClassNames;
|
||||||
classComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
|
classComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
|
||||||
classComboBox.SelectedIndexChanged += new System.EventHandler(classComboBox_SelectedIndexChanged);
|
classComboBox.SelectedIndexChanged += new System.EventHandler(classComboBox_SelectedIndexChanged);
|
||||||
classComboBox_SelectedIndexChanged(classComboBox, new EventArgs());
|
classComboBox_SelectedIndexChanged(classComboBox, new EventArgs());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void classComboBox_SelectedIndexChanged(object sender, EventArgs e) {
|
private void classComboBox_SelectedIndexChanged(object sender, EventArgs e) {
|
||||||
ComboBox classList = (ComboBox)sender;
|
ComboBox classList = (ComboBox)sender;
|
||||||
|
|
||||||
string charClass = classList.SelectedItem.ToString();
|
string charClass = classList.SelectedItem.ToString();
|
||||||
this.spellsDataGridView.DataSource = spells.byClass((Character.SpellCastingClasses)Enum.Parse(typeof(Character.SpellCastingClasses), charClass, true));
|
this.spellsDataGridView.DataSource = spells.byClass((Character.SpellCastingClasses)Enum.Parse(typeof(Character.SpellCastingClasses), charClass, true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,263 +1,259 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
|
|
||||||
Version 2.0
|
Version 2.0
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
The primary goals of this format is to allow a simple XML format
|
||||||
that is mostly human readable. The generation and parsing of the
|
that is mostly human readable. The generation and parsing of the
|
||||||
various data types are done through the TypeConverter classes
|
various data types are done through the TypeConverter classes
|
||||||
associated with the data types.
|
associated with the data types.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
<comment>This is a comment</comment>
|
<comment>This is a comment</comment>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
There are any number of "resheader" rows that contain simple
|
||||||
name/value pairs.
|
name/value pairs.
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
Each data row contains a name, and value. The row also contains a
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
text/value conversion through the TypeConverter architecture.
|
text/value conversion through the TypeConverter architecture.
|
||||||
Classes that don't support this are serialized and stored with the
|
Classes that don't support this are serialized and stored with the
|
||||||
mimetype set.
|
mimetype set.
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
The mimetype is used for serialized objects, and tells the
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
read any of the formats listed below.
|
read any of the formats listed below.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
value : The object must be serialized into a byte array
|
value : The object must be serialized into a byte array
|
||||||
: using a System.ComponentModel.TypeConverter
|
: using a System.ComponentModel.TypeConverter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
-->
|
-->
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:choice maxOccurs="unbounded">
|
<xsd:choice maxOccurs="unbounded">
|
||||||
<xsd:element name="metadata">
|
<xsd:element name="metadata">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
<xsd:attribute ref="xml:space" />
|
<xsd:attribute ref="xml:space" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="assembly">
|
<xsd:element name="assembly">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="data">
|
<xsd:element name="data">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
<xsd:attribute ref="xml:space" />
|
<xsd:attribute ref="xml:space" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="resheader">
|
<xsd:element name="resheader">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:choice>
|
</xsd:choice>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:schema>
|
</xsd:schema>
|
||||||
<resheader name="resmimetype">
|
<resheader name="resmimetype">
|
||||||
<value>text/microsoft-resx</value>
|
<value>text/microsoft-resx</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="version">
|
<resheader name="version">
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<resheader name="reader">
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<metadata name="prepColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="prepColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="spellNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="spellNameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="componentColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="componentColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="descColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="descColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="customColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="customColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="charCustomColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="charCustomColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="mainToolStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="mainToolStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<data name="newToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="newToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAQ9JREFUOE+t09lq
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEPSURBVDhPrdPZasJAFAZgX8q+Q32N9o2kXkjphQsigoJC
|
||||||
wkAUBmBfyr5DfY32jaReSOmFCyKCgkKLFrVUBZeKiEbshqRuaNw1xiXmLxMJBJ0Zc+GBw9zMfDPnHMZm
|
ixa1VAWXiohG7IakbmjcNcYl5i8TCQSdGXPhgcPczHwz5xzGZrtWRN+bOM1wqo5gvAJfrIBy4w/cu8hh
|
||||||
u1ZE35s4zXCqjmC8Al+sgHLjD9y7yGFWPIbecOO45yORtMAEHnxxJHL1IyKI9JeEXqtMwOl50Q8bSS0l
|
VjyG3nDjuOcjkbTABB58cSRy9SMiiPSXhF6rTMDpedEPG0ktJfD8wQT26gEEMSAq4I3mqYCmaZCVHQZj
|
||||||
8PzBBPbqAQQxICrgjeapgKZpkJUdBmNZB+y3d/QSnsIZKrDdqZjMFYj9OR9wB1NngHrQsJC36EkrfIkT
|
WQfst3f0Ep7CGSqw3amYzBWI/TkfcAdTZ4B60LCQt+hJK3yJEz7g8ifOAGWzhzRdo9WdofYt8QFSnzlI
|
||||||
PuDyJ84AZbOHNF2j1Z2h9i3xAVKfOUjjZssN2oMFmq0xSkLfOmBu3E97iurnENlKxzpgbpzwO0Kh1kOy
|
42bLDdqDBZqtMUpC3zpgbtxPe4rq5xDZSsc6YG6c8DtCodZDsihaA4x5s1bmGI0Zkw2X8lofWHf+AdjM
|
||||||
KFoDjHmzVuYYjRmTDZfyWh9Yd/4B2Mz2w1z7EGUAAAAASUVORK5CYII=
|
9sNc+xBlAAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="openToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="openToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAlpJREFUOE+tk21I
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJQSURBVDhPlZNdSNNRGMb/F110ZZEVhVBgeeHNICiiuggp
|
||||||
k1EYhif0oyA0sqIQCix/+GcQFFH9CCmiUBTLLEjShJofVBgL2fxoU9Pp5ubUlS5rU9f8rCyjsA+pUCRC
|
olAUyyxI0oSaH1QYC3N+tKnp5ubm1JUua5uuqdPKMgr7kApFItTUkWZqVhSVYmao5Nev/xyoQ4k88Nyc
|
||||||
TR1ppmVFUSlmhq78unrnQF1KGHTg/nEOz30993PO+7qJFrmUeiv2n+Mij+XLRLLYULdF2pxlEVIDcw0p
|
8z6/93nP4QjCfy6lwc4ltZVso4P/tMyXRcmMHqZ0EeY6jZQVInzuf0e1Tb9Ina3P/tkpLD6XkNg8BJe5
|
||||||
AsyxD5fmI/rQ94pqi26eOlsfuZj+7BgSm01QdA4ih7m73Yx9qGpavwatjPebqCzOprPt8YKQgzFagqL0
|
u93C+HDVrP4M2ZkcMOOw5tLZ9nxJyJE4HSExBoKkBQhVpTrGhso9zNPfiph0JlB+U01ZcRbmwnRMeWlc
|
||||||
BEjyEFWVaBkdLHMxT34uYNwWR9nVTEoL0zHlp2DMSeaSRk6eKt4VWm5WM/rVPNN5SjDTLQebZEHNA1wr
|
08opUCV6QissGsZ+WOY6z4hmuuXglC6pRYBbJSp+fzXNxnaZ66o1s3rkyKHWruJuWRYOcwZ2kxKr8TI3
|
||||||
UvHjk3E6tsNcV62e1r3KLGqtKm6WplNpSsVqVFJsOM8VfSKFWjkGtcyZptSYzvC7XByx3zQoqCnTMvlG
|
DCkU6+QYNUnuNGWmLEY+5uOK3degoKZcx3SfEvozPfVB3OtNhi4ZvI2nrTIc23U9gtmYwa8eNXzScq8i
|
||||||
CX1prnornPUmQJcUXsbSVhGK5bIOkcmQyveeTHiv4VZ5Nk33Nc6iuSO8CIfmECYa/bE/8ON1iRipJNh5
|
l6bHWnfRwhHeREJzGFONgYw/CeB9qQSZNNR9FyUGBT87lfQ3plJj1zLTq4COGDegLVo0HmeqKZjx+gOM
|
||||||
F0V6Bd86lfQ1JlFj1TDVq4COKCegLVIwHmGiKRB7/V6G7+5koHozymgfYRy5E1CgTWKgXcZ1i5qWp0KS
|
PNzDYPU2lLF+4jhyN6BIl8pgexK3bRpaXopJuhJEwGloiWDmVSgTLw4xWreXoZrtfK/wp/nKak4E+s6/
|
||||||
rjgBcAJawph6FszYk/2M1O1isGYLX8p9ab6wgqP+3rMvYciS01GfzA1LFvQkQ6sQ9/khxhoCGHnox1Dt
|
hDFHTkd9GndsOdCTBq1i3NdHmWgIYvRpAMO1OxlwSPhi2YpT641CuoWzsSfnAfnZiVRZ1Tjvx9GsF+bU
|
||||||
NvorxXw0b8Km8UQh2cip6GOzgNyMeKqKM7HdjqFZJ5pRk2YJ9aql3EnxoCJxNaZ4Ly6e3UDY3O6OEXRp
|
pF1BvWolD9JXUZmyDnOiD1cvbCZiYXfXCPrMi+gVZ8hOiiL53DHORwdzKnw/hw/uYt9uCTskfvj7+rBp
|
||||||
59ApTpIhiyDh9GHORAZyPHQPB/ZtZ/cOMVvFPvh6e7F+3SrWrHRnraf7Xz/xf/rJ/kvxb84I3U1y+9/W
|
41rWr/Fig7fX8j/Tsn/fcgx/ARfG3ml6M3rzAAAAAElFTkSuQmCC
|
||||||
AAAAAElFTkSuQmCC
|
</value>
|
||||||
</value>
|
</data>
|
||||||
</data>
|
<data name="saveToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<data name="saveToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<value>
|
||||||
<value>
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIsSURBVDhPrZPdS5NxFMf3L3TfTdBFtzU1hmuxGjzlHMqq
|
||||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAixJREFUOE+tk91L
|
YVgRvT2RL+XSZZqoWJlGLV8gW+HSScvpJJxU+AamSI2hTCVLM1e0xKGm2EQw+PY7v+j5tTIvoh+cy8/n
|
||||||
k3EUx/cvdN9N0EW3NTWGa7EaPOUcyqphWBG9PZEv5dJlmqhYmUYtXyBb4dJJy+kknFT4BqZIjaFMJUsz
|
POec76NS/Y/37GkUVL72ZbR5l/DYvYDGhgjuO2ZQW/MJ9tsh3CifQmnJBAoLXiMvdxQXzgeh9Cawtweo
|
||||||
V7TEoabYRDD49ju/6Pm1Mi+iH5zLz+c855zvo1L9j/fsaRRUvvZltHmX8Ni9gMaGCO47ZlBb8wn22yHc
|
qV7FRm9ldQ3GtF4cTnvCSxF4Wxe5oLLiy195giMLK9htfg61WoblkEcI3I/muaC05PO6gp/w+/Ai4kw+
|
||||||
KJ9CackECgteIy93FBfOB6H0JrC3B6ipXsVGb2V1Dca0XhxOe8JLEXhbF7mgsuLLX3mCIwsr2G1+DrVa
|
FFyexgFzkxA462e54JLt3R+CX+GRyQi2SV5Yc8aRmuIUgrq7YS7IzhqNEfwODwbD2Kx3Q5YDMJkcQlBd
|
||||||
huWQRwjcj+a5oLTk87qCn/D78CLiTD4UXJ7GAXOTEDjrZ7ngku3dH4Jf4ZHJCLZJXlhzxpGa4hSCurth
|
9ZEL5DMBRbAe3OP/gE2JDThy9AWSkmqF4GblNLq7wE4JHD/5CpZjA3zbtDCamT6bOv+A+3DQ0glJsgvB
|
||||||
LsjOGo0R/A4PBsPYrHdDlgMwmRxCUF31kQvkMwFFsB7c4/+ATYkNOHL0BZKSaoXgZuU0urvATgkcP/kK
|
1bJJdPjAMgA0ub6xu39F+fU5vlRaGM2cmRFU4OTUdhgMFUJwpXAcnmbgoXONBScKY3pOTJlP2JB+roh3
|
||||||
lmMDfNu0MJqZPps6/4D7cNDSCUmyC8HVskl0+MAyADS5vrG7f0X59Tm+VFoYzZyZEVTg5NR2GAwVQnCl
|
Tk5h8H4P9PoyIbDljTEYqLoT5Z1JwEKCOK2EobezGJuag5x7DXuNbRzW7nFBpysSAoql4x6UzyYBwWfz
|
||||||
cByeZuChc40FJwpjek5MmU/YkH6uiHdOTmHwfg/0+jIhsOWNMRiouhPlnUnAQoI4rYSht7MYm5qDnHsN
|
b+FNaB6hmSVcLLYjXu9icCPidz2ANjFfCDIzhtncy3zmrQYPtuyQ0NLRD1/XILr7/Bh4OYR9JgvUunok
|
||||||
e41tHNbucUGnKxICiqXjHpTPJgHBZ/Nv4U1oHqGZJVwstiNe72JwI+J3PYA2MV8IMjOG2dzLfOatBg+2
|
MHi7pg4ajVUIKNOnT/XzeFLCKCR0ZzoVbZsWRjNTVyqCdyZkxwr+9a/+Dk60OMVjMFpXAAAAAElFTkSu
|
||||||
7JDQ0tEPX9cguvv8GHg5hH0mC9S6eiQweLumDhqNVQgo06dP9fN4UsIoJHRnOhVtmxZGM1NXKoJ3JmTH
|
QmCC
|
||||||
Cv71r/4OTrQ4xWMwWlcAAAAASUVORK5CYII=
|
</value>
|
||||||
</value>
|
</data>
|
||||||
</data>
|
<data name="printToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<data name="printToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<value>
|
||||||
<value>
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAItSURBVDhPtZP/T1JRGMb9p1itrVZbbRpqZbawnBENV1I0
|
||||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAi1JREFUOE+1k/9P
|
jGlByTSyKTXJwq2oKZQb1KAv6JCYWSxvdsklKVPETSAnSIQIqBBfnu69VGTA1tY62/vLe8/zfN77nHPK
|
||||||
UlEYxv2nWK2tVlttGmpltrCcEQ1XUjSMaUHJNLIpNcnCragplBvUoC/okJhZLG92ySUpU8RNICdIhAio
|
yv7HcnmCML6aKVmG0WmU5NLiMdKNP1fyWxre5VU8MU+giispbaC3fMRmIoUv4Shs9lmmnllJ6EwE7DM+
|
||||||
EF+e7r1UZMDW1jrb+8t7z/N83vucc8rK/sdyeYIwvpopWYbRaZTk0uIx0o0/V/JbGt7lVTwxT6CKKylt
|
1As7cfRMe3GDd45FEFOLW+A0eS2WgHMhAIOFROWJSzBZiUKDUCQOtYFAOpOFzx/aQjfbPoGc9qKuSY5a
|
||||||
oLd8xGYihS/hKGz2WaaeWUnoTATsMz7UCztx9Ex7cYN3jkUQU4tb4DR5LZaAcyEAg4VE5YlLMFmJQoNQ
|
vgw31M9xW2vOmzhmPYx4lHQxdJr6k+wPxeHyhHBPZ2X+XdYziAeGcVSdlOYMnPM+9GpHoDF9wF29DQ9f
|
||||||
JA61gUA6k4XPH9pCN9s+gZz2oq5Jjlq+DDfUz3Fba86bOGY9jHiUdDF0mvqT7A/F4fKEcE9nZf5d1jOI
|
vEevxoL2W3qIOtTgNitwgNpcUd+CY2evQdk/BLFcjf0NF3MGNwdeIhpPFKRON1LpDDaoQOkMguENLK3E
|
||||||
B4ZxVJ2U5gyc8z70akegMX3AXb0ND1+8R6/GgvZbeog61OA2K3CA2lxR34JjZ69B2T8EsVyN/Q0XcwY3
|
IO3WoLG1h5rgx0nI+4wwvZ7CU6sdGuMY7miH0al6DEl3P4RtKvAuKMBp6sBBnhTlx8U4R/XqBFexu1aY
|
||||||
B14iGk8UpE43UukMNqhA6QyC4Q0srcQg7dagsbWHmuDHScj7jDC9nsJTqx0a4xjuaIfRqXoMSXc/hG0q
|
m6BNqStKp5vR9SS8/jVMzgXx1hHAELEErqgLlQ2tYFWcyhlIFI8KDKgM8TWWwtzndYw7w2D3bYfuzQqT
|
||||||
8C4owGnqwEGeFOXHxThH9eoEV7G7VpiboE2pK0qnm9H1JLz+NUzOBfHWEcAQsQSuqAuVDa1gVZzKGUgU
|
/GH+FeyqEeQNWq4PIJkCKBjC8SyWI1ksBDKYcG9ieDKGQdsqlCwWVCMRxmAfR5QX0xOI5ffhpgT0x7+p
|
||||||
jwoMqAzxNZbC3Od1jDvDYPdth+7NCpP8Yf4V7KoR5A1arg8gmQIoGMLxLJYjWSwEMphwb2J4MoZB2yqU
|
X6P//hhqGmWo5l0Gm7pl5dRx7eU0Y8+R89h5SIAd1aexjc1nqEXF//qavwMB2C9JXlZfHwAAAABJRU5E
|
||||||
LBZUIxHGYB9HlBfTE4jl9+GmBPTHv6lfo//+GGoaZajmXQabumXl1HHt5TRjz5Hz2HlIgB3Vp7GNzWeo
|
rkJggg==
|
||||||
RcX/+pq/AwHYL0leVl8fAAAAAElFTkSuQmCC
|
</value>
|
||||||
</value>
|
</data>
|
||||||
</data>
|
<data name="cutToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<data name="cutToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<value>
|
||||||
<value>
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGHSURBVDhPrdNNS0JREAbgfk3QpkVRCUUSFrUQFJSrEIRZ
|
||||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAYdJREFUOE+t001L
|
pKWULSIlsgJTMD+SpF0tLIS6hhZIKBalkJmkUdqiL1OxTMFoXfCWV5BcdLlRsznDYeY5A8Opq/vvuEje
|
||||||
QlEQBuB+TdCmRVEJRRIWtRAUlKsQhFmkpZQtIiWyAlMwP5KkXS0shLqGFkgoFqWQmaRR2qIvU7FMwWhd
|
wen247v7kHnGJumtufvx3ZdiCabVjZpici+A8FmcGVCW7Wsk/EcRqiFfKEGmmkX68ZE5sOM9hvlrimwu
|
||||||
8JZXkFx0uVGzOcNh5jkDw6mr+++4SN7B6fbju/uQecYm6a25+/Hdl2IJptWNmmJyL4DwWZwZUJbtayT8
|
j2A4DpFEiaenHHPgIHSOJbsD2x4f1AsW9EtGmTeXx05nnzE1b8HwxByIgTHoDKbfAWVEoTaBkEyCkBsQ
|
||||||
RxGqIV8oQaaaRfrxkTmw4z2G+WuKbC6PYDgOkUSJp6ccc+AgdI4luwPbHh/UCxb0S0aZN5fHTmefMTVv
|
PE0yBzKFDxhdbxDr01h03IKniUGoTcC6lUIkUaSHUvl3DNpeIdbdgyN1gD+6BqEmBN5MEj0KH5Y3Kpv5
|
||||||
wfDEHIiBMegMpt8BZUShNoGQTIKQGxA8TTIHMoUPGF1vEOvTWHTcgqeJQahNwLqVQiRRpIdS+XcM2l4h
|
MYyuEgh9Dl0jHrSLbFAtusGbjlabWISNHhDrs9WCNoGZygXaa+okfVdo5CjpAUKXogq8oRRa+HoqH7de
|
||||||
1t2DI3WAP7oGoSYE3kwSPQofljcqm/kxjK4SCH0OXSMetItsUC26wZuOVptYhI0eEOuz1YI2gZnKBdpr
|
olO6jYaOIdQ3NNEDqpUbsKUkmvlGsLmV3QciGbD6FGjplsK1H6MHDqM5cGXraO2Vw7l7wnx1f/nRn6qq
|
||||||
6iR9V2jkKOkBQpeiCryhFFr4eioft16iU7qNho4h1Dc00QOqlRuwpSSa+UawuZXdByIZsPoUaOmWwrUf
|
3+OKoLtvAAAAAElFTkSuQmCC
|
||||||
owcOozlwZeto7ZXDuXvCfHV/+dGfqqrf44qgu28AAAAASUVORK5CYII=
|
</value>
|
||||||
</value>
|
</data>
|
||||||
</data>
|
<data name="copyToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<data name="copyToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<value>
|
||||||
<value>
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHiSURBVDhPpZPRT5JRGMb9U0rHnHXtH9BaWa0222pe1EVb
|
||||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAeJJREFUOE+lk9FP
|
2briQq+6atlsyzVstIkhzcLSAfahtJbS0mESaQaJlIGTzBkslPEpiSDor+87LAnawM13e+7O+3uf55z3
|
||||||
klEYxv1TSsecde0f0FpZrTbbal7URVvZuuJCr7pq2WzLNWy0iSHNwtIB9qG0ltLSYRJpBomUgZPMGSyU
|
VFUdtBwT31AljQeELCNe+hwfCC//Yl9stbm0zMMerrc9J7i4XBliHwsU9ed2dunqf4PTHeBSS2dliGXU
|
||||||
8SmJIOiv7zssCdrAzXd77s77e5/nnPdUVR20HBPfUCWNB4QsI176HB8IL/9iX2y1ubTMwx6utz0nuLhc
|
JwDOEEifwR+WeWh+jTQpY5tIYHUleDKaQD8UFwquZIpd9Tk8ew4y2znkjTSRWFIASqt9YJX6Zje+hfUC
|
||||||
GWIfCxT153Z26ep/g9Md4FJLZ2WIZdQnAM4QSJ/BH5Z5aH6NNCljm0hgdSV4MppAPxQXCq5kil31OTx7
|
xGRziXO97m10IzK3pZ+0Pg3T/3btP0CLMYZjSuZo0zCf5uN5iEHJq+beTGVZTaRYiqzzNbyG6VVUADqk
|
||||||
DjLbOeSNNJFYUgBKq31glfpmN76F9QLEZHOJc73ubXQjMreln7Q+DdP/du0/QIsxhmNK5mjTMJ/m43mI
|
nJBfmXpFF+VI00vqLgxS2/gsD1DzbqWze5O1phA3DF94YF0qciD/zrKwsoV7bgOjNIPm3OMCQE6mmf8e
|
||||||
Qcmr5t5MZVlNpFiKrPM1vIbpVVQAOqSckF+ZekUX5UjTS+ouDFLb+CwPUPNupbN7k7WmEDcMX3hgXSpy
|
wxeM4PH/YPzjIm29+ee9NZBEa4hy+X6I83dmhYzSNJoz3QVA/emrlKpVPysAWSVeLJFlLrzJmFfG/i7O
|
||||||
IP/OsrCyhXtuA6M0g+bc4wJATqaZ/x7DF4zg8f9g/OMibb355701kERriHL5fojzd2aFjNI0mjPdBUD9
|
o0EPNQ368jtyrX1KAP6d/NdBt+091Sd05QEXb7pIZXYwDXnpsc9gfDEtJqvNBsskh4/fKw9o0DqV27YK
|
||||||
6auUqlU/KwBZJV4skWUuvMmYV8b+Ls6jQQ81DfryO3KtfUoA/p3810G37T3VJ3TlARdvukhldjANeemx
|
1Taa0ZztoeZUF9UnO5XmDg4du1t5zff1mQ566A8dAOcMIXbZrQAAAABJRU5ErkJggg==
|
||||||
z2B8MS0mq80GyySHj98rD2jQOpXbtgrVNprRnO2h5lQX1Sc7leYODh27W3nN9/WZDnroDx0A5wwhdtmt
|
</value>
|
||||||
AAAAAElFTkSuQmCC
|
</data>
|
||||||
</value>
|
<data name="pasteToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
</data>
|
<value>
|
||||||
<data name="pasteToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
<value>
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJQSURBVDhPtZNZSJRhFIZ/6MJuihbqqquC6CaKCKqLjMIs
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
TDOMxIysiRiVEpXJ0iE1NUUnt0nTxshlUHOrRFEpEiFxaNdwjBaJ1Mhpsuafcc/i6f8/GWxo86YDL+fm
|
||||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAlBJREFUOE+1k1lI
|
vM9Z+D5J+h/R2ZxB+81UGssSmBe/oTIPt8pyjuCwVTFmu8ZgXzZntb7kpeu4YtBjTI/7FagaJ+V6pp11
|
||||||
lGEUhn/owm6KFuqqq4LoJooIqouMwixMM4zEjKyJGJUSlcnSITU1RSe3SdPGyGVQc6tEUSkSIXFo13CM
|
TDqqMRfrGB+pICclihdd8Zw/7U+8ZjO2zmOMtK4mOmy/J0QFqOZpZw1FGUfptmQjvy9guE/PW8sJmkoC
|
||||||
FonUyGmy5p9xz+Lp/z8ZbGjzpgMv5+a8z1n4Pkn6H9HZnEH7zVQayxKYF7+hMg+3ynKO4LBVMWa7xmBf
|
CQ/1pipxFU/zJCIP7/ME1FXkzALkGxgSw0jWhaCPCuZcZBA6bSAxGn8iQn3Ij14jACF+3p6A6lIDU3It
|
||||||
Nme1vuSl67hi0GNMj/sVqBon5XqmnXVMOqoxF+sYH6kgJyWKF13xnD/tT7xmM7bOY4y0riY6bL8nRAWo
|
U3YT40OZ2J9HYa1YLtRbvozu4kU8MnoJsyqfbRs9AWZTBhP2MiYG0hh/eYqxZweRmxeTW95KpqmRC5dr
|
||||||
5mlnDUUZR+m2ZCO/L2C4T89bywmaSgIJD/WmKnEVT/MkIg/v8wTUVeTMAuQbGBLDSNaFoI8K5lxkEDpt
|
iTeYiUktITzBSFhsliegtDCV0UEjY31aRh/747q/iY+3VwizO6ZnvuFwTjIw7CA4IoWA4/o5SEluEvKr
|
||||||
IDEafyJCfciPXiMAIX7enoDqUgNTci1TdhPjQ5nYn0dhrVgu1Fu+jO7iRTwyegmzKp9tGz0BZlMGE/Yy
|
NFwPfXF1rMfZtpLBckl0VqP0VqeQqaad3n6bMN/tsrInSDMLKcxK4HPPGZzt65BblmKv96L/uiTG/jrz
|
||||||
JgbSGH95irFnB5GbF5Nb3kqmqZELl2uJN5iJSS0hPMFIWGyWJ6C0MJXRQSNjfVpGH/vjur+Jj7dXCLM7
|
nS8upfMHB71vbFh63uEXGoOvYt619wDe23cg5V+Mw/4gQjEv4VPDQoYqF2AtkohWdlbHdk9wVZmgwNxG
|
||||||
pme+4XBOMjDsIDgihYDj+jlISW4S8qs0XA99cXWsx9m2ksFySXRWo/RWp5Cppp3efpsw3+2ysidIMwsp
|
U4dVZFVbN6xFupQcKx6I+8rurFUO9nPne5bXwlx/p5ua1idzAHWN3KSTygsLRBO0m4CdWwRZvba6s7vb
|
||||||
zErgc88ZnO3rkFuWYq/3ov+6JMb+OvOdLy6l8wcHvW9sWHre4Rcag69i3rX3AN7bdyDlX4zD/iBCMS/h
|
77KY4E9xSLm2WvAvzeuz/a3oB0747y0N60d/AAAAAElFTkSuQmCC
|
||||||
U8NChioXYC2SiFZ2Vsd2T3BVmaDA3EZTh1VkVVs3rEW6lBwrHoj7yu6sVQ72c+d7ltfCXH+nm5rWJ3MA
|
</value>
|
||||||
dY3cpJPKCwtEE7SbgJ1bBFm9trqzu9vvspjgT3FIubZa8C/N67P9regHTvjvLQ3rR38AAAAASUVORK5C
|
</data>
|
||||||
YII=
|
<data name="helpToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
</value>
|
<value>
|
||||||
</data>
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
<data name="helpToolStripButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIYSURBVDhPtVNPaxNBFO9HyEfYj1AUPHjK0eOiDeSYQg89
|
||||||
<value>
|
qAQPEgRxKQjBYBuRosHSXatiI6nupXaN1q5oa4tIF2s1tmGzLVHTZpuObpX+0fx8M1NYSyM5+eCxb4b5
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
/XlvZzo6/kdMLwS4U1xH+m4FfcNLGCyUMf7qM9pqvXO3kZ9qQC+uwavv4tvWHliwS/UOruZLSOsOiq9X
|
||||||
YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAhhJREFUOE+1U09r
|
WxNx8AN7E/6PJmwH0EYBNS2T17bD4G42cWlwBuMvyodJuPLGzyYMG4imAMMC2DZEeAxI3uR7DBUiOZd5
|
||||||
E0EU70fIR9iPUBQ8eMrR46IN5JhCDz2oBA8SBHEpCMFgG5GiwdJdq2Ijqe6ldo3Wrmhri0gXazW2YbMt
|
dpBg+v0WHs83hDIH88M8zFkgkZVfThZNMaoZdOsDcvk3Icm9p3V8Yb+E1WhS2s6aQCfVSi9DMksWKFSN
|
||||||
UdNmm45ulf7R/HwzU1hLIzn54LFvhvn9eW9nOjr+R0wvBLhTXEf6bgV9w0sYLJQx/uoz2mq9c7eRn2pA
|
IZF2sOQG6L4wFhJk7q+KgamaBHX2ylQoEwTm6naJQVFtKHEbNT/Asdj1kODybZemvSfsSyAdTjByIpVN
|
||||||
L67Bq+/i29YeWLBL9Q6u5ktI6w6Kr1dbE3HwA3sT/o8mbAfQRgE1LZPXtsPgbjZxaXAG4y/Kh0m48sbP
|
m9YEjKgmfU3U6t9xRB0ICXIPK1jxd6h3CVTinsjsqCSIqA6lJFBTNkrlKrrOGCHBxMxXWI4vBsSBkTgH
|
||||||
JgwbiKYAwwLYNkR4DEje5HsMFSI5l3l2kGD6/RYezzeEMgfzwzzMWSCRlV9OFk0xqhl06wNy+Tchyb2n
|
ONSSR3OhNQefMEUalocxaxFXbk0e/BOZkQUs+79JdR9AIF4LB/tgzXDwad3HqdP64XswOVdFX24OboPu
|
||||||
dXxhv4TVaFLazppAJ9VKL0MySxYoVI0hkXaw5AbovjAWEmTur4qBqZoEdfbKVCgTBObqdolBUW0ocRs1
|
AqmomiP65slrvrdc3UCMrA8XZlvfxomXFZzvn4Lx5CPmF1ewRtOu1QPRM7fdRcr6v8B/P5Shwlv0XHyE
|
||||||
P8Cx2PWQ4PJtl6a9J+xLIB1OMHIilU2b1gSMqCZ9TdTq33FEHQgJcg8rWPF3qHcJVOKeyOyoJIioDqUk
|
4/EbOHryGmJnR5AZet7+MbV9bS0O/AGd2vKsTr+IQwAAAABJRU5ErkJggg==
|
||||||
UFM2SuUqus4YIcHEzFdYji8GxIGROAc41JJHc6E1B58wRRqWhzFrEVduTR78E5mRBSz7v0l1H0AgXgsH
|
</value>
|
||||||
+2DNcPBp3cep0/rhezA5V0Vfbg5ug+4CqaiaI/rmyWu+t1zdQIysDxdmW9/GiZcVnO+fgvHkI+YXV7BG
|
</data>
|
||||||
067VA9Ezt91Fyvq/wH8/lKHCW/RcfITj8Rs4evIaYmdHkBl63v4xtX1tLQ78AZ3a8qxOv4hDAAAAAElF
|
|
||||||
TkSuQmCC
|
|
||||||
</value>
|
|
||||||
</data>
|
|
||||||
</root>
|
</root>
|
||||||
@@ -1,27 +1,27 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace d20_SRD_Spell_Lists.Models {
|
namespace d20_SRD_Spell_Lists.Models {
|
||||||
public class Spell {
|
public class Spell {
|
||||||
public bool IsPrepped { get; set; }
|
public bool IsPrepped { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public int Level { get; set; }
|
public int Level { get; set; }
|
||||||
public string Component { get; set; }
|
public string Components { get; set; }
|
||||||
public string ShortDescription { get; set; }
|
public string ShortDescription { get; set; }
|
||||||
public bool IsCustom { get; set; }
|
public bool IsCustom { get; set; }
|
||||||
public bool IsCharCustom { get; set; }
|
public bool IsCharCustom { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SpellComparer : IEqualityComparer<Spell> {
|
public class SpellComparer : IEqualityComparer<Spell> {
|
||||||
public bool Equals(Spell x, Spell y) {
|
public bool Equals(Spell x, Spell y) {
|
||||||
return x.Name == y.Name;
|
return x.Name == y.Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int GetHashCode(Spell obj) {
|
public int GetHashCode(Spell obj) {
|
||||||
return obj.Name.GetHashCode();
|
return obj.Name.GetHashCode();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,240 +1,240 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
using System.Xml.Linq;
|
using System.Xml.Linq;
|
||||||
using d20_SRD_Spell_Lists.Exceptions;
|
using d20_SRD_Spell_Lists.Exceptions;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
namespace d20_SRD_Spell_Lists.Models {
|
namespace d20_SRD_Spell_Lists.Models {
|
||||||
public class SpellSet {
|
public class SpellSet {
|
||||||
private XElement masterSpellList;
|
private XElement masterSpellList;
|
||||||
private XElement userSpellList;
|
private XElement userSpellList;
|
||||||
private XElement charSpellList;
|
private XElement charSpellList;
|
||||||
private string userXmlFile;
|
private string userXmlFile;
|
||||||
private Character character;
|
private Character character;
|
||||||
|
|
||||||
public SpellSet(string _masterXmlFile = null, string _userXmlFile = null, Character _character = null) {
|
public SpellSet(string _masterXmlFile = null, string _userXmlFile = null, Character _character = null) {
|
||||||
userXmlFile = _userXmlFile;
|
userXmlFile = _userXmlFile;
|
||||||
character = _character;
|
character = _character;
|
||||||
loadXML(ref _masterXmlFile);
|
loadXML(ref _masterXmlFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadXML(ref string _masterXmlFile) {
|
private void loadXML(ref string _masterXmlFile) {
|
||||||
// Load the XML file.
|
// Load the XML file.
|
||||||
if (_masterXmlFile == null) {
|
if (_masterXmlFile == null) {
|
||||||
_masterXmlFile = Properties.Settings.Default.MasterSpells;
|
_masterXmlFile = Properties.Settings.Default.MasterSpells;
|
||||||
}
|
}
|
||||||
if (userXmlFile == null) {
|
if (userXmlFile == null) {
|
||||||
userXmlFile = Properties.Settings.Default.UserSpells;
|
userXmlFile = Properties.Settings.Default.UserSpells;
|
||||||
}
|
}
|
||||||
masterSpellList = XElement.Load(_masterXmlFile);
|
masterSpellList = XElement.Load(_masterXmlFile);
|
||||||
userSpellList = XElement.Load(userXmlFile);
|
userSpellList = XElement.Load(userXmlFile);
|
||||||
|
|
||||||
if (character != null) {
|
if (character != null) {
|
||||||
charSpellList = character.spells();
|
charSpellList = character.spells();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Adds a spell to the application's list of custom spells.
|
/// Adds a spell to the application's list of custom spells.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="xElement">The XML details of the new spell.</param>
|
/// <param name="xElement">The XML details of the new spell.</param>
|
||||||
public void addUserSpell(XElement xElement) {
|
public void addUserSpell(XElement xElement) {
|
||||||
userSpellList.Add(xElement);
|
userSpellList.Add(xElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Spell> byClass(Character.SpellCastingClasses spellCastingClass) {
|
public IEnumerable<Spell> byClass(Character.SpellCastingClasses spellCastingClass) {
|
||||||
List<Spell> spells = new List<Spell>();
|
List<Spell> spells = new List<Spell>();
|
||||||
|
|
||||||
filterMasterSpellsByClass(spellCastingClass, spells);
|
filterMasterSpellsByClass(spellCastingClass, spells);
|
||||||
filterUserSpellsByClass(spellCastingClass, spells);
|
filterUserSpellsByClass(spellCastingClass, spells);
|
||||||
filterCharacterSpellsByClass(spellCastingClass, spells);
|
filterCharacterSpellsByClass(spellCastingClass, spells);
|
||||||
|
|
||||||
removeHiddenSpells(spells);
|
removeHiddenSpells(spells);
|
||||||
|
|
||||||
return spells;
|
return spells;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void filterMasterSpellsByClass(Character.SpellCastingClasses spellCastingClass, List<Spell> spells) {
|
private void filterMasterSpellsByClass(Character.SpellCastingClasses spellCastingClass, List<Spell> spells) {
|
||||||
spells.AddRange(querySpellsByClass(masterSpellList, spellCastingClass, false, false).ToList<Spell>());
|
spells.AddRange(querySpellsByClass(masterSpellList, spellCastingClass, false, false).ToList<Spell>());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void filterCharacterSpellsByClass(Character.SpellCastingClasses spellCastingClass, List<Spell> spells) {
|
private void filterCharacterSpellsByClass(Character.SpellCastingClasses spellCastingClass, List<Spell> spells) {
|
||||||
if (characterSpellCount() > 0) {
|
if (characterSpellCount() > 0) {
|
||||||
spells.AddRange(querySpellsByClass(charSpellList, spellCastingClass, false, true));
|
spells.AddRange(querySpellsByClass(charSpellList, spellCastingClass, false, true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void filterUserSpellsByClass(Character.SpellCastingClasses spellCastingClass, List<Spell> spells) {
|
private void filterUserSpellsByClass(Character.SpellCastingClasses spellCastingClass, List<Spell> spells) {
|
||||||
if (userSpellCount() > 0) {
|
if (userSpellCount() > 0) {
|
||||||
spells.AddRange(querySpellsByClass(userSpellList, spellCastingClass, true, false).ToList<Spell>());
|
spells.AddRange(querySpellsByClass(userSpellList, spellCastingClass, true, false).ToList<Spell>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void removeHiddenSpells(List<Spell> spells) {
|
private void removeHiddenSpells(List<Spell> spells) {
|
||||||
if (hiddenSpellCount() > 0) {
|
if (hiddenSpellCount() > 0) {
|
||||||
foreach (string hiddenSpellName in (from hp in userSpellList.Elements("hidden_spell").Elements("spell")
|
foreach (string hiddenSpellName in (from hp in userSpellList.Elements("hidden_spell").Elements("spell")
|
||||||
select (string)hp.Element("name"))) {
|
select (string)hp.Element("name"))) {
|
||||||
spells.RemoveAll(sp => sp.Name == hiddenSpellName);
|
spells.RemoveAll(sp => sp.Name == hiddenSpellName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hiddenCharacterSpellCount() > 0) {
|
if (hiddenCharacterSpellCount() > 0) {
|
||||||
foreach (string hiddenSpellName in (from hp in charSpellList.Elements("hidden_spell").Elements("spell")
|
foreach (string hiddenSpellName in (from hp in charSpellList.Elements("hidden_spell").Elements("spell")
|
||||||
select (string)hp.Element("name"))) {
|
select (string)hp.Element("name"))) {
|
||||||
spells.RemoveAll(sp => sp.Name == hiddenSpellName);
|
spells.RemoveAll(sp => sp.Name == hiddenSpellName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Spell> byClassAndLevel(Character.SpellCastingClasses spellCastingClass, int level) {
|
public IEnumerable<Spell> byClassAndLevel(Character.SpellCastingClasses spellCastingClass, int level) {
|
||||||
List<Spell> spells = new List<Spell>();
|
List<Spell> spells = new List<Spell>();
|
||||||
|
|
||||||
filterMasterSpellsByClassAndLevel(spellCastingClass, level, spells);
|
filterMasterSpellsByClassAndLevel(spellCastingClass, level, spells);
|
||||||
filterUserSpellsByClassAndLevel(spellCastingClass, level, spells);
|
filterUserSpellsByClassAndLevel(spellCastingClass, level, spells);
|
||||||
filterCharacterSpellsByClassAndLevel(spellCastingClass, level, spells);
|
filterCharacterSpellsByClassAndLevel(spellCastingClass, level, spells);
|
||||||
|
|
||||||
removeHiddenSpells(spells);
|
removeHiddenSpells(spells);
|
||||||
|
|
||||||
return spells;
|
return spells;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void filterCharacterSpellsByClassAndLevel(Character.SpellCastingClasses spellCastingClass, int level, List<Spell> spells) {
|
private void filterCharacterSpellsByClassAndLevel(Character.SpellCastingClasses spellCastingClass, int level, List<Spell> spells) {
|
||||||
if (characterSpellCount() > 0) {
|
if (characterSpellCount() > 0) {
|
||||||
spells.AddRange(querySpellsByClassAndLevel(charSpellList, spellCastingClass, level, false, true));
|
spells.AddRange(querySpellsByClassAndLevel(charSpellList, spellCastingClass, level, false, true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void filterUserSpellsByClassAndLevel(Character.SpellCastingClasses spellCastingClass, int level, List<Spell> spells) {
|
private void filterUserSpellsByClassAndLevel(Character.SpellCastingClasses spellCastingClass, int level, List<Spell> spells) {
|
||||||
if (userSpellCount() > 0) {
|
if (userSpellCount() > 0) {
|
||||||
spells.AddRange(querySpellsByClassAndLevel(userSpellList, spellCastingClass, level, true, false).ToList<Spell>());
|
spells.AddRange(querySpellsByClassAndLevel(userSpellList, spellCastingClass, level, true, false).ToList<Spell>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerable<Spell> querySpellsByClassAndLevel(XElement list, Character.SpellCastingClasses spellCastingClass, int level, bool isCustom, bool isCharCustom) {
|
private IEnumerable<Spell> querySpellsByClassAndLevel(XElement list, Character.SpellCastingClasses spellCastingClass, int level, bool isCustom, bool isCharCustom) {
|
||||||
string c = Character.getClassName(spellCastingClass);
|
string c = Character.getClassName(spellCastingClass);
|
||||||
Regex levelReg = new Regex(@" (\d+)?");
|
Regex levelReg = new Regex(@" (\d+)?");
|
||||||
return (from sp in list.Elements("spell")
|
return (from sp in list.Elements("spell")
|
||||||
let xmlLevel = (string)sp.Element("level")
|
let xmlLevel = (string)sp.Element("level")
|
||||||
let xmlComp = (string)sp.Element("components")
|
let xmlComp = (string)sp.Element("components")
|
||||||
let xmlDesc = (string)sp.Element("short_description")
|
let xmlDesc = (string)sp.Element("short_description")
|
||||||
where xmlLevel != null && xmlLevel.Contains(c + " " + level.ToString())
|
where xmlLevel != null && xmlLevel.Contains(c + " " + level.ToString())
|
||||||
orderby levelReg.Match(xmlLevel, xmlLevel.IndexOf(c)).Groups[1].Value
|
orderby levelReg.Match(xmlLevel, xmlLevel.IndexOf(c)).Groups[1].Value
|
||||||
select new Spell {
|
select new Spell {
|
||||||
IsPrepped = false,
|
IsPrepped = false,
|
||||||
Name = sp.Element("name").Value,
|
Name = sp.Element("name").Value,
|
||||||
Level = int.Parse(levelReg.Match(xmlLevel, xmlLevel.IndexOf(c)).Groups[1].Value),
|
Level = int.Parse(levelReg.Match(xmlLevel, xmlLevel.IndexOf(c)).Groups[1].Value),
|
||||||
Component = (xmlComp != null ? xmlComp : ""),
|
Components = (xmlComp != null ? xmlComp : ""),
|
||||||
ShortDescription = (xmlDesc != null ? xmlDesc : ""),
|
ShortDescription = (xmlDesc != null ? xmlDesc : ""),
|
||||||
IsCustom = isCustom,
|
IsCustom = isCustom,
|
||||||
IsCharCustom = isCharCustom
|
IsCharCustom = isCharCustom
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerable<Spell> querySpellsByClass(XElement list, Character.SpellCastingClasses spellCastingClass, bool isCustom, bool isCharCustom) {
|
private IEnumerable<Spell> querySpellsByClass(XElement list, Character.SpellCastingClasses spellCastingClass, bool isCustom, bool isCharCustom) {
|
||||||
string c = Character.getClassName(spellCastingClass);
|
string c = Character.getClassName(spellCastingClass);
|
||||||
Regex levelReg = new Regex(@" (\d+),?");
|
Regex levelReg = new Regex(@" (\d+),?");
|
||||||
return (from sp in list.Elements("spell")
|
return (from sp in list.Elements("spell")
|
||||||
let xmlLevel = (string)sp.Element("level")
|
let xmlLevel = (string)sp.Element("level")
|
||||||
let xmlComp = (string)sp.Element("components")
|
let xmlComp = (string)sp.Element("components")
|
||||||
let xmlDesc = (string)sp.Element("short_description")
|
let xmlDesc = (string)sp.Element("short_description")
|
||||||
where xmlLevel != null && xmlLevel.Contains(c)
|
where xmlLevel != null && xmlLevel.Contains(c)
|
||||||
orderby levelReg.Match(xmlLevel, xmlLevel.IndexOf(c)).Groups[1].Value
|
orderby levelReg.Match(xmlLevel, xmlLevel.IndexOf(c)).Groups[1].Value
|
||||||
select new Spell {
|
select new Spell {
|
||||||
IsPrepped = false,
|
IsPrepped = false,
|
||||||
Name = sp.Element("name").Value,
|
Name = sp.Element("name").Value,
|
||||||
Level = int.Parse(levelReg.Match(xmlLevel, xmlLevel.IndexOf(c)).Groups[1].Value),
|
Level = int.Parse(levelReg.Match(xmlLevel, xmlLevel.IndexOf(c)).Groups[1].Value),
|
||||||
Component = (xmlComp != null ? xmlComp : ""),
|
Components = (xmlComp != null ? xmlComp : ""),
|
||||||
ShortDescription = (xmlDesc != null ? xmlDesc : ""),
|
ShortDescription = (xmlDesc != null ? xmlDesc : ""),
|
||||||
IsCustom = isCustom,
|
IsCustom = isCustom,
|
||||||
IsCharCustom = isCharCustom
|
IsCharCustom = isCharCustom
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void filterMasterSpellsByClassAndLevel(Character.SpellCastingClasses spellCastingClass, int level, List<Spell> spells) {
|
private void filterMasterSpellsByClassAndLevel(Character.SpellCastingClasses spellCastingClass, int level, List<Spell> spells) {
|
||||||
spells.AddRange(querySpellsByClassAndLevel(masterSpellList, spellCastingClass, level, false, false).ToList<Spell>());
|
spells.AddRange(querySpellsByClassAndLevel(masterSpellList, spellCastingClass, level, false, false).ToList<Spell>());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Saves all XML files to the system.
|
/// Saves all XML files to the system.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void save() {
|
public void save() {
|
||||||
userSpellList.Save(userXmlFile);
|
userSpellList.Save(userXmlFile);
|
||||||
if (character != null) {
|
if (character != null) {
|
||||||
character.save();
|
character.save();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Remove a node from the application's custom spell list.
|
/// Remove a node from the application's custom spell list.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="nodeName">The name of the node to be searched on. Could be "name", "school", etc.</param>
|
/// <param name="nodeName">The name of the node to be searched on. Could be "name", "school", etc.</param>
|
||||||
/// <param name="nodeValue">The value of the node matching the nodeName.</param>
|
/// <param name="nodeValue">The value of the node matching the nodeName.</param>
|
||||||
public void removeUserSpell(string nodeName, string nodeValue) {
|
public void removeUserSpell(string nodeName, string nodeValue) {
|
||||||
(from sp in userSpellList.Elements("spell")
|
(from sp in userSpellList.Elements("spell")
|
||||||
where (string)sp.Element(nodeName) == nodeValue
|
where (string)sp.Element(nodeName) == nodeValue
|
||||||
select sp).Remove();
|
select sp).Remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void hideMasterSpell(string nodeName, string nodeValue) {
|
public void hideMasterSpell(string nodeName, string nodeValue) {
|
||||||
userSpellList.Add(new XElement("hidden_spell", (from msp in masterSpellList.Elements("spell")
|
userSpellList.Add(new XElement("hidden_spell", (from msp in masterSpellList.Elements("spell")
|
||||||
where (string)msp.Element(nodeName) == nodeValue
|
where (string)msp.Element(nodeName) == nodeValue
|
||||||
select msp)));
|
select msp)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void hideMasterSpellForCharacter(string nodeName, string nodeValue) {
|
public void hideMasterSpellForCharacter(string nodeName, string nodeValue) {
|
||||||
charSpellList.Add(new XElement("hidden_spell", (from msp in masterSpellList.Elements("spell")
|
charSpellList.Add(new XElement("hidden_spell", (from msp in masterSpellList.Elements("spell")
|
||||||
where (string)msp.Element(nodeName) == nodeValue
|
where (string)msp.Element(nodeName) == nodeValue
|
||||||
select msp)));
|
select msp)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showMasterSpell(string nodeName, string nodeValue) {
|
public void showMasterSpell(string nodeName, string nodeValue) {
|
||||||
(from hsp in userSpellList.Elements("hidden_spell")
|
(from hsp in userSpellList.Elements("hidden_spell")
|
||||||
where (string)hsp.Element("spell").Element(nodeName) == nodeValue
|
where (string)hsp.Element("spell").Element(nodeName) == nodeValue
|
||||||
select hsp).Remove();
|
select hsp).Remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void showMasterSpellForCharacter(string nodeName, string nodeValue) {
|
public void showMasterSpellForCharacter(string nodeName, string nodeValue) {
|
||||||
(from hsp in charSpellList.Elements("hidden_spell")
|
(from hsp in charSpellList.Elements("hidden_spell")
|
||||||
where (string)hsp.Element("spell").Element(nodeName) == nodeValue
|
where (string)hsp.Element("spell").Element(nodeName) == nodeValue
|
||||||
select hsp).Remove();
|
select hsp).Remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int hiddenSpellCount() {
|
public int hiddenSpellCount() {
|
||||||
return userSpellList.Descendants("hidden_spell").Count();
|
return userSpellList.Descendants("hidden_spell").Count();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int hiddenCharacterSpellCount() {
|
public int hiddenCharacterSpellCount() {
|
||||||
if (charSpellList != null) {
|
if (charSpellList != null) {
|
||||||
return charSpellList.Descendants("hidden_spell").Count();
|
return charSpellList.Descendants("hidden_spell").Count();
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int totalCount() {
|
public int totalCount() {
|
||||||
int total = masterSpellList.Elements("spell").Count() + userSpellList.Elements("spell").Count();
|
int total = masterSpellList.Elements("spell").Count() + userSpellList.Elements("spell").Count();
|
||||||
if (charSpellList != null) {
|
if (charSpellList != null) {
|
||||||
total += charSpellList.Elements("spell").Count();
|
total += charSpellList.Elements("spell").Count();
|
||||||
}
|
}
|
||||||
return total;
|
return total;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int masterSpellCount() {
|
public int masterSpellCount() {
|
||||||
return masterSpellList.Elements("spell").Count();
|
return masterSpellList.Elements("spell").Count();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int userSpellCount() {
|
public int userSpellCount() {
|
||||||
return userSpellList.Elements("spell").Count();
|
return userSpellList.Elements("spell").Count();
|
||||||
}
|
}
|
||||||
|
|
||||||
public int characterSpellCount() {
|
public int characterSpellCount() {
|
||||||
if (character != null) {
|
if (character != null) {
|
||||||
return character.spells().Elements("spell").Count();
|
return character.spells().Elements("spell").Count();
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
|
||||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
|
||||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
|
||||||
<security>
|
|
||||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
|
||||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
|
||||||
</requestedPrivileges>
|
|
||||||
</security>
|
|
||||||
</trustInfo>
|
|
||||||
</assembly>
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,13 +1,13 @@
|
|||||||
F:\spelllists\d20 SRD Spell Lists\bin\Release\d20 SRD Spell Lists.exe
|
F:\spelllists\d20 SRD Spell Lists\bin\Release\d20 SRD Spell Lists.exe
|
||||||
F:\spelllists\d20 SRD Spell Lists\bin\Release\d20 SRD Spell Lists.pdb
|
F:\spelllists\d20 SRD Spell Lists\bin\Release\d20 SRD Spell Lists.pdb
|
||||||
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\ResolveAssemblyReference.cache
|
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\ResolveAssemblyReference.cache
|
||||||
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\d20_SRD_Spell_Lists.Properties.Resources.resources
|
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\d20_SRD_Spell_Lists.Properties.Resources.resources
|
||||||
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\GenerateResource.read.1.tlog
|
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\GenerateResource.read.1.tlog
|
||||||
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\GenerateResource.write.1.tlog
|
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\GenerateResource.write.1.tlog
|
||||||
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\d20 SRD Spell Lists.exe
|
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\d20 SRD Spell Lists.exe
|
||||||
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\d20 SRD Spell Lists.pdb
|
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\d20 SRD Spell Lists.pdb
|
||||||
F:\spelllists\d20 SRD Spell Lists\bin\Release\d20 SRD Spell Lists.exe.config
|
F:\spelllists\d20 SRD Spell Lists\bin\Release\d20 SRD Spell Lists.exe.config
|
||||||
F:\spelllists\d20 SRD Spell Lists\bin\Release\AppData\MasterSpellList.xml
|
F:\spelllists\d20 SRD Spell Lists\bin\Release\AppData\MasterSpellList.xml
|
||||||
F:\spelllists\d20 SRD Spell Lists\bin\Release\AppData\UserSpellList.xml
|
F:\spelllists\d20 SRD Spell Lists\bin\Release\AppData\UserSpellList.xml
|
||||||
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\d20_SRD_Spell_Lists.FrmCredits.resources
|
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\d20_SRD_Spell_Lists.FrmCredits.resources
|
||||||
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\d20_SRD_Spell_Lists.FrmMain.resources
|
F:\spelllists\d20 SRD Spell Lists\obj\x86\Release\d20_SRD_Spell_Lists.FrmMain.resources
|
||||||
|
|||||||
Reference in New Issue
Block a user