Added dirty flags to the comments, cost analysis, weekly sales and taxable, as well as formatting, validation and auto summing for the latter two. The Tag properties of the check boxes for the dirty flags will contain the IDs.
This commit is contained in:
+39
-29
@@ -33,11 +33,11 @@
|
||||
this.currentAdSpecialKeyWords = new System.Windows.Forms.Label();
|
||||
this.adSpecialKeyWordsListBox = new System.Windows.Forms.ListBox();
|
||||
this.registerAdSpecialPanel = new System.Windows.Forms.Panel();
|
||||
this.notificationLabel = new System.Windows.Forms.Label();
|
||||
this.enterNewKeyWordTextBox = new System.Windows.Forms.TextBox();
|
||||
this.registerKeyWordButton = new System.Windows.Forms.Button();
|
||||
this.enterKeyWordHeaderLabel = new System.Windows.Forms.Label();
|
||||
this.DELETE = new System.Windows.Forms.Button();
|
||||
this.notificationLabel = new System.Windows.Forms.Label();
|
||||
this.mainLayoutPanel.SuspendLayout();
|
||||
this.registerAdSpecialPanel.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
@@ -54,12 +54,13 @@
|
||||
this.mainLayoutPanel.Controls.Add(this.DELETE, 0, 2);
|
||||
this.mainLayoutPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.mainLayoutPanel.Location = new System.Drawing.Point(0, 0);
|
||||
this.mainLayoutPanel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.mainLayoutPanel.Name = "mainLayoutPanel";
|
||||
this.mainLayoutPanel.RowCount = 3;
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 35F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 42F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.mainLayoutPanel.Size = new System.Drawing.Size(749, 563);
|
||||
this.mainLayoutPanel.Size = new System.Drawing.Size(915, 676);
|
||||
this.mainLayoutPanel.TabIndex = 0;
|
||||
//
|
||||
// currentAdSpecialKeyWords
|
||||
@@ -67,9 +68,10 @@
|
||||
this.currentAdSpecialKeyWords.AutoSize = true;
|
||||
this.currentAdSpecialKeyWords.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.currentAdSpecialKeyWords.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.currentAdSpecialKeyWords.Location = new System.Drawing.Point(377, 0);
|
||||
this.currentAdSpecialKeyWords.Location = new System.Drawing.Point(461, 0);
|
||||
this.currentAdSpecialKeyWords.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.currentAdSpecialKeyWords.Name = "currentAdSpecialKeyWords";
|
||||
this.currentAdSpecialKeyWords.Size = new System.Drawing.Size(369, 35);
|
||||
this.currentAdSpecialKeyWords.Size = new System.Drawing.Size(450, 42);
|
||||
this.currentAdSpecialKeyWords.TabIndex = 0;
|
||||
this.currentAdSpecialKeyWords.Text = "Registered Key Words:";
|
||||
//
|
||||
@@ -77,11 +79,12 @@
|
||||
//
|
||||
this.adSpecialKeyWordsListBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.adSpecialKeyWordsListBox.FormattingEnabled = true;
|
||||
this.adSpecialKeyWordsListBox.ItemHeight = 20;
|
||||
this.adSpecialKeyWordsListBox.Location = new System.Drawing.Point(377, 38);
|
||||
this.adSpecialKeyWordsListBox.ItemHeight = 24;
|
||||
this.adSpecialKeyWordsListBox.Location = new System.Drawing.Point(461, 46);
|
||||
this.adSpecialKeyWordsListBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.adSpecialKeyWordsListBox.Name = "adSpecialKeyWordsListBox";
|
||||
this.mainLayoutPanel.SetRowSpan(this.adSpecialKeyWordsListBox, 2);
|
||||
this.adSpecialKeyWordsListBox.Size = new System.Drawing.Size(369, 522);
|
||||
this.adSpecialKeyWordsListBox.Size = new System.Drawing.Size(450, 626);
|
||||
this.adSpecialKeyWordsListBox.Sorted = true;
|
||||
this.adSpecialKeyWordsListBox.TabIndex = 1;
|
||||
//
|
||||
@@ -91,24 +94,36 @@
|
||||
this.registerAdSpecialPanel.Controls.Add(this.enterNewKeyWordTextBox);
|
||||
this.registerAdSpecialPanel.Controls.Add(this.registerKeyWordButton);
|
||||
this.registerAdSpecialPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.registerAdSpecialPanel.Location = new System.Drawing.Point(3, 38);
|
||||
this.registerAdSpecialPanel.Location = new System.Drawing.Point(4, 46);
|
||||
this.registerAdSpecialPanel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.registerAdSpecialPanel.Name = "registerAdSpecialPanel";
|
||||
this.registerAdSpecialPanel.Size = new System.Drawing.Size(368, 258);
|
||||
this.registerAdSpecialPanel.Size = new System.Drawing.Size(449, 309);
|
||||
this.registerAdSpecialPanel.TabIndex = 3;
|
||||
//
|
||||
// notificationLabel
|
||||
//
|
||||
this.notificationLabel.AutoSize = true;
|
||||
this.notificationLabel.Location = new System.Drawing.Point(11, 100);
|
||||
this.notificationLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.notificationLabel.Name = "notificationLabel";
|
||||
this.notificationLabel.Size = new System.Drawing.Size(0, 25);
|
||||
this.notificationLabel.TabIndex = 3;
|
||||
//
|
||||
// enterNewKeyWordTextBox
|
||||
//
|
||||
this.enterNewKeyWordTextBox.Location = new System.Drawing.Point(3, 14);
|
||||
this.enterNewKeyWordTextBox.Location = new System.Drawing.Point(4, 17);
|
||||
this.enterNewKeyWordTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.enterNewKeyWordTextBox.Name = "enterNewKeyWordTextBox";
|
||||
this.enterNewKeyWordTextBox.Size = new System.Drawing.Size(257, 26);
|
||||
this.enterNewKeyWordTextBox.Size = new System.Drawing.Size(313, 29);
|
||||
this.enterNewKeyWordTextBox.TabIndex = 0;
|
||||
//
|
||||
// registerKeyWordButton
|
||||
//
|
||||
this.registerKeyWordButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.registerKeyWordButton.Location = new System.Drawing.Point(170, 211);
|
||||
this.registerKeyWordButton.Location = new System.Drawing.Point(207, 252);
|
||||
this.registerKeyWordButton.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.registerKeyWordButton.Name = "registerKeyWordButton";
|
||||
this.registerKeyWordButton.Size = new System.Drawing.Size(195, 44);
|
||||
this.registerKeyWordButton.Size = new System.Drawing.Size(238, 53);
|
||||
this.registerKeyWordButton.TabIndex = 2;
|
||||
this.registerKeyWordButton.Text = "Add new Key Word";
|
||||
this.registerKeyWordButton.UseVisualStyleBackColor = true;
|
||||
@@ -119,40 +134,35 @@
|
||||
this.enterKeyWordHeaderLabel.AutoSize = true;
|
||||
this.enterKeyWordHeaderLabel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.enterKeyWordHeaderLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.enterKeyWordHeaderLabel.Location = new System.Drawing.Point(3, 0);
|
||||
this.enterKeyWordHeaderLabel.Location = new System.Drawing.Point(4, 0);
|
||||
this.enterKeyWordHeaderLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.enterKeyWordHeaderLabel.Name = "enterKeyWordHeaderLabel";
|
||||
this.enterKeyWordHeaderLabel.Size = new System.Drawing.Size(368, 35);
|
||||
this.enterKeyWordHeaderLabel.Size = new System.Drawing.Size(449, 42);
|
||||
this.enterKeyWordHeaderLabel.TabIndex = 4;
|
||||
this.enterKeyWordHeaderLabel.Text = "Enter New Ad Special Key Word:";
|
||||
//
|
||||
// DELETE
|
||||
//
|
||||
this.DELETE.Enabled = false;
|
||||
this.DELETE.Location = new System.Drawing.Point(3, 302);
|
||||
this.DELETE.Location = new System.Drawing.Point(4, 363);
|
||||
this.DELETE.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.DELETE.Name = "DELETE";
|
||||
this.DELETE.Size = new System.Drawing.Size(164, 36);
|
||||
this.DELETE.Size = new System.Drawing.Size(200, 43);
|
||||
this.DELETE.TabIndex = 5;
|
||||
this.DELETE.Text = "Delete Ad Special";
|
||||
this.DELETE.UseVisualStyleBackColor = true;
|
||||
this.DELETE.Click += new System.EventHandler(this.DELETE_Click);
|
||||
//
|
||||
// notificationLabel
|
||||
//
|
||||
this.notificationLabel.AutoSize = true;
|
||||
this.notificationLabel.Location = new System.Drawing.Point(9, 83);
|
||||
this.notificationLabel.Name = "notificationLabel";
|
||||
this.notificationLabel.Size = new System.Drawing.Size(0, 20);
|
||||
this.notificationLabel.TabIndex = 3;
|
||||
//
|
||||
// FrmAdSpecialRegister
|
||||
//
|
||||
this.AcceptButton = this.registerKeyWordButton;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(749, 563);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(168F, 168F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.ClientSize = new System.Drawing.Size(915, 676);
|
||||
this.Controls.Add(this.mainLayoutPanel);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.Name = "FrmAdSpecialRegister";
|
||||
this.Text = "Register Ad Specials";
|
||||
this.Load += new System.EventHandler(this.frmAdSpecialRegister_Load);
|
||||
|
||||
Reference in New Issue
Block a user