Created forms to allow the management of ad items, suppliers and ad special keywords. Updated the database migration tool to include the ad special table. Cleaned up the main form's code and did a slight touch up of the interface.

This commit is contained in:
2017-04-11 02:26:04 -05:00
parent 09508aa16c
commit 62a2c0f80e
15 changed files with 1443 additions and 303 deletions
+12 -10
View File
@@ -41,10 +41,10 @@
// registerAdSpecialButton
//
this.registerAdSpecialButton.Enabled = false;
this.registerAdSpecialButton.Location = new System.Drawing.Point(476, 428);
this.registerAdSpecialButton.Location = new System.Drawing.Point(480, 430);
this.registerAdSpecialButton.Name = "registerAdSpecialButton";
this.registerAdSpecialButton.Size = new System.Drawing.Size(200, 50);
this.registerAdSpecialButton.TabIndex = 0;
this.registerAdSpecialButton.TabIndex = 3;
this.registerAdSpecialButton.Text = "Register Ad Special";
this.registerAdSpecialButton.UseVisualStyleBackColor = true;
this.registerAdSpecialButton.Click += new System.EventHandler(this.RegisterNewAdSpecial);
@@ -52,10 +52,10 @@
// deleteAdSpecialButton
//
this.deleteAdSpecialButton.Enabled = false;
this.deleteAdSpecialButton.Location = new System.Drawing.Point(13, 428);
this.deleteAdSpecialButton.Location = new System.Drawing.Point(12, 430);
this.deleteAdSpecialButton.Name = "deleteAdSpecialButton";
this.deleteAdSpecialButton.Size = new System.Drawing.Size(200, 50);
this.deleteAdSpecialButton.TabIndex = 2;
this.deleteAdSpecialButton.TabIndex = 4;
this.deleteAdSpecialButton.Text = "Remove Ad Special";
this.deleteAdSpecialButton.UseVisualStyleBackColor = true;
this.deleteAdSpecialButton.Click += new System.EventHandler(this.deleteAdSpecialButton_Click);
@@ -72,18 +72,18 @@
// newAdSpecialTextBox
//
this.newAdSpecialTextBox.Location = new System.Drawing.Point(17, 54);
this.newAdSpecialTextBox.MaxLength = 32;
this.newAdSpecialTextBox.Name = "newAdSpecialTextBox";
this.newAdSpecialTextBox.Size = new System.Drawing.Size(228, 29);
this.newAdSpecialTextBox.TabIndex = 4;
this.newAdSpecialTextBox.TabIndex = 1;
//
// informationLabel
//
this.informationLabel.AutoSize = true;
this.informationLabel.Location = new System.Drawing.Point(17, 171);
this.informationLabel.Name = "informationLabel";
this.informationLabel.Size = new System.Drawing.Size(64, 25);
this.informationLabel.Size = new System.Drawing.Size(0, 25);
this.informationLabel.TabIndex = 5;
this.informationLabel.Text = "label1";
//
// adSpecialDescription
//
@@ -97,17 +97,19 @@
// descriptionTextBox
//
this.descriptionTextBox.Location = new System.Drawing.Point(17, 124);
this.descriptionTextBox.MaxLength = 128;
this.descriptionTextBox.Name = "descriptionTextBox";
this.descriptionTextBox.Size = new System.Drawing.Size(228, 29);
this.descriptionTextBox.TabIndex = 7;
this.descriptionTextBox.TabIndex = 2;
//
// adSpecialsListBox
//
this.adSpecialsListBox.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.adSpecialsListBox.Location = new System.Drawing.Point(256, 21);
this.adSpecialsListBox.Location = new System.Drawing.Point(260, 21);
this.adSpecialsListBox.Name = "adSpecialsListBox";
this.adSpecialsListBox.Size = new System.Drawing.Size(420, 401);
this.adSpecialsListBox.TabIndex = 8;
this.adSpecialsListBox.TabStop = false;
this.adSpecialsListBox.UseCompatibleStateImageBehavior = false;
this.adSpecialsListBox.View = System.Windows.Forms.View.Details;
//
@@ -115,7 +117,7 @@
//
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(686, 489);
this.ClientSize = new System.Drawing.Size(692, 492);
this.Controls.Add(this.adSpecialsListBox);
this.Controls.Add(this.descriptionTextBox);
this.Controls.Add(this.adSpecialDescription);