Updated the main form to allow the user to be able to select dates from the database. Updated information displaying on the main form.

This commit is contained in:
2017-01-21 19:15:26 -06:00
parent 96e61546c3
commit db200e31b2
4 changed files with 88 additions and 36 deletions
+9 -23
View File
@@ -86,7 +86,6 @@
this.invoicesDataGridView = new System.Windows.Forms.DataGridView();
this.commentsAndAnalysisLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this.costAnalysisGroupBox = new System.Windows.Forms.GroupBox();
this.informationLabel = new System.Windows.Forms.Label();
this.suppliesLabel = new System.Windows.Forms.Label();
this.salaryDollarsLabel = new System.Windows.Forms.Label();
this.salaryPercentageLabel = new System.Windows.Forms.Label();
@@ -309,9 +308,8 @@
this.errorLabel.AutoSize = true;
this.errorLabel.Location = new System.Drawing.Point(11, 246);
this.errorLabel.Name = "errorLabel";
this.errorLabel.Size = new System.Drawing.Size(62, 25);
this.errorLabel.Size = new System.Drawing.Size(0, 25);
this.errorLabel.TabIndex = 8;
this.errorLabel.Text = "errors";
//
// shrinkLinkLabel
//
@@ -498,7 +496,7 @@
// mondayTaxableLabel
//
this.mondayTaxableLabel.AutoSize = true;
this.mondayTaxableLabel.Location = new System.Drawing.Point(6, 61);
this.mondayTaxableLabel.Location = new System.Drawing.Point(6, 67);
this.mondayTaxableLabel.Name = "mondayTaxableLabel";
this.mondayTaxableLabel.Size = new System.Drawing.Size(89, 25);
this.mondayTaxableLabel.TabIndex = 7;
@@ -507,7 +505,7 @@
// tuesdayTaxableLabel
//
this.tuesdayTaxableLabel.AutoSize = true;
this.tuesdayTaxableLabel.Location = new System.Drawing.Point(6, 93);
this.tuesdayTaxableLabel.Location = new System.Drawing.Point(6, 100);
this.tuesdayTaxableLabel.Name = "tuesdayTaxableLabel";
this.tuesdayTaxableLabel.Size = new System.Drawing.Size(95, 25);
this.tuesdayTaxableLabel.TabIndex = 6;
@@ -516,7 +514,7 @@
// saturdayTaxableLabel
//
this.saturdayTaxableLabel.AutoSize = true;
this.saturdayTaxableLabel.Location = new System.Drawing.Point(6, 221);
this.saturdayTaxableLabel.Location = new System.Drawing.Point(6, 232);
this.saturdayTaxableLabel.Name = "saturdayTaxableLabel";
this.saturdayTaxableLabel.Size = new System.Drawing.Size(97, 25);
this.saturdayTaxableLabel.TabIndex = 5;
@@ -525,7 +523,7 @@
// totalTaxableLabel
//
this.totalTaxableLabel.AutoSize = true;
this.totalTaxableLabel.Location = new System.Drawing.Point(6, 253);
this.totalTaxableLabel.Location = new System.Drawing.Point(6, 265);
this.totalTaxableLabel.Name = "totalTaxableLabel";
this.totalTaxableLabel.Size = new System.Drawing.Size(62, 25);
this.totalTaxableLabel.TabIndex = 4;
@@ -534,7 +532,7 @@
// fridayTaxableLabel
//
this.fridayTaxableLabel.AutoSize = true;
this.fridayTaxableLabel.Location = new System.Drawing.Point(6, 189);
this.fridayTaxableLabel.Location = new System.Drawing.Point(6, 199);
this.fridayTaxableLabel.Name = "fridayTaxableLabel";
this.fridayTaxableLabel.Size = new System.Drawing.Size(72, 25);
this.fridayTaxableLabel.TabIndex = 3;
@@ -543,7 +541,7 @@
// thursdayTaxableLabel
//
this.thursdayTaxableLabel.AutoSize = true;
this.thursdayTaxableLabel.Location = new System.Drawing.Point(6, 157);
this.thursdayTaxableLabel.Location = new System.Drawing.Point(6, 166);
this.thursdayTaxableLabel.Name = "thursdayTaxableLabel";
this.thursdayTaxableLabel.Size = new System.Drawing.Size(101, 25);
this.thursdayTaxableLabel.TabIndex = 2;
@@ -552,7 +550,7 @@
// wednesdayTaxableLabel
//
this.wednesdayTaxableLabel.AutoSize = true;
this.wednesdayTaxableLabel.Location = new System.Drawing.Point(6, 125);
this.wednesdayTaxableLabel.Location = new System.Drawing.Point(6, 133);
this.wednesdayTaxableLabel.Name = "wednesdayTaxableLabel";
this.wednesdayTaxableLabel.Size = new System.Drawing.Size(124, 25);
this.wednesdayTaxableLabel.TabIndex = 1;
@@ -561,7 +559,7 @@
// sundayTaxableLabel
//
this.sundayTaxableLabel.AutoSize = true;
this.sundayTaxableLabel.Location = new System.Drawing.Point(6, 29);
this.sundayTaxableLabel.Location = new System.Drawing.Point(6, 31);
this.sundayTaxableLabel.Name = "sundayTaxableLabel";
this.sundayTaxableLabel.Size = new System.Drawing.Size(86, 25);
this.sundayTaxableLabel.TabIndex = 0;
@@ -576,7 +574,6 @@
this.dateTimeGroupBox.Size = new System.Drawing.Size(349, 323);
this.dateTimeGroupBox.TabIndex = 5;
this.dateTimeGroupBox.TabStop = false;
this.dateTimeGroupBox.Text = "Select a date to view";
//
// monthCalendar
//
@@ -754,7 +751,6 @@
//
// costAnalysisGroupBox
//
this.costAnalysisGroupBox.Controls.Add(this.informationLabel);
this.costAnalysisGroupBox.Controls.Add(this.suppliesLabel);
this.costAnalysisGroupBox.Controls.Add(this.salaryDollarsLabel);
this.costAnalysisGroupBox.Controls.Add(this.salaryPercentageLabel);
@@ -768,15 +764,6 @@
this.costAnalysisGroupBox.TabStop = false;
this.costAnalysisGroupBox.Text = "Cost Analysis";
//
// informationLabel
//
this.informationLabel.AutoSize = true;
this.informationLabel.Location = new System.Drawing.Point(13, 178);
this.informationLabel.Name = "informationLabel";
this.informationLabel.Size = new System.Drawing.Size(43, 25);
this.informationLabel.TabIndex = 9;
this.informationLabel.Text = "info";
//
// suppliesLabel
//
this.suppliesLabel.AutoSize = true;
@@ -1030,7 +1017,6 @@
private System.Windows.Forms.Button button1;
private System.Windows.Forms.GroupBox grossProfitGroupBox;
private System.Windows.Forms.Label errorLabel;
private System.Windows.Forms.Label informationLabel;
private System.Windows.Forms.TabControl mainViewTabControl;
private System.Windows.Forms.TabPage projectionTab;
private System.Windows.Forms.DataGridView projectionsDataGridView;