Print preview works. Working on the damn Credits box.
Signed-off-by: Melissa Avery-Weir <melissa.avery@wellsfargo.com>
This commit is contained in:
300
d20 SRD Spell Lists/FrmMain.Designer.cs
generated
300
d20 SRD Spell Lists/FrmMain.Designer.cs
generated
@@ -23,8 +23,8 @@
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent() {
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.lblExtra9 = new System.Windows.Forms.Label();
|
||||
@@ -71,21 +71,23 @@
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.lblDirections = new System.Windows.Forms.Label();
|
||||
this.mainToolStrip = new System.Windows.Forms.ToolStrip();
|
||||
this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
|
||||
this.spellsDataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.btnAdd = new System.Windows.Forms.Button();
|
||||
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn();
|
||||
this.newToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||
this.openToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||
this.saveToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||
this.printToolStripButton = new System.Windows.Forms.ToolStripButton();
|
||||
this.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.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.prepColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.levelColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.spellNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -96,12 +98,17 @@
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.mainToolStrip.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
|
||||
((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;
|
||||
@@ -149,7 +156,7 @@
|
||||
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, 115);
|
||||
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());
|
||||
@@ -494,7 +501,7 @@
|
||||
// charClassComboBox
|
||||
//
|
||||
this.charClassComboBox.FormattingEnabled = true;
|
||||
this.charClassComboBox.Location = new System.Drawing.Point(60, 88);
|
||||
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 = 23;
|
||||
@@ -502,7 +509,7 @@
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(12, 91);
|
||||
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;
|
||||
@@ -510,11 +517,13 @@
|
||||
//
|
||||
// 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, 115);
|
||||
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 = 15;
|
||||
@@ -561,7 +570,7 @@
|
||||
//
|
||||
// txtCharacter
|
||||
//
|
||||
this.txtCharacter.Location = new System.Drawing.Point(60, 62);
|
||||
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 = 8;
|
||||
@@ -570,7 +579,7 @@
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(12, 65);
|
||||
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;
|
||||
@@ -579,7 +588,7 @@
|
||||
// lblDirections
|
||||
//
|
||||
this.lblDirections.AutoSize = true;
|
||||
this.lblDirections.Location = new System.Drawing.Point(12, 35);
|
||||
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 = 0;
|
||||
@@ -593,6 +602,7 @@
|
||||
this.openToolStripButton,
|
||||
this.saveToolStripButton,
|
||||
this.printToolStripButton,
|
||||
this.printPreviewToolstripButton,
|
||||
this.toolStripSeparator,
|
||||
this.cutToolStripButton,
|
||||
this.copyToolStripButton,
|
||||
@@ -601,22 +611,104 @@
|
||||
this.helpToolStripButton});
|
||||
this.mainToolStrip.Location = new System.Drawing.Point(0, 0);
|
||||
this.mainToolStrip.Name = "mainToolStrip";
|
||||
this.mainToolStrip.Size = new System.Drawing.Size(784, 25);
|
||||
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";
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// errorProvider
|
||||
// helpToolStripButton
|
||||
//
|
||||
this.errorProvider.ContainerControl = this;
|
||||
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
|
||||
//
|
||||
@@ -631,17 +723,18 @@
|
||||
this.descColumn,
|
||||
this.editColumn,
|
||||
this.deleteColumn});
|
||||
this.spellsDataGridView.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.spellsDataGridView.Location = new System.Drawing.Point(0, 194);
|
||||
this.spellsDataGridView.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(784, 368);
|
||||
this.spellsDataGridView.Size = new System.Drawing.Size(710, 354);
|
||||
this.spellsDataGridView.TabIndex = 24;
|
||||
this.spellsDataGridView.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.spellsDataGridView_CellContentClick);
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Location = new System.Drawing.Point(697, 165);
|
||||
this.btnAdd.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 = 25;
|
||||
@@ -649,14 +742,49 @@
|
||||
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 = 26;
|
||||
//
|
||||
// printDoc
|
||||
//
|
||||
this.printDoc.DocumentName = "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.Width = 5;
|
||||
this.dataGridViewImageColumn1.ToolTipText = "Edit spell";
|
||||
//
|
||||
// dataGridViewImageColumn2
|
||||
//
|
||||
@@ -664,93 +792,19 @@
|
||||
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;
|
||||
this.dataGridViewImageColumn2.Width = 5;
|
||||
//
|
||||
// newToolStripButton
|
||||
//
|
||||
this.newToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.newToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("newToolStripButton.Image")));
|
||||
this.newToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.newToolStripButton.Name = "newToolStripButton";
|
||||
this.newToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||
this.newToolStripButton.Text = "&New";
|
||||
//
|
||||
// openToolStripButton
|
||||
//
|
||||
this.openToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.openToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripButton.Image")));
|
||||
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 = ((System.Drawing.Image)(resources.GetObject("saveToolStripButton.Image")));
|
||||
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 = ((System.Drawing.Image)(resources.GetObject("printToolStripButton.Image")));
|
||||
this.printToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.printToolStripButton.Name = "printToolStripButton";
|
||||
this.printToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||
this.printToolStripButton.Text = "&Print";
|
||||
//
|
||||
// cutToolStripButton
|
||||
//
|
||||
this.cutToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.cutToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("cutToolStripButton.Image")));
|
||||
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 = ((System.Drawing.Image)(resources.GetObject("copyToolStripButton.Image")));
|
||||
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 = ((System.Drawing.Image)(resources.GetObject("pasteToolStripButton.Image")));
|
||||
this.pasteToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.pasteToolStripButton.Name = "pasteToolStripButton";
|
||||
this.pasteToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||
this.pasteToolStripButton.Text = "&Paste";
|
||||
//
|
||||
// helpToolStripButton
|
||||
//
|
||||
this.helpToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||
this.helpToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("helpToolStripButton.Image")));
|
||||
this.helpToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.helpToolStripButton.Name = "helpToolStripButton";
|
||||
this.helpToolStripButton.Size = new System.Drawing.Size(23, 22);
|
||||
this.helpToolStripButton.Text = "He&lp";
|
||||
//
|
||||
// prepColumn
|
||||
//
|
||||
this.prepColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||
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 = 41;
|
||||
this.prepColumn.Width = 75;
|
||||
//
|
||||
// levelColumn
|
||||
//
|
||||
@@ -763,7 +817,7 @@
|
||||
//
|
||||
// spellNameColumn
|
||||
//
|
||||
this.spellNameColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;
|
||||
this.spellNameColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||||
this.spellNameColumn.DataPropertyName = "Name";
|
||||
this.spellNameColumn.HeaderText = "Name";
|
||||
this.spellNameColumn.Name = "spellNameColumn";
|
||||
@@ -772,7 +826,7 @@
|
||||
//
|
||||
// componentColumn
|
||||
//
|
||||
this.componentColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader;
|
||||
this.componentColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||||
this.componentColumn.DataPropertyName = "Components";
|
||||
this.componentColumn.HeaderText = "Comp";
|
||||
this.componentColumn.Name = "componentColumn";
|
||||
@@ -790,12 +844,12 @@
|
||||
// editColumn
|
||||
//
|
||||
this.editColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.Color.Gray;
|
||||
dataGridViewCellStyle5.NullValue = ((object)(resources.GetObject("dataGridViewCellStyle5.NullValue")));
|
||||
this.editColumn.DefaultCellStyle = dataGridViewCellStyle5;
|
||||
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.edit_16;
|
||||
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;
|
||||
@@ -806,7 +860,7 @@
|
||||
//
|
||||
this.deleteColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
|
||||
this.deleteColumn.HeaderText = "";
|
||||
this.deleteColumn.Image = global::d20_SRD_Spell_Lists.Properties.Resources.editdelete_16;
|
||||
this.deleteColumn.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;
|
||||
@@ -816,16 +870,8 @@
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(784, 562);
|
||||
this.Controls.Add(this.btnAdd);
|
||||
this.Controls.Add(this.spellsDataGridView);
|
||||
this.Controls.Add(this.tableLayoutPanel1);
|
||||
this.Controls.Add(this.charClassComboBox);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.txtCharacter);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.lblDirections);
|
||||
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";
|
||||
@@ -835,8 +881,12 @@
|
||||
this.groupBox1.PerformLayout();
|
||||
this.mainToolStrip.ResumeLayout(false);
|
||||
this.mainToolStrip.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
|
||||
((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();
|
||||
|
||||
@@ -862,7 +912,6 @@
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
private System.Windows.Forms.Label lblSpellCastingAttributeMod;
|
||||
private System.Windows.Forms.Label lblModifiers;
|
||||
private System.Windows.Forms.ErrorProvider errorProvider;
|
||||
private System.Windows.Forms.MaskedTextBox txtSpellCastingAttribute;
|
||||
private System.Windows.Forms.ComboBox charClassComboBox;
|
||||
private System.Windows.Forms.Label label6;
|
||||
@@ -902,6 +951,11 @@
|
||||
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;
|
||||
@@ -909,8 +963,6 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn descColumn;
|
||||
private System.Windows.Forms.DataGridViewImageColumn editColumn;
|
||||
private System.Windows.Forms.DataGridViewImageColumn deleteColumn;
|
||||
private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn1;
|
||||
private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user