Switch to a BindingList and use extension methods to have Sort and AddRange.
973 lines
53 KiB
C#
973 lines
53 KiB
C#
using System.ComponentModel;
|
|
namespace d20_SRD_Spell_Lists {
|
|
partial class FrmMain {
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing) {
|
|
if (disposing && (components != null)) {
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent() {
|
|
this.components = new System.ComponentModel.Container();
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
this.lblExtra9 = new System.Windows.Forms.Label();
|
|
this.lblExtra8 = new System.Windows.Forms.Label();
|
|
this.lblExtra7 = new System.Windows.Forms.Label();
|
|
this.lblExtra6 = new System.Windows.Forms.Label();
|
|
this.lblExtra5 = new System.Windows.Forms.Label();
|
|
this.lblExtra4 = new System.Windows.Forms.Label();
|
|
this.lblExtra3 = new System.Windows.Forms.Label();
|
|
this.lblExtra2 = new System.Windows.Forms.Label();
|
|
this.lblExtra1 = new System.Windows.Forms.Label();
|
|
this.lblExtra0 = new System.Windows.Forms.Label();
|
|
this.lblDC9 = new System.Windows.Forms.Label();
|
|
this.lblDC8 = new System.Windows.Forms.Label();
|
|
this.lblDC7 = new System.Windows.Forms.Label();
|
|
this.lblDC6 = new System.Windows.Forms.Label();
|
|
this.lblDC5 = new System.Windows.Forms.Label();
|
|
this.lblDC4 = new System.Windows.Forms.Label();
|
|
this.lblDC3 = new System.Windows.Forms.Label();
|
|
this.lblDC2 = new System.Windows.Forms.Label();
|
|
this.lblDC1 = new System.Windows.Forms.Label();
|
|
this.label18 = new System.Windows.Forms.Label();
|
|
this.label17 = new System.Windows.Forms.Label();
|
|
this.label16 = new System.Windows.Forms.Label();
|
|
this.label15 = new System.Windows.Forms.Label();
|
|
this.label14 = new System.Windows.Forms.Label();
|
|
this.label13 = new System.Windows.Forms.Label();
|
|
this.label12 = new System.Windows.Forms.Label();
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.label19 = new System.Windows.Forms.Label();
|
|
this.lblDC0 = new System.Windows.Forms.Label();
|
|
this.charClassComboBox = new System.Windows.Forms.ComboBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.txtSpellCastingAttribute = new System.Windows.Forms.MaskedTextBox();
|
|
this.lblSpellCastingAttributeMod = new System.Windows.Forms.Label();
|
|
this.lblModifiers = new System.Windows.Forms.Label();
|
|
this.lblSpellCastingAttribute = new System.Windows.Forms.Label();
|
|
this.txtCharacter = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.lblDirections = new System.Windows.Forms.Label();
|
|
this.mainToolStrip = new System.Windows.Forms.ToolStrip();
|
|
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.printPreviewToolstripButton = 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.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.DataGridViewImageColumn();
|
|
this.deleteColumn = new System.Windows.Forms.DataGridViewImageColumn();
|
|
this.btnAdd = new System.Windows.Forms.Button();
|
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
|
this.printDoc = new System.Drawing.Printing.PrintDocument();
|
|
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
|
|
this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn();
|
|
this.tableLayoutPanel1.SuspendLayout();
|
|
this.groupBox1.SuspendLayout();
|
|
this.mainToolStrip.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.spellsDataGridView)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
|
this.splitContainer1.Panel1.SuspendLayout();
|
|
this.splitContainer1.Panel2.SuspendLayout();
|
|
this.splitContainer1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
this.tableLayoutPanel1.AutoSize = true;
|
|
this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
|
|
this.tableLayoutPanel1.ColumnCount = 11;
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
|
this.tableLayoutPanel1.Controls.Add(this.lblExtra9, 10, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblExtra8, 9, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblExtra7, 8, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblExtra6, 7, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblExtra5, 6, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblExtra4, 5, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblExtra3, 4, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblExtra2, 3, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblExtra1, 2, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblExtra0, 1, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblDC9, 10, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblDC8, 9, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblDC7, 8, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblDC6, 7, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblDC5, 6, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblDC4, 5, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblDC3, 4, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblDC2, 3, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblDC1, 2, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.label18, 9, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label17, 8, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label16, 7, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label15, 6, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label14, 5, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label13, 4, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label12, 3, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label11, 2, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label7, 0, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label8, 0, 1);
|
|
this.tableLayoutPanel1.Controls.Add(this.label9, 0, 2);
|
|
this.tableLayoutPanel1.Controls.Add(this.label10, 1, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.label19, 10, 0);
|
|
this.tableLayoutPanel1.Controls.Add(this.lblDC0, 1, 1);
|
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(233, 94);
|
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
this.tableLayoutPanel1.RowCount = 3;
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
|
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(371, 73);
|
|
this.tableLayoutPanel1.TabIndex = 3;
|
|
//
|
|
// lblExtra9
|
|
//
|
|
this.lblExtra9.AutoSize = true;
|
|
this.lblExtra9.Location = new System.Drawing.Point(344, 52);
|
|
this.lblExtra9.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblExtra9.Name = "lblExtra9";
|
|
this.lblExtra9.Size = new System.Drawing.Size(13, 13);
|
|
this.lblExtra9.TabIndex = 32;
|
|
this.lblExtra9.Text = "0";
|
|
//
|
|
// lblExtra8
|
|
//
|
|
this.lblExtra8.AutoSize = true;
|
|
this.lblExtra8.Location = new System.Drawing.Point(318, 52);
|
|
this.lblExtra8.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblExtra8.Name = "lblExtra8";
|
|
this.lblExtra8.Size = new System.Drawing.Size(13, 13);
|
|
this.lblExtra8.TabIndex = 31;
|
|
this.lblExtra8.Text = "0";
|
|
//
|
|
// lblExtra7
|
|
//
|
|
this.lblExtra7.AutoSize = true;
|
|
this.lblExtra7.Location = new System.Drawing.Point(292, 52);
|
|
this.lblExtra7.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblExtra7.Name = "lblExtra7";
|
|
this.lblExtra7.Size = new System.Drawing.Size(13, 13);
|
|
this.lblExtra7.TabIndex = 30;
|
|
this.lblExtra7.Text = "0";
|
|
//
|
|
// lblExtra6
|
|
//
|
|
this.lblExtra6.AutoSize = true;
|
|
this.lblExtra6.Location = new System.Drawing.Point(266, 52);
|
|
this.lblExtra6.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblExtra6.Name = "lblExtra6";
|
|
this.lblExtra6.Size = new System.Drawing.Size(13, 13);
|
|
this.lblExtra6.TabIndex = 29;
|
|
this.lblExtra6.Text = "0";
|
|
//
|
|
// lblExtra5
|
|
//
|
|
this.lblExtra5.AutoSize = true;
|
|
this.lblExtra5.Location = new System.Drawing.Point(240, 52);
|
|
this.lblExtra5.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblExtra5.Name = "lblExtra5";
|
|
this.lblExtra5.Size = new System.Drawing.Size(13, 13);
|
|
this.lblExtra5.TabIndex = 28;
|
|
this.lblExtra5.Text = "0";
|
|
//
|
|
// lblExtra4
|
|
//
|
|
this.lblExtra4.AutoSize = true;
|
|
this.lblExtra4.Location = new System.Drawing.Point(214, 52);
|
|
this.lblExtra4.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblExtra4.Name = "lblExtra4";
|
|
this.lblExtra4.Size = new System.Drawing.Size(13, 13);
|
|
this.lblExtra4.TabIndex = 27;
|
|
this.lblExtra4.Text = "0";
|
|
//
|
|
// lblExtra3
|
|
//
|
|
this.lblExtra3.AutoSize = true;
|
|
this.lblExtra3.Location = new System.Drawing.Point(188, 52);
|
|
this.lblExtra3.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblExtra3.Name = "lblExtra3";
|
|
this.lblExtra3.Size = new System.Drawing.Size(13, 13);
|
|
this.lblExtra3.TabIndex = 26;
|
|
this.lblExtra3.Text = "0";
|
|
//
|
|
// lblExtra2
|
|
//
|
|
this.lblExtra2.AutoSize = true;
|
|
this.lblExtra2.Location = new System.Drawing.Point(162, 52);
|
|
this.lblExtra2.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblExtra2.Name = "lblExtra2";
|
|
this.lblExtra2.Size = new System.Drawing.Size(13, 13);
|
|
this.lblExtra2.TabIndex = 25;
|
|
this.lblExtra2.Text = "0";
|
|
//
|
|
// lblExtra1
|
|
//
|
|
this.lblExtra1.AutoSize = true;
|
|
this.lblExtra1.Location = new System.Drawing.Point(136, 52);
|
|
this.lblExtra1.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblExtra1.Name = "lblExtra1";
|
|
this.lblExtra1.Size = new System.Drawing.Size(13, 13);
|
|
this.lblExtra1.TabIndex = 24;
|
|
this.lblExtra1.Text = "0";
|
|
//
|
|
// lblExtra0
|
|
//
|
|
this.lblExtra0.AutoSize = true;
|
|
this.lblExtra0.Location = new System.Drawing.Point(110, 52);
|
|
this.lblExtra0.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblExtra0.Name = "lblExtra0";
|
|
this.lblExtra0.Size = new System.Drawing.Size(13, 13);
|
|
this.lblExtra0.TabIndex = 23;
|
|
this.lblExtra0.Text = "0";
|
|
//
|
|
// lblDC9
|
|
//
|
|
this.lblDC9.AutoSize = true;
|
|
this.lblDC9.Location = new System.Drawing.Point(344, 28);
|
|
this.lblDC9.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblDC9.Name = "lblDC9";
|
|
this.lblDC9.Size = new System.Drawing.Size(19, 13);
|
|
this.lblDC9.TabIndex = 22;
|
|
this.lblDC9.Text = "19";
|
|
//
|
|
// lblDC8
|
|
//
|
|
this.lblDC8.AutoSize = true;
|
|
this.lblDC8.Location = new System.Drawing.Point(318, 28);
|
|
this.lblDC8.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblDC8.Name = "lblDC8";
|
|
this.lblDC8.Size = new System.Drawing.Size(19, 13);
|
|
this.lblDC8.TabIndex = 21;
|
|
this.lblDC8.Text = "18";
|
|
//
|
|
// lblDC7
|
|
//
|
|
this.lblDC7.AutoSize = true;
|
|
this.lblDC7.Location = new System.Drawing.Point(292, 28);
|
|
this.lblDC7.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblDC7.Name = "lblDC7";
|
|
this.lblDC7.Size = new System.Drawing.Size(19, 13);
|
|
this.lblDC7.TabIndex = 20;
|
|
this.lblDC7.Text = "17";
|
|
//
|
|
// lblDC6
|
|
//
|
|
this.lblDC6.AutoSize = true;
|
|
this.lblDC6.Location = new System.Drawing.Point(266, 28);
|
|
this.lblDC6.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblDC6.Name = "lblDC6";
|
|
this.lblDC6.Size = new System.Drawing.Size(19, 13);
|
|
this.lblDC6.TabIndex = 19;
|
|
this.lblDC6.Text = "16";
|
|
//
|
|
// lblDC5
|
|
//
|
|
this.lblDC5.AutoSize = true;
|
|
this.lblDC5.Location = new System.Drawing.Point(240, 28);
|
|
this.lblDC5.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblDC5.Name = "lblDC5";
|
|
this.lblDC5.Size = new System.Drawing.Size(19, 13);
|
|
this.lblDC5.TabIndex = 18;
|
|
this.lblDC5.Text = "15";
|
|
//
|
|
// lblDC4
|
|
//
|
|
this.lblDC4.AutoSize = true;
|
|
this.lblDC4.Location = new System.Drawing.Point(214, 28);
|
|
this.lblDC4.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblDC4.Name = "lblDC4";
|
|
this.lblDC4.Size = new System.Drawing.Size(19, 13);
|
|
this.lblDC4.TabIndex = 17;
|
|
this.lblDC4.Text = "14";
|
|
//
|
|
// lblDC3
|
|
//
|
|
this.lblDC3.AutoSize = true;
|
|
this.lblDC3.Location = new System.Drawing.Point(188, 28);
|
|
this.lblDC3.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblDC3.Name = "lblDC3";
|
|
this.lblDC3.Size = new System.Drawing.Size(19, 13);
|
|
this.lblDC3.TabIndex = 16;
|
|
this.lblDC3.Text = "13";
|
|
//
|
|
// lblDC2
|
|
//
|
|
this.lblDC2.AutoSize = true;
|
|
this.lblDC2.Location = new System.Drawing.Point(162, 28);
|
|
this.lblDC2.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblDC2.Name = "lblDC2";
|
|
this.lblDC2.Size = new System.Drawing.Size(19, 13);
|
|
this.lblDC2.TabIndex = 15;
|
|
this.lblDC2.Text = "12";
|
|
//
|
|
// lblDC1
|
|
//
|
|
this.lblDC1.AutoSize = true;
|
|
this.lblDC1.Location = new System.Drawing.Point(136, 28);
|
|
this.lblDC1.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblDC1.Name = "lblDC1";
|
|
this.lblDC1.Size = new System.Drawing.Size(19, 13);
|
|
this.lblDC1.TabIndex = 14;
|
|
this.lblDC1.Text = "11";
|
|
//
|
|
// label18
|
|
//
|
|
this.label18.AutoSize = true;
|
|
this.label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label18.Location = new System.Drawing.Point(318, 1);
|
|
this.label18.Name = "label18";
|
|
this.label18.Size = new System.Drawing.Size(17, 17);
|
|
this.label18.TabIndex = 11;
|
|
this.label18.Text = "8";
|
|
//
|
|
// label17
|
|
//
|
|
this.label17.AutoSize = true;
|
|
this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label17.Location = new System.Drawing.Point(292, 1);
|
|
this.label17.Name = "label17";
|
|
this.label17.Size = new System.Drawing.Size(17, 17);
|
|
this.label17.TabIndex = 10;
|
|
this.label17.Text = "7";
|
|
//
|
|
// label16
|
|
//
|
|
this.label16.AutoSize = true;
|
|
this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label16.Location = new System.Drawing.Point(266, 1);
|
|
this.label16.Name = "label16";
|
|
this.label16.Size = new System.Drawing.Size(17, 17);
|
|
this.label16.TabIndex = 9;
|
|
this.label16.Text = "6";
|
|
//
|
|
// label15
|
|
//
|
|
this.label15.AutoSize = true;
|
|
this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label15.Location = new System.Drawing.Point(240, 1);
|
|
this.label15.Name = "label15";
|
|
this.label15.Size = new System.Drawing.Size(17, 17);
|
|
this.label15.TabIndex = 8;
|
|
this.label15.Text = "5";
|
|
//
|
|
// label14
|
|
//
|
|
this.label14.AutoSize = true;
|
|
this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label14.Location = new System.Drawing.Point(214, 1);
|
|
this.label14.Name = "label14";
|
|
this.label14.Size = new System.Drawing.Size(17, 17);
|
|
this.label14.TabIndex = 7;
|
|
this.label14.Text = "4";
|
|
//
|
|
// label13
|
|
//
|
|
this.label13.AutoSize = true;
|
|
this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label13.Location = new System.Drawing.Point(188, 1);
|
|
this.label13.Name = "label13";
|
|
this.label13.Size = new System.Drawing.Size(17, 17);
|
|
this.label13.TabIndex = 6;
|
|
this.label13.Text = "3";
|
|
//
|
|
// label12
|
|
//
|
|
this.label12.AutoSize = true;
|
|
this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label12.Location = new System.Drawing.Point(162, 1);
|
|
this.label12.Name = "label12";
|
|
this.label12.Size = new System.Drawing.Size(17, 17);
|
|
this.label12.TabIndex = 5;
|
|
this.label12.Text = "2";
|
|
//
|
|
// label11
|
|
//
|
|
this.label11.AutoSize = true;
|
|
this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label11.Location = new System.Drawing.Point(136, 1);
|
|
this.label11.Name = "label11";
|
|
this.label11.Size = new System.Drawing.Size(17, 17);
|
|
this.label11.TabIndex = 4;
|
|
this.label11.Text = "1";
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label7.Location = new System.Drawing.Point(4, 4);
|
|
this.label7.Margin = new System.Windows.Forms.Padding(3);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(93, 17);
|
|
this.label7.TabIndex = 0;
|
|
this.label7.Text = "Spell Level:";
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label8.Location = new System.Drawing.Point(4, 28);
|
|
this.label8.Margin = new System.Windows.Forms.Padding(3);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(75, 17);
|
|
this.label8.TabIndex = 1;
|
|
this.label8.Text = "Spell DC:";
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label9.Location = new System.Drawing.Point(4, 52);
|
|
this.label9.Margin = new System.Windows.Forms.Padding(3);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(99, 17);
|
|
this.label9.TabIndex = 2;
|
|
this.label9.Text = "Extra Spells:";
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label10.Location = new System.Drawing.Point(110, 1);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(17, 17);
|
|
this.label10.TabIndex = 3;
|
|
this.label10.Text = "0";
|
|
//
|
|
// label19
|
|
//
|
|
this.label19.AutoSize = true;
|
|
this.label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.label19.Location = new System.Drawing.Point(344, 1);
|
|
this.label19.Name = "label19";
|
|
this.label19.Size = new System.Drawing.Size(17, 17);
|
|
this.label19.TabIndex = 12;
|
|
this.label19.Text = "9";
|
|
//
|
|
// lblDC0
|
|
//
|
|
this.lblDC0.AutoSize = true;
|
|
this.lblDC0.Location = new System.Drawing.Point(110, 28);
|
|
this.lblDC0.Margin = new System.Windows.Forms.Padding(3);
|
|
this.lblDC0.Name = "lblDC0";
|
|
this.lblDC0.Size = new System.Drawing.Size(19, 13);
|
|
this.lblDC0.TabIndex = 13;
|
|
this.lblDC0.Text = "10";
|
|
//
|
|
// charClassComboBox
|
|
//
|
|
this.charClassComboBox.FormattingEnabled = true;
|
|
this.charClassComboBox.Location = new System.Drawing.Point(56, 66);
|
|
this.charClassComboBox.Name = "charClassComboBox";
|
|
this.charClassComboBox.Size = new System.Drawing.Size(156, 21);
|
|
this.charClassComboBox.TabIndex = 1;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(12, 69);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(35, 13);
|
|
this.label6.TabIndex = 22;
|
|
this.label6.Text = "Class:";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)));
|
|
this.groupBox1.Controls.Add(this.txtSpellCastingAttribute);
|
|
this.groupBox1.Controls.Add(this.lblSpellCastingAttributeMod);
|
|
this.groupBox1.Controls.Add(this.lblModifiers);
|
|
this.groupBox1.Controls.Add(this.lblSpellCastingAttribute);
|
|
this.groupBox1.Location = new System.Drawing.Point(15, 98);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(201, 73);
|
|
this.groupBox1.TabIndex = 2;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Attributes";
|
|
//
|
|
// txtSpellCastingAttribute
|
|
//
|
|
this.txtSpellCastingAttribute.Location = new System.Drawing.Point(60, 40);
|
|
this.txtSpellCastingAttribute.Mask = "00";
|
|
this.txtSpellCastingAttribute.Name = "txtSpellCastingAttribute";
|
|
this.txtSpellCastingAttribute.Size = new System.Drawing.Size(33, 20);
|
|
this.txtSpellCastingAttribute.TabIndex = 0;
|
|
this.txtSpellCastingAttribute.Text = "10";
|
|
this.txtSpellCastingAttribute.ValidatingType = typeof(int);
|
|
this.txtSpellCastingAttribute.TextChanged += new System.EventHandler(this.txtSpellCastingAttribute_TextChanged);
|
|
//
|
|
// lblSpellCastingAttributeMod
|
|
//
|
|
this.lblSpellCastingAttributeMod.AutoSize = true;
|
|
this.lblSpellCastingAttributeMod.Location = new System.Drawing.Point(119, 43);
|
|
this.lblSpellCastingAttributeMod.Name = "lblSpellCastingAttributeMod";
|
|
this.lblSpellCastingAttributeMod.Size = new System.Drawing.Size(13, 13);
|
|
this.lblSpellCastingAttributeMod.TabIndex = 16;
|
|
this.lblSpellCastingAttributeMod.Text = "0";
|
|
//
|
|
// lblModifiers
|
|
//
|
|
this.lblModifiers.AutoSize = true;
|
|
this.lblModifiers.Location = new System.Drawing.Point(109, 16);
|
|
this.lblModifiers.Name = "lblModifiers";
|
|
this.lblModifiers.Size = new System.Drawing.Size(52, 13);
|
|
this.lblModifiers.TabIndex = 15;
|
|
this.lblModifiers.Text = "Modifiers:";
|
|
//
|
|
// lblSpellCastingAttribute
|
|
//
|
|
this.lblSpellCastingAttribute.AutoSize = true;
|
|
this.lblSpellCastingAttribute.Location = new System.Drawing.Point(6, 43);
|
|
this.lblSpellCastingAttribute.Name = "lblSpellCastingAttribute";
|
|
this.lblSpellCastingAttribute.Size = new System.Drawing.Size(48, 13);
|
|
this.lblSpellCastingAttribute.TabIndex = 2;
|
|
this.lblSpellCastingAttribute.Text = "Wisdom:";
|
|
//
|
|
// txtCharacter
|
|
//
|
|
this.txtCharacter.Location = new System.Drawing.Point(56, 40);
|
|
this.txtCharacter.Name = "txtCharacter";
|
|
this.txtCharacter.Size = new System.Drawing.Size(156, 20);
|
|
this.txtCharacter.TabIndex = 0;
|
|
this.txtCharacter.TextChanged += new System.EventHandler(this.txtCharacter_TextChanged);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(12, 43);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(38, 13);
|
|
this.label2.TabIndex = 1;
|
|
this.label2.Text = "Name:";
|
|
//
|
|
// lblDirections
|
|
//
|
|
this.lblDirections.AutoSize = true;
|
|
this.lblDirections.Location = new System.Drawing.Point(12, 14);
|
|
this.lblDirections.Name = "lblDirections";
|
|
this.lblDirections.Size = new System.Drawing.Size(578, 13);
|
|
this.lblDirections.TabIndex = 1;
|
|
this.lblDirections.Text = "Provide as much or as little information as you\'d like. We\'ll use your class and " +
|
|
"spellcasting attribute to determine spell DCs.";
|
|
//
|
|
// mainToolStrip
|
|
//
|
|
this.mainToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.newToolStripButton,
|
|
this.openToolStripButton,
|
|
this.saveToolStripButton,
|
|
this.printToolStripButton,
|
|
this.printPreviewToolstripButton,
|
|
this.toolStripSeparator,
|
|
this.cutToolStripButton,
|
|
this.copyToolStripButton,
|
|
this.pasteToolStripButton,
|
|
this.toolStripSeparator1,
|
|
this.helpToolStripButton});
|
|
this.mainToolStrip.Location = new System.Drawing.Point(0, 0);
|
|
this.mainToolStrip.Name = "mainToolStrip";
|
|
this.mainToolStrip.Size = new System.Drawing.Size(710, 25);
|
|
this.mainToolStrip.TabIndex = 1;
|
|
//
|
|
// newToolStripButton
|
|
//
|
|
this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.newToolStripButton.Image = global::d20_SRD_Spell_Lists.Properties.Resources.page_add;
|
|
this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.newToolStripButton.Name = "newToolStripButton";
|
|
this.newToolStripButton.Size = new System.Drawing.Size(23, 22);
|
|
this.newToolStripButton.Text = "&New";
|
|
this.newToolStripButton.Click += new System.EventHandler(this.newToolStripButton_Click);
|
|
//
|
|
// openToolStripButton
|
|
//
|
|
this.openToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.openToolStripButton.Image = global::d20_SRD_Spell_Lists.Properties.Resources.folder_page;
|
|
this.openToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.openToolStripButton.Name = "openToolStripButton";
|
|
this.openToolStripButton.Size = new System.Drawing.Size(23, 22);
|
|
this.openToolStripButton.Text = "&Open";
|
|
this.openToolStripButton.Click += new System.EventHandler(this.openToolStripButton_Click);
|
|
//
|
|
// saveToolStripButton
|
|
//
|
|
this.saveToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.saveToolStripButton.Image = global::d20_SRD_Spell_Lists.Properties.Resources.page_save;
|
|
this.saveToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.saveToolStripButton.Name = "saveToolStripButton";
|
|
this.saveToolStripButton.Size = new System.Drawing.Size(23, 22);
|
|
this.saveToolStripButton.Text = "&Save";
|
|
this.saveToolStripButton.Click += new System.EventHandler(this.saveToolStripButton_Click);
|
|
//
|
|
// printToolStripButton
|
|
//
|
|
this.printToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.printToolStripButton.Image = global::d20_SRD_Spell_Lists.Properties.Resources.printer;
|
|
this.printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.printToolStripButton.Name = "printToolStripButton";
|
|
this.printToolStripButton.Size = new System.Drawing.Size(23, 22);
|
|
this.printToolStripButton.Text = "&Print";
|
|
this.printToolStripButton.Click += new System.EventHandler(this.printToolStripButton_Click);
|
|
//
|
|
// printPreviewToolstripButton
|
|
//
|
|
this.printPreviewToolstripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.printPreviewToolstripButton.Image = global::d20_SRD_Spell_Lists.Properties.Resources.print_preview;
|
|
this.printPreviewToolstripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.printPreviewToolstripButton.Name = "printPreviewToolstripButton";
|
|
this.printPreviewToolstripButton.Size = new System.Drawing.Size(23, 22);
|
|
this.printPreviewToolstripButton.Text = "Print Preview";
|
|
this.printPreviewToolstripButton.Click += new System.EventHandler(this.printPreviewToolstripButton_Click);
|
|
//
|
|
// toolStripSeparator
|
|
//
|
|
this.toolStripSeparator.Name = "toolStripSeparator";
|
|
this.toolStripSeparator.Size = new System.Drawing.Size(6, 25);
|
|
//
|
|
// cutToolStripButton
|
|
//
|
|
this.cutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.cutToolStripButton.Image = global::d20_SRD_Spell_Lists.Properties.Resources.cut;
|
|
this.cutToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.cutToolStripButton.Name = "cutToolStripButton";
|
|
this.cutToolStripButton.Size = new System.Drawing.Size(23, 22);
|
|
this.cutToolStripButton.Text = "C&ut";
|
|
//
|
|
// copyToolStripButton
|
|
//
|
|
this.copyToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.copyToolStripButton.Image = global::d20_SRD_Spell_Lists.Properties.Resources.page_copy;
|
|
this.copyToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.copyToolStripButton.Name = "copyToolStripButton";
|
|
this.copyToolStripButton.Size = new System.Drawing.Size(23, 22);
|
|
this.copyToolStripButton.Text = "&Copy";
|
|
//
|
|
// pasteToolStripButton
|
|
//
|
|
this.pasteToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
this.pasteToolStripButton.Image = global::d20_SRD_Spell_Lists.Properties.Resources.page_paste;
|
|
this.pasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.pasteToolStripButton.Name = "pasteToolStripButton";
|
|
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;
|
|
this.helpToolStripButton.Image = global::d20_SRD_Spell_Lists.Properties.Resources.information;
|
|
this.helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
this.helpToolStripButton.Name = "helpToolStripButton";
|
|
this.helpToolStripButton.Size = new System.Drawing.Size(23, 22);
|
|
this.helpToolStripButton.Text = "A&bout";
|
|
this.helpToolStripButton.Click += new System.EventHandler(this.helpToolStripButton_Click);
|
|
//
|
|
// 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.Fill;
|
|
this.spellsDataGridView.Location = new System.Drawing.Point(0, 0);
|
|
this.spellsDataGridView.Name = "spellsDataGridView";
|
|
this.spellsDataGridView.ReadOnly = true;
|
|
this.spellsDataGridView.Size = new System.Drawing.Size(710, 354);
|
|
this.spellsDataGridView.TabIndex = 0;
|
|
this.spellsDataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.spellsDataGridView_CellContentClick);
|
|
//
|
|
// prepColumn
|
|
//
|
|
this.prepColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
|
|
this.prepColumn.DataPropertyName = "IsPrepped";
|
|
this.prepColumn.HeaderText = "Prep?";
|
|
this.prepColumn.Name = "prepColumn";
|
|
this.prepColumn.ReadOnly = true;
|
|
this.prepColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.prepColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
|
|
this.prepColumn.Width = 75;
|
|
//
|
|
// levelColumn
|
|
//
|
|
this.levelColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
|
this.levelColumn.DataPropertyName = "Level";
|
|
this.levelColumn.HeaderText = "Lvl";
|
|
this.levelColumn.Name = "levelColumn";
|
|
this.levelColumn.ReadOnly = true;
|
|
this.levelColumn.Width = 46;
|
|
//
|
|
// spellNameColumn
|
|
//
|
|
this.spellNameColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.spellNameColumn.DataPropertyName = "Name";
|
|
this.spellNameColumn.HeaderText = "Name";
|
|
this.spellNameColumn.Name = "spellNameColumn";
|
|
this.spellNameColumn.ReadOnly = true;
|
|
this.spellNameColumn.Width = 60;
|
|
//
|
|
// componentColumn
|
|
//
|
|
this.componentColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
this.componentColumn.DataPropertyName = "Components";
|
|
this.componentColumn.HeaderText = "Comp";
|
|
this.componentColumn.Name = "componentColumn";
|
|
this.componentColumn.ReadOnly = true;
|
|
this.componentColumn.Width = 59;
|
|
//
|
|
// descColumn
|
|
//
|
|
this.descColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
|
|
this.descColumn.DataPropertyName = "ShortDescription";
|
|
this.descColumn.HeaderText = "Description";
|
|
this.descColumn.Name = "descColumn";
|
|
this.descColumn.ReadOnly = true;
|
|
//
|
|
// editColumn
|
|
//
|
|
this.editColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.White;
|
|
dataGridViewCellStyle1.NullValue = ((object)(resources.GetObject("dataGridViewCellStyle1.NullValue")));
|
|
this.editColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
|
this.editColumn.HeaderText = "";
|
|
this.editColumn.Image = global::d20_SRD_Spell_Lists.Properties.Resources.pencil;
|
|
this.editColumn.Name = "editColumn";
|
|
this.editColumn.ReadOnly = true;
|
|
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.delete;
|
|
this.deleteColumn.Name = "deleteColumn";
|
|
this.deleteColumn.ReadOnly = true;
|
|
this.deleteColumn.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.deleteColumn.Width = 5;
|
|
//
|
|
// btnAdd
|
|
//
|
|
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnAdd.Location = new System.Drawing.Point(623, 144);
|
|
this.btnAdd.Name = "btnAdd";
|
|
this.btnAdd.Size = new System.Drawing.Size(75, 23);
|
|
this.btnAdd.TabIndex = 3;
|
|
this.btnAdd.Text = "Add Spell";
|
|
this.btnAdd.UseVisualStyleBackColor = true;
|
|
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
|
//
|
|
// splitContainer1
|
|
//
|
|
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
|
this.splitContainer1.Location = new System.Drawing.Point(0, 25);
|
|
this.splitContainer1.Name = "splitContainer1";
|
|
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
|
//
|
|
// splitContainer1.Panel1
|
|
//
|
|
this.splitContainer1.Panel1.Controls.Add(this.lblDirections);
|
|
this.splitContainer1.Panel1.Controls.Add(this.btnAdd);
|
|
this.splitContainer1.Panel1.Controls.Add(this.label2);
|
|
this.splitContainer1.Panel1.Controls.Add(this.txtCharacter);
|
|
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
|
|
this.splitContainer1.Panel1.Controls.Add(this.groupBox1);
|
|
this.splitContainer1.Panel1.Controls.Add(this.charClassComboBox);
|
|
this.splitContainer1.Panel1.Controls.Add(this.label6);
|
|
//
|
|
// splitContainer1.Panel2
|
|
//
|
|
this.splitContainer1.Panel2.Controls.Add(this.spellsDataGridView);
|
|
this.splitContainer1.Size = new System.Drawing.Size(710, 537);
|
|
this.splitContainer1.SplitterDistance = 179;
|
|
this.splitContainer1.TabIndex = 0;
|
|
//
|
|
// printDoc
|
|
//
|
|
this.printDoc.DocumentName = "D20 3.5 SRD Spell List";
|
|
//
|
|
// dataGridViewImageColumn1
|
|
//
|
|
this.dataGridViewImageColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
|
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
dataGridViewCellStyle2.BackColor = System.Drawing.Color.Gray;
|
|
dataGridViewCellStyle2.NullValue = ((object)(resources.GetObject("dataGridViewCellStyle2.NullValue")));
|
|
this.dataGridViewImageColumn1.DefaultCellStyle = dataGridViewCellStyle2;
|
|
this.dataGridViewImageColumn1.HeaderText = "";
|
|
this.dataGridViewImageColumn1.Image = global::d20_SRD_Spell_Lists.Properties.Resources.edit_16;
|
|
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
|
|
this.dataGridViewImageColumn1.ReadOnly = true;
|
|
this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
this.dataGridViewImageColumn1.ToolTipText = "Edit spell";
|
|
//
|
|
// 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.ReadOnly = true;
|
|
this.dataGridViewImageColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
|
//
|
|
// FrmMain
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(710, 562);
|
|
this.Controls.Add(this.splitContainer1);
|
|
this.Controls.Add(this.mainToolStrip);
|
|
this.Name = "FrmMain";
|
|
this.Text = "D&D 3.5 SRD Spell Lists";
|
|
this.Closing += new System.ComponentModel.CancelEventHandler(this.FrmMain_Closing);
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
this.tableLayoutPanel1.PerformLayout();
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.mainToolStrip.ResumeLayout(false);
|
|
this.mainToolStrip.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.spellsDataGridView)).EndInit();
|
|
this.splitContainer1.Panel1.ResumeLayout(false);
|
|
this.splitContainer1.Panel1.PerformLayout();
|
|
this.splitContainer1.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
|
this.splitContainer1.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.ToolStrip mainToolStrip;
|
|
private System.Windows.Forms.ToolStripButton newToolStripButton;
|
|
private System.Windows.Forms.ToolStripButton openToolStripButton;
|
|
private System.Windows.Forms.ToolStripButton saveToolStripButton;
|
|
private System.Windows.Forms.ToolStripButton printToolStripButton;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
|
|
private System.Windows.Forms.ToolStripButton cutToolStripButton;
|
|
private System.Windows.Forms.ToolStripButton copyToolStripButton;
|
|
private System.Windows.Forms.ToolStripButton pasteToolStripButton;
|
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
|
private System.Windows.Forms.ToolStripButton helpToolStripButton;
|
|
private System.Windows.Forms.Label lblSpellCastingAttribute;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label lblDirections;
|
|
private System.Windows.Forms.TextBox txtCharacter;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Label lblSpellCastingAttributeMod;
|
|
private System.Windows.Forms.Label lblModifiers;
|
|
private System.Windows.Forms.MaskedTextBox txtSpellCastingAttribute;
|
|
private System.Windows.Forms.ComboBox charClassComboBox;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.Label label18;
|
|
private System.Windows.Forms.Label label17;
|
|
private System.Windows.Forms.Label label16;
|
|
private System.Windows.Forms.Label label15;
|
|
private System.Windows.Forms.Label label14;
|
|
private System.Windows.Forms.Label label13;
|
|
private System.Windows.Forms.Label label12;
|
|
private System.Windows.Forms.Label label11;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.Label label19;
|
|
private System.Windows.Forms.Label lblExtra9;
|
|
private System.Windows.Forms.Label lblExtra8;
|
|
private System.Windows.Forms.Label lblExtra7;
|
|
private System.Windows.Forms.Label lblExtra6;
|
|
private System.Windows.Forms.Label lblExtra5;
|
|
private System.Windows.Forms.Label lblExtra4;
|
|
private System.Windows.Forms.Label lblExtra3;
|
|
private System.Windows.Forms.Label lblExtra2;
|
|
private System.Windows.Forms.Label lblExtra1;
|
|
private System.Windows.Forms.Label lblExtra0;
|
|
private System.Windows.Forms.Label lblDC9;
|
|
private System.Windows.Forms.Label lblDC8;
|
|
private System.Windows.Forms.Label lblDC7;
|
|
private System.Windows.Forms.Label lblDC6;
|
|
private System.Windows.Forms.Label lblDC5;
|
|
private System.Windows.Forms.Label lblDC4;
|
|
private System.Windows.Forms.Label lblDC3;
|
|
private System.Windows.Forms.Label lblDC2;
|
|
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.DataGridViewImageColumn dataGridViewImageColumn1;
|
|
private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn2;
|
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
|
private System.Windows.Forms.ToolStripButton printPreviewToolstripButton;
|
|
private System.Drawing.Printing.PrintDocument printDoc;
|
|
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.DataGridViewImageColumn editColumn;
|
|
private System.Windows.Forms.DataGridViewImageColumn deleteColumn;
|
|
}
|
|
}
|
|
|