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:
2016-12-02 18:45:31 -06:00
parent 1907ce1702
commit 8dcc290aef
11 changed files with 473 additions and 127 deletions
+104 -1
View File
@@ -99,6 +99,14 @@
this.informationPanel = new System.Windows.Forms.Panel();
this.informationLabel = new System.Windows.Forms.Label();
this.addRecordButton = new System.Windows.Forms.Button();
this.debugPanel = new System.Windows.Forms.Panel();
this.isCommentDirtyCheckBox = new System.Windows.Forms.CheckBox();
this.isWeeklySalesDirtyCheckBox = new System.Windows.Forms.CheckBox();
this.isTaxableDirtyCheckBox = new System.Windows.Forms.CheckBox();
this.isCostAnalysisDirtyCheckBox = new System.Windows.Forms.CheckBox();
this.clearFormFileMainMenu = new System.Windows.Forms.ToolStripMenuItem();
this.idButton = new System.Windows.Forms.Button();
this.reminderLabel = new System.Windows.Forms.Label();
this.commentsGroupBox.SuspendLayout();
this.mainTabControl.SuspendLayout();
this.projectionTabPage.SuspendLayout();
@@ -109,6 +117,7 @@
((System.ComponentModel.ISupportInitialize)(this.actualSalesDataGridView)).BeginInit();
this.invoicesTabPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.invoicesDataGridView)).BeginInit();
this.debugTabPage.SuspendLayout();
this.mainMenuStrip.SuspendLayout();
this.mainLayoutPanel.SuspendLayout();
this.costAnalysisGroupBox.SuspendLayout();
@@ -118,6 +127,7 @@
this.dateGroupBox.SuspendLayout();
this.dateTimeMaskedTextBoxPanel.SuspendLayout();
this.informationPanel.SuspendLayout();
this.debugPanel.SuspendLayout();
this.SuspendLayout();
//
// commentsGroupBox
@@ -270,6 +280,7 @@
//
// debugTabPage
//
this.debugTabPage.Controls.Add(this.debugPanel);
this.debugTabPage.Location = new System.Drawing.Point(4, 33);
this.debugTabPage.Name = "debugTabPage";
this.debugTabPage.Padding = new System.Windows.Forms.Padding(3);
@@ -294,6 +305,7 @@
// 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);
@@ -843,9 +855,89 @@
this.addRecordButton.UseVisualStyleBackColor = true;
this.addRecordButton.Click += new System.EventHandler(this.AddRecordsButtonClick);
//
// debugPanel
//
this.debugPanel.Controls.Add(this.reminderLabel);
this.debugPanel.Controls.Add(this.idButton);
this.debugPanel.Controls.Add(this.isCostAnalysisDirtyCheckBox);
this.debugPanel.Controls.Add(this.isTaxableDirtyCheckBox);
this.debugPanel.Controls.Add(this.isWeeklySalesDirtyCheckBox);
this.debugPanel.Controls.Add(this.isCommentDirtyCheckBox);
this.debugPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.debugPanel.Location = new System.Drawing.Point(3, 3);
this.debugPanel.Name = "debugPanel";
this.debugPanel.Size = new System.Drawing.Size(1854, 504);
this.debugPanel.TabIndex = 0;
//
// isCommentDirtyCheckBox
//
this.isCommentDirtyCheckBox.AutoSize = true;
this.isCommentDirtyCheckBox.Location = new System.Drawing.Point(87, 122);
this.isCommentDirtyCheckBox.Name = "isCommentDirtyCheckBox";
this.isCommentDirtyCheckBox.Size = new System.Drawing.Size(177, 29);
this.isCommentDirtyCheckBox.TabIndex = 0;
this.isCommentDirtyCheckBox.Text = "IsCommentDirty";
this.isCommentDirtyCheckBox.UseVisualStyleBackColor = true;
//
// isWeeklySalesDirtyCheckBox
//
this.isWeeklySalesDirtyCheckBox.AutoSize = true;
this.isWeeklySalesDirtyCheckBox.Location = new System.Drawing.Point(87, 157);
this.isWeeklySalesDirtyCheckBox.Name = "isWeeklySalesDirtyCheckBox";
this.isWeeklySalesDirtyCheckBox.Size = new System.Drawing.Size(208, 29);
this.isWeeklySalesDirtyCheckBox.TabIndex = 1;
this.isWeeklySalesDirtyCheckBox.Text = "IsWeeklySalesDirty";
this.isWeeklySalesDirtyCheckBox.UseVisualStyleBackColor = true;
//
// isTaxableDirtyCheckBox
//
this.isTaxableDirtyCheckBox.AutoSize = true;
this.isTaxableDirtyCheckBox.Location = new System.Drawing.Point(87, 192);
this.isTaxableDirtyCheckBox.Name = "isTaxableDirtyCheckBox";
this.isTaxableDirtyCheckBox.Size = new System.Drawing.Size(163, 29);
this.isTaxableDirtyCheckBox.TabIndex = 2;
this.isTaxableDirtyCheckBox.Text = "IsTaxableDirty";
this.isTaxableDirtyCheckBox.UseVisualStyleBackColor = true;
//
// isCostAnalysisDirtyCheckBox
//
this.isCostAnalysisDirtyCheckBox.AutoSize = true;
this.isCostAnalysisDirtyCheckBox.Location = new System.Drawing.Point(87, 227);
this.isCostAnalysisDirtyCheckBox.Name = "isCostAnalysisDirtyCheckBox";
this.isCostAnalysisDirtyCheckBox.Size = new System.Drawing.Size(207, 29);
this.isCostAnalysisDirtyCheckBox.TabIndex = 3;
this.isCostAnalysisDirtyCheckBox.Text = "IsCostAnalysisDirty";
this.isCostAnalysisDirtyCheckBox.UseVisualStyleBackColor = true;
//
// clearFormFileMainMenu
//
this.clearFormFileMainMenu.Name = "clearFormFileMainMenu";
this.clearFormFileMainMenu.Size = new System.Drawing.Size(240, 34);
this.clearFormFileMainMenu.Text = "&Clear Form";
//
// idButton
//
this.idButton.Location = new System.Drawing.Point(54, 283);
this.idButton.Name = "idButton";
this.idButton.Size = new System.Drawing.Size(286, 62);
this.idButton.TabIndex = 4;
this.idButton.Text = "Create / Clear Comments ID";
this.idButton.UseVisualStyleBackColor = true;
this.idButton.Click += new System.EventHandler(this.idButton_Click);
//
// reminderLabel
//
this.reminderLabel.AutoSize = true;
this.reminderLabel.Location = new System.Drawing.Point(82, 94);
this.reminderLabel.Name = "reminderLabel";
this.reminderLabel.Size = new System.Drawing.Size(659, 25);
this.reminderLabel.TabIndex = 5;
this.reminderLabel.Text = "These checkboxes Tag properties hold the ID for their respective elements.";
//
// NewAddRecord
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.AutoScaleDimensions = new System.Drawing.SizeF(168F, 168F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(1876, 961);
this.Controls.Add(this.mainLayoutPanel);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@@ -866,6 +958,7 @@
((System.ComponentModel.ISupportInitialize)(this.actualSalesDataGridView)).EndInit();
this.invoicesTabPage.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.invoicesDataGridView)).EndInit();
this.debugTabPage.ResumeLayout(false);
this.mainMenuStrip.ResumeLayout(false);
this.mainMenuStrip.PerformLayout();
this.mainLayoutPanel.ResumeLayout(false);
@@ -883,6 +976,8 @@
this.dateTimeMaskedTextBoxPanel.PerformLayout();
this.informationPanel.ResumeLayout(false);
this.informationPanel.PerformLayout();
this.debugPanel.ResumeLayout(false);
this.debugPanel.PerformLayout();
this.ResumeLayout(false);
}
@@ -959,5 +1054,13 @@
private System.Windows.Forms.Panel informationPanel;
private System.Windows.Forms.Label errorLabel;
private System.Windows.Forms.Label informationLabel;
private System.Windows.Forms.ToolStripMenuItem clearFormFileMainMenu;
private System.Windows.Forms.Panel debugPanel;
private System.Windows.Forms.CheckBox isCostAnalysisDirtyCheckBox;
private System.Windows.Forms.CheckBox isTaxableDirtyCheckBox;
private System.Windows.Forms.CheckBox isWeeklySalesDirtyCheckBox;
private System.Windows.Forms.CheckBox isCommentDirtyCheckBox;
private System.Windows.Forms.Button idButton;
private System.Windows.Forms.Label reminderLabel;
}
}