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:
+69
-65
@@ -32,16 +32,16 @@
|
||||
this.mainLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.adItemListView = new System.Windows.Forms.ListView();
|
||||
this.columnOnePanel = new System.Windows.Forms.Panel();
|
||||
this.addItemLabel = new System.Windows.Forms.Label();
|
||||
this.adItemTextBox = new System.Windows.Forms.TextBox();
|
||||
this.addItemButton = new System.Windows.Forms.Button();
|
||||
this.notificationLabel = new System.Windows.Forms.Label();
|
||||
this.deleteSelectedItem = new System.Windows.Forms.Button();
|
||||
this.adItemFilterComboBox = new System.Windows.Forms.ComboBox();
|
||||
this.letterSelectionLabel = new System.Windows.Forms.Label();
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.fileMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.closeFormFileMainMenu = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.notificationLabel = new System.Windows.Forms.Label();
|
||||
this.addItemButton = new System.Windows.Forms.Button();
|
||||
this.adItemTextBox = new System.Windows.Forms.TextBox();
|
||||
this.addItemLabel = new System.Windows.Forms.Label();
|
||||
this.mainLayoutPanel.SuspendLayout();
|
||||
this.columnOnePanel.SuspendLayout();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
@@ -57,23 +57,23 @@
|
||||
this.mainLayoutPanel.Controls.Add(this.menuStrip1, 0, 0);
|
||||
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(2);
|
||||
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, 19F));
|
||||
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.Percent, 50F));
|
||||
this.mainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||
this.mainLayoutPanel.Size = new System.Drawing.Size(496, 445);
|
||||
this.mainLayoutPanel.Size = new System.Drawing.Size(909, 822);
|
||||
this.mainLayoutPanel.TabIndex = 0;
|
||||
//
|
||||
// adItemListView
|
||||
//
|
||||
this.adItemListView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.adItemListView.Location = new System.Drawing.Point(225, 21);
|
||||
this.adItemListView.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.adItemListView.Location = new System.Drawing.Point(413, 39);
|
||||
this.adItemListView.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.adItemListView.Name = "adItemListView";
|
||||
this.mainLayoutPanel.SetRowSpan(this.adItemListView, 2);
|
||||
this.adItemListView.Size = new System.Drawing.Size(269, 422);
|
||||
this.adItemListView.Size = new System.Drawing.Size(492, 779);
|
||||
this.adItemListView.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
||||
this.adItemListView.TabIndex = 5;
|
||||
this.adItemListView.UseCompatibleStateImageBehavior = false;
|
||||
@@ -89,20 +89,59 @@
|
||||
this.columnOnePanel.Controls.Add(this.adItemFilterComboBox);
|
||||
this.columnOnePanel.Controls.Add(this.letterSelectionLabel);
|
||||
this.columnOnePanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.columnOnePanel.Location = new System.Drawing.Point(2, 21);
|
||||
this.columnOnePanel.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.columnOnePanel.Location = new System.Drawing.Point(4, 39);
|
||||
this.columnOnePanel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.columnOnePanel.Name = "columnOnePanel";
|
||||
this.mainLayoutPanel.SetRowSpan(this.columnOnePanel, 2);
|
||||
this.columnOnePanel.Size = new System.Drawing.Size(219, 422);
|
||||
this.columnOnePanel.Size = new System.Drawing.Size(401, 779);
|
||||
this.columnOnePanel.TabIndex = 1;
|
||||
//
|
||||
// addItemLabel
|
||||
//
|
||||
this.addItemLabel.AutoSize = true;
|
||||
this.addItemLabel.Location = new System.Drawing.Point(35, 378);
|
||||
this.addItemLabel.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
||||
this.addItemLabel.Name = "addItemLabel";
|
||||
this.addItemLabel.Size = new System.Drawing.Size(140, 25);
|
||||
this.addItemLabel.TabIndex = 6;
|
||||
this.addItemLabel.Text = "Add New Item:";
|
||||
//
|
||||
// adItemTextBox
|
||||
//
|
||||
this.adItemTextBox.Location = new System.Drawing.Point(213, 373);
|
||||
this.adItemTextBox.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
||||
this.adItemTextBox.Name = "adItemTextBox";
|
||||
this.adItemTextBox.Size = new System.Drawing.Size(180, 29);
|
||||
this.adItemTextBox.TabIndex = 2;
|
||||
//
|
||||
// addItemButton
|
||||
//
|
||||
this.addItemButton.Enabled = false;
|
||||
this.addItemButton.Location = new System.Drawing.Point(213, 421);
|
||||
this.addItemButton.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6);
|
||||
this.addItemButton.Name = "addItemButton";
|
||||
this.addItemButton.Size = new System.Drawing.Size(183, 59);
|
||||
this.addItemButton.TabIndex = 3;
|
||||
this.addItemButton.Text = "Add Item";
|
||||
this.addItemButton.UseVisualStyleBackColor = true;
|
||||
this.addItemButton.Click += new System.EventHandler(this.addItemButton_Click);
|
||||
//
|
||||
// notificationLabel
|
||||
//
|
||||
this.notificationLabel.AutoSize = true;
|
||||
this.notificationLabel.Location = new System.Drawing.Point(17, 78);
|
||||
this.notificationLabel.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0);
|
||||
this.notificationLabel.Name = "notificationLabel";
|
||||
this.notificationLabel.Size = new System.Drawing.Size(0, 25);
|
||||
this.notificationLabel.TabIndex = 3;
|
||||
//
|
||||
// deleteSelectedItem
|
||||
//
|
||||
this.deleteSelectedItem.Enabled = false;
|
||||
this.deleteSelectedItem.Location = new System.Drawing.Point(9, 380);
|
||||
this.deleteSelectedItem.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.deleteSelectedItem.Location = new System.Drawing.Point(17, 702);
|
||||
this.deleteSelectedItem.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.deleteSelectedItem.Name = "deleteSelectedItem";
|
||||
this.deleteSelectedItem.Size = new System.Drawing.Size(120, 33);
|
||||
this.deleteSelectedItem.Size = new System.Drawing.Size(220, 61);
|
||||
this.deleteSelectedItem.TabIndex = 4;
|
||||
this.deleteSelectedItem.Text = "Delete Selected Item";
|
||||
this.deleteSelectedItem.UseVisualStyleBackColor = true;
|
||||
@@ -112,19 +151,19 @@
|
||||
//
|
||||
this.adItemFilterComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.adItemFilterComboBox.FormattingEnabled = true;
|
||||
this.adItemFilterComboBox.Location = new System.Drawing.Point(81, 2);
|
||||
this.adItemFilterComboBox.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.adItemFilterComboBox.Location = new System.Drawing.Point(149, 4);
|
||||
this.adItemFilterComboBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.adItemFilterComboBox.Name = "adItemFilterComboBox";
|
||||
this.adItemFilterComboBox.Size = new System.Drawing.Size(136, 21);
|
||||
this.adItemFilterComboBox.Size = new System.Drawing.Size(246, 32);
|
||||
this.adItemFilterComboBox.TabIndex = 1;
|
||||
//
|
||||
// letterSelectionLabel
|
||||
//
|
||||
this.letterSelectionLabel.AutoSize = true;
|
||||
this.letterSelectionLabel.Location = new System.Drawing.Point(6, 2);
|
||||
this.letterSelectionLabel.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.letterSelectionLabel.Location = new System.Drawing.Point(11, 4);
|
||||
this.letterSelectionLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.letterSelectionLabel.Name = "letterSelectionLabel";
|
||||
this.letterSelectionLabel.Size = new System.Drawing.Size(71, 13);
|
||||
this.letterSelectionLabel.Size = new System.Drawing.Size(129, 25);
|
||||
this.letterSelectionLabel.TabIndex = 0;
|
||||
this.letterSelectionLabel.Text = "Select a filter:";
|
||||
//
|
||||
@@ -136,8 +175,8 @@
|
||||
this.fileMainMenu});
|
||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||
this.menuStrip1.Name = "menuStrip1";
|
||||
this.menuStrip1.Padding = new System.Windows.Forms.Padding(4, 1, 0, 1);
|
||||
this.menuStrip1.Size = new System.Drawing.Size(496, 19);
|
||||
this.menuStrip1.Padding = new System.Windows.Forms.Padding(7, 2, 0, 2);
|
||||
this.menuStrip1.Size = new System.Drawing.Size(909, 35);
|
||||
this.menuStrip1.TabIndex = 2;
|
||||
this.menuStrip1.Text = "menuStrip1";
|
||||
//
|
||||
@@ -146,60 +185,25 @@
|
||||
this.fileMainMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.closeFormFileMainMenu});
|
||||
this.fileMainMenu.Name = "fileMainMenu";
|
||||
this.fileMainMenu.Size = new System.Drawing.Size(37, 17);
|
||||
this.fileMainMenu.Size = new System.Drawing.Size(56, 31);
|
||||
this.fileMainMenu.Text = "&File";
|
||||
//
|
||||
// closeFormFileMainMenu
|
||||
//
|
||||
this.closeFormFileMainMenu.Name = "closeFormFileMainMenu";
|
||||
this.closeFormFileMainMenu.Size = new System.Drawing.Size(152, 22);
|
||||
this.closeFormFileMainMenu.Size = new System.Drawing.Size(208, 34);
|
||||
this.closeFormFileMainMenu.Text = "&Close Form";
|
||||
this.closeFormFileMainMenu.Click += new System.EventHandler(this.closeFormFileMainMenu_Click);
|
||||
//
|
||||
// notificationLabel
|
||||
//
|
||||
this.notificationLabel.AutoSize = true;
|
||||
this.notificationLabel.Location = new System.Drawing.Point(9, 42);
|
||||
this.notificationLabel.Name = "notificationLabel";
|
||||
this.notificationLabel.Size = new System.Drawing.Size(0, 13);
|
||||
this.notificationLabel.TabIndex = 3;
|
||||
//
|
||||
// addItemButton
|
||||
//
|
||||
this.addItemButton.Enabled = false;
|
||||
this.addItemButton.Location = new System.Drawing.Point(116, 228);
|
||||
this.addItemButton.Name = "addItemButton";
|
||||
this.addItemButton.Size = new System.Drawing.Size(100, 32);
|
||||
this.addItemButton.TabIndex = 3;
|
||||
this.addItemButton.Text = "Add Item";
|
||||
this.addItemButton.UseVisualStyleBackColor = true;
|
||||
this.addItemButton.Click += new System.EventHandler(this.addItemButton_Click);
|
||||
//
|
||||
// adItemTextBox
|
||||
//
|
||||
this.adItemTextBox.Location = new System.Drawing.Point(116, 202);
|
||||
this.adItemTextBox.Name = "adItemTextBox";
|
||||
this.adItemTextBox.Size = new System.Drawing.Size(100, 20);
|
||||
this.adItemTextBox.TabIndex = 2;
|
||||
//
|
||||
// addItemLabel
|
||||
//
|
||||
this.addItemLabel.AutoSize = true;
|
||||
this.addItemLabel.Location = new System.Drawing.Point(19, 205);
|
||||
this.addItemLabel.Name = "addItemLabel";
|
||||
this.addItemLabel.Size = new System.Drawing.Size(77, 13);
|
||||
this.addItemLabel.TabIndex = 6;
|
||||
this.addItemLabel.Text = "Add New Item:";
|
||||
//
|
||||
// FrmManageAdItems
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(496, 445);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(168F, 168F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
||||
this.ClientSize = new System.Drawing.Size(909, 822);
|
||||
this.Controls.Add(this.mainLayoutPanel);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "FrmManageAdItems";
|
||||
|
||||
Reference in New Issue
Block a user