Minor UI changes after testing on the laptop. The add record form now selects Saturday based on the current date on start up.

This commit is contained in:
2017-01-23 03:41:47 -06:00
parent 739c4c179d
commit d7229c9499
19 changed files with 68 additions and 374 deletions
+33 -33
View File
@@ -88,6 +88,7 @@
this.invoicesDataGridView = new System.Windows.Forms.DataGridView();
this.commentsAndAnalysisLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
this.costAnalysisGroupBox = new System.Windows.Forms.GroupBox();
this.usePreRenderedFilesCheckbox = new System.Windows.Forms.CheckBox();
this.suppliesLabel = new System.Windows.Forms.Label();
this.salaryDollarsLabel = new System.Windows.Forms.Label();
this.salaryPercentageLabel = new System.Windows.Forms.Label();
@@ -96,7 +97,6 @@
this.commentMainGroupBox = new System.Windows.Forms.GroupBox();
this.commentsTextBox = new System.Windows.Forms.TextBox();
this.grossProfitGroupBox = new System.Windows.Forms.GroupBox();
this.usePreRenderedFilesCheckbox = new System.Windows.Forms.CheckBox();
this.grossProfitLessCostOfSales = new System.Windows.Forms.Label();
this.grossProfitTotalSales = new System.Windows.Forms.Label();
this.grossProfitEstimatedWeeklyDeptmartmentExpenseLabel = new System.Windows.Forms.Label();
@@ -127,7 +127,7 @@
//
// printPreviewButton
//
this.printPreviewButton.Location = new System.Drawing.Point(171, 273);
this.printPreviewButton.Location = new System.Drawing.Point(16, 273);
this.printPreviewButton.Name = "printPreviewButton";
this.printPreviewButton.Size = new System.Drawing.Size(138, 49);
this.printPreviewButton.TabIndex = 4;
@@ -260,7 +260,7 @@
// debugToolStripMenuItem1
//
this.debugToolStripMenuItem1.Name = "debugToolStripMenuItem1";
this.debugToolStripMenuItem1.Size = new System.Drawing.Size(240, 34);
this.debugToolStripMenuItem1.Size = new System.Drawing.Size(167, 34);
this.debugToolStripMenuItem1.Text = "Debug";
this.debugToolStripMenuItem1.Click += new System.EventHandler(this.debugToolStripMenuItem1_Click);
//
@@ -288,10 +288,10 @@
// commentMainTableLayoutPanel
//
this.commentMainTableLayoutPanel.ColumnCount = 4;
this.commentMainTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 365F));
this.commentMainTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.commentMainTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.commentMainTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40F));
this.commentMainTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.commentMainTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.commentMainTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.commentMainTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 35F));
this.commentMainTableLayoutPanel.Controls.Add(this.profitAnalysisMainGroupBox, 3, 0);
this.commentMainTableLayoutPanel.Controls.Add(this.weeklySalesGroupBox, 1, 0);
this.commentMainTableLayoutPanel.Controls.Add(this.taxableGroupBox, 2, 0);
@@ -316,9 +316,9 @@
this.profitAnalysisMainGroupBox.Controls.Add(this.remainingSalesLabel);
this.profitAnalysisMainGroupBox.Controls.Add(this.totalProfitFromAdItemsLabel);
this.profitAnalysisMainGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.profitAnalysisMainGroupBox.Location = new System.Drawing.Point(1028, 3);
this.profitAnalysisMainGroupBox.Location = new System.Drawing.Point(955, 3);
this.profitAnalysisMainGroupBox.Name = "profitAnalysisMainGroupBox";
this.profitAnalysisMainGroupBox.Size = new System.Drawing.Size(436, 323);
this.profitAnalysisMainGroupBox.Size = new System.Drawing.Size(509, 323);
this.profitAnalysisMainGroupBox.TabIndex = 2;
this.profitAnalysisMainGroupBox.TabStop = false;
this.profitAnalysisMainGroupBox.Text = "Profit Analysis";
@@ -416,9 +416,9 @@
this.weeklySalesGroupBox.Controls.Add(this.wednesdayWeeklySalesLabel);
this.weeklySalesGroupBox.Controls.Add(this.sundayWeeklySalesLabel);
this.weeklySalesGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.weeklySalesGroupBox.Location = new System.Drawing.Point(368, 3);
this.weeklySalesGroupBox.Location = new System.Drawing.Point(369, 3);
this.weeklySalesGroupBox.Name = "weeklySalesGroupBox";
this.weeklySalesGroupBox.Size = new System.Drawing.Size(324, 323);
this.weeklySalesGroupBox.Size = new System.Drawing.Size(287, 323);
this.weeklySalesGroupBox.TabIndex = 3;
this.weeklySalesGroupBox.TabStop = false;
this.weeklySalesGroupBox.Text = "Weekly Sales";
@@ -506,9 +506,9 @@
this.taxableGroupBox.Controls.Add(this.wednesdayTaxableLabel);
this.taxableGroupBox.Controls.Add(this.sundayTaxableLabel);
this.taxableGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.taxableGroupBox.Location = new System.Drawing.Point(698, 3);
this.taxableGroupBox.Location = new System.Drawing.Point(662, 3);
this.taxableGroupBox.Name = "taxableGroupBox";
this.taxableGroupBox.Size = new System.Drawing.Size(324, 323);
this.taxableGroupBox.Size = new System.Drawing.Size(287, 323);
this.taxableGroupBox.TabIndex = 4;
this.taxableGroupBox.TabStop = false;
this.taxableGroupBox.Text = "Taxable";
@@ -591,7 +591,7 @@
this.dateTimeGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.dateTimeGroupBox.Location = new System.Drawing.Point(3, 3);
this.dateTimeGroupBox.Name = "dateTimeGroupBox";
this.dateTimeGroupBox.Size = new System.Drawing.Size(359, 323);
this.dateTimeGroupBox.Size = new System.Drawing.Size(360, 323);
this.dateTimeGroupBox.TabIndex = 5;
this.dateTimeGroupBox.TabStop = false;
//
@@ -655,7 +655,7 @@
this.inventoryTabPage.Location = new System.Drawing.Point(4, 33);
this.inventoryTabPage.Name = "inventoryTabPage";
this.inventoryTabPage.Padding = new System.Windows.Forms.Padding(3);
this.inventoryTabPage.Size = new System.Drawing.Size(1521, 462);
this.inventoryTabPage.Size = new System.Drawing.Size(1459, 462);
this.inventoryTabPage.TabIndex = 4;
this.inventoryTabPage.Text = "Inventory";
this.inventoryTabPage.UseVisualStyleBackColor = true;
@@ -674,7 +674,7 @@
this.inventoryDataGridView.RowHeadersVisible = false;
this.inventoryDataGridView.RowTemplate.Height = 28;
this.inventoryDataGridView.ShowRowErrors = false;
this.inventoryDataGridView.Size = new System.Drawing.Size(1515, 456);
this.inventoryDataGridView.Size = new System.Drawing.Size(1453, 456);
this.inventoryDataGridView.TabIndex = 0;
//
// actualSalesTab
@@ -683,7 +683,7 @@
this.actualSalesTab.Location = new System.Drawing.Point(4, 33);
this.actualSalesTab.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.actualSalesTab.Name = "actualSalesTab";
this.actualSalesTab.Size = new System.Drawing.Size(1521, 462);
this.actualSalesTab.Size = new System.Drawing.Size(1459, 462);
this.actualSalesTab.TabIndex = 2;
this.actualSalesTab.Text = "Actual Sales";
this.actualSalesTab.UseVisualStyleBackColor = true;
@@ -700,7 +700,7 @@
this.actualSalesMainLayoutPanel.RowCount = 1;
this.actualSalesMainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.actualSalesMainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 462F));
this.actualSalesMainLayoutPanel.Size = new System.Drawing.Size(1521, 462);
this.actualSalesMainLayoutPanel.Size = new System.Drawing.Size(1459, 462);
this.actualSalesMainLayoutPanel.TabIndex = 0;
//
// actualSalesDataGridView
@@ -720,7 +720,7 @@
this.actualSalesDataGridView.RowHeadersVisible = false;
this.actualSalesDataGridView.ShowCellErrors = false;
this.actualSalesDataGridView.ShowRowErrors = false;
this.actualSalesDataGridView.Size = new System.Drawing.Size(1511, 450);
this.actualSalesDataGridView.Size = new System.Drawing.Size(1449, 450);
this.actualSalesDataGridView.TabIndex = 1;
//
// suppliersTabPage
@@ -730,7 +730,7 @@
this.suppliersTabPage.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.suppliersTabPage.Name = "suppliersTabPage";
this.suppliersTabPage.Padding = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.suppliersTabPage.Size = new System.Drawing.Size(1521, 462);
this.suppliersTabPage.Size = new System.Drawing.Size(1459, 462);
this.suppliersTabPage.TabIndex = 1;
this.suppliersTabPage.Text = "Invoices";
this.suppliersTabPage.UseVisualStyleBackColor = true;
@@ -750,7 +750,7 @@
this.invoicesDataGridView.Name = "invoicesDataGridView";
this.invoicesDataGridView.ReadOnly = true;
this.invoicesDataGridView.RowHeadersVisible = false;
this.invoicesDataGridView.Size = new System.Drawing.Size(1511, 450);
this.invoicesDataGridView.Size = new System.Drawing.Size(1449, 450);
this.invoicesDataGridView.TabIndex = 0;
//
// commentsAndAnalysisLayoutPanel
@@ -771,6 +771,7 @@
//
// costAnalysisGroupBox
//
this.costAnalysisGroupBox.Controls.Add(this.usePreRenderedFilesCheckbox);
this.costAnalysisGroupBox.Controls.Add(this.suppliesLabel);
this.costAnalysisGroupBox.Controls.Add(this.salaryDollarsLabel);
this.costAnalysisGroupBox.Controls.Add(this.salaryPercentageLabel);
@@ -784,6 +785,17 @@
this.costAnalysisGroupBox.TabStop = false;
this.costAnalysisGroupBox.Text = "Cost Analysis";
//
// usePreRenderedFilesCheckbox
//
this.usePreRenderedFilesCheckbox.AutoSize = true;
this.usePreRenderedFilesCheckbox.Location = new System.Drawing.Point(7, 208);
this.usePreRenderedFilesCheckbox.Name = "usePreRenderedFilesCheckbox";
this.usePreRenderedFilesCheckbox.Size = new System.Drawing.Size(239, 29);
this.usePreRenderedFilesCheckbox.TabIndex = 5;
this.usePreRenderedFilesCheckbox.Text = "Use Pre-rendered Files";
this.usePreRenderedFilesCheckbox.UseVisualStyleBackColor = true;
this.usePreRenderedFilesCheckbox.Visible = false;
//
// suppliesLabel
//
this.suppliesLabel.AutoSize = true;
@@ -857,7 +869,6 @@
//
// grossProfitGroupBox
//
this.grossProfitGroupBox.Controls.Add(this.usePreRenderedFilesCheckbox);
this.grossProfitGroupBox.Controls.Add(this.grossProfitLessCostOfSales);
this.grossProfitGroupBox.Controls.Add(this.printPreviewButton);
this.grossProfitGroupBox.Controls.Add(this.grossProfitTotalSales);
@@ -872,16 +883,6 @@
this.grossProfitGroupBox.TabStop = false;
this.grossProfitGroupBox.Text = "Gross Profit";
//
// usePreRenderedFilesCheckbox
//
this.usePreRenderedFilesCheckbox.AutoSize = true;
this.usePreRenderedFilesCheckbox.Location = new System.Drawing.Point(16, 288);
this.usePreRenderedFilesCheckbox.Name = "usePreRenderedFilesCheckbox";
this.usePreRenderedFilesCheckbox.Size = new System.Drawing.Size(239, 29);
this.usePreRenderedFilesCheckbox.TabIndex = 5;
this.usePreRenderedFilesCheckbox.Text = "Use Pre-rendered Files";
this.usePreRenderedFilesCheckbox.UseVisualStyleBackColor = true;
//
// grossProfitLessCostOfSales
//
this.grossProfitLessCostOfSales.AutoSize = true;
@@ -935,7 +936,6 @@
this.Controls.Add(this.mainTableLayoutPanel);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.MaximizeBox = false;
this.Name = "FrmMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Advertising Profit Control";