Updated the table class files to allow a nullable ad special ID and changed the enum in the new modify record form to a boolean. Added a form to manage ad special keywords, still needs to handle removing them properly.

This commit is contained in:
2017-04-10 16:42:21 -05:00
parent d4d0a62eba
commit 09508aa16c
17 changed files with 594 additions and 86 deletions
+18 -27
View File
@@ -31,8 +31,9 @@
this.mainLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this.mainMenuStrip = new System.Windows.Forms.MenuStrip();
this.FileMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.clearFormFileMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.exitFileMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.editMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.createNewRecordEditMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mainTabControl = new System.Windows.Forms.TabControl();
this.projectionTabPage = new System.Windows.Forms.TabPage();
this.projectionsDataGridView = new System.Windows.Forms.DataGridView();
@@ -106,8 +107,6 @@
this.informationPanel = new System.Windows.Forms.Panel();
this.errorLabel = new System.Windows.Forms.Label();
this.addRecordButton = new System.Windows.Forms.Button();
this.editMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.createNewRecordEditMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.mainLayoutPanel.SuspendLayout();
this.mainMenuStrip.SuspendLayout();
this.mainTabControl.SuspendLayout();
@@ -175,24 +174,32 @@
// FileMainMenu
//
this.FileMainMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.clearFormFileMainMenu,
this.exitFileMainMenu});
this.FileMainMenu.Name = "FileMainMenu";
this.FileMainMenu.Size = new System.Drawing.Size(56, 31);
this.FileMainMenu.Text = "&File";
//
// clearFormFileMainMenu
//
this.clearFormFileMainMenu.Name = "clearFormFileMainMenu";
this.clearFormFileMainMenu.Size = new System.Drawing.Size(205, 34);
this.clearFormFileMainMenu.Text = "&Clear Form";
//
// exitFileMainMenu
//
this.exitFileMainMenu.Name = "exitFileMainMenu";
this.exitFileMainMenu.Size = new System.Drawing.Size(205, 34);
this.exitFileMainMenu.Size = new System.Drawing.Size(138, 34);
this.exitFileMainMenu.Text = "E&xit";
//
// editMainMenu
//
this.editMainMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.createNewRecordEditMainMenu});
this.editMainMenu.Name = "editMainMenu";
this.editMainMenu.Size = new System.Drawing.Size(60, 31);
this.editMainMenu.Text = "&Edit";
//
// createNewRecordEditMainMenu
//
this.createNewRecordEditMainMenu.Name = "createNewRecordEditMainMenu";
this.createNewRecordEditMainMenu.Size = new System.Drawing.Size(283, 34);
this.createNewRecordEditMainMenu.Text = "&Create New Record";
this.createNewRecordEditMainMenu.Click += new System.EventHandler(this.createNewRecordEditMainMenu_Click);
//
// mainTabControl
//
this.mainLayoutPanel.SetColumnSpan(this.mainTabControl, 4);
@@ -939,21 +946,6 @@
this.addRecordButton.UseVisualStyleBackColor = true;
this.addRecordButton.Click += new System.EventHandler(this.addRecordButton_Click);
//
// editMainMenu
//
this.editMainMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.createNewRecordEditMainMenu});
this.editMainMenu.Name = "editMainMenu";
this.editMainMenu.Size = new System.Drawing.Size(60, 31);
this.editMainMenu.Text = "&Edit";
//
// createNewRecordEditMainMenu
//
this.createNewRecordEditMainMenu.Name = "createNewRecordEditMainMenu";
this.createNewRecordEditMainMenu.Size = new System.Drawing.Size(283, 34);
this.createNewRecordEditMainMenu.Text = "&Create New Record";
this.createNewRecordEditMainMenu.Click += new System.EventHandler(this.createNewRecordEditMainMenu_Click);
//
// NewModifyRecord
//
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F);
@@ -1004,7 +996,6 @@
private System.Windows.Forms.TableLayoutPanel mainLayoutPanel;
private System.Windows.Forms.MenuStrip mainMenuStrip;
private System.Windows.Forms.ToolStripMenuItem FileMainMenu;
private System.Windows.Forms.ToolStripMenuItem clearFormFileMainMenu;
private System.Windows.Forms.ToolStripMenuItem exitFileMainMenu;
private System.Windows.Forms.TabControl mainTabControl;
private System.Windows.Forms.TabPage projectionTabPage;