Added a shrink changing form but the math seems to be off so it is disabled for the time being. Updated the interface on the main form and the modify record form to include the log viewer and the log console.
This commit is contained in:
+84
@@ -0,0 +1,84 @@
|
||||
namespace AdvertsingProfitControl
|
||||
{
|
||||
partial class FrmChangeShrink
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmChangeShrink));
|
||||
this.shrinkNumericUpDown = new System.Windows.Forms.NumericUpDown();
|
||||
this.shrinkAcceptButton = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.shrinkNumericUpDown)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// shrinkNumericUpDown
|
||||
//
|
||||
this.shrinkNumericUpDown.Location = new System.Drawing.Point(12, 30);
|
||||
this.shrinkNumericUpDown.Name = "shrinkNumericUpDown";
|
||||
this.shrinkNumericUpDown.Size = new System.Drawing.Size(120, 29);
|
||||
this.shrinkNumericUpDown.TabIndex = 0;
|
||||
this.shrinkNumericUpDown.Value = new decimal(new int[] {
|
||||
30,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// shrinkAcceptButton
|
||||
//
|
||||
this.shrinkAcceptButton.Location = new System.Drawing.Point(155, 23);
|
||||
this.shrinkAcceptButton.Name = "shrinkAcceptButton";
|
||||
this.shrinkAcceptButton.Size = new System.Drawing.Size(132, 42);
|
||||
this.shrinkAcceptButton.TabIndex = 1;
|
||||
this.shrinkAcceptButton.Text = "Accept";
|
||||
this.shrinkAcceptButton.UseVisualStyleBackColor = true;
|
||||
this.shrinkAcceptButton.Click += new System.EventHandler(this.shrinkAcceptButton_Click);
|
||||
//
|
||||
// FrmChangeShrink
|
||||
//
|
||||
this.AcceptButton = this.shrinkAcceptButton;
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(304, 97);
|
||||
this.Controls.Add(this.shrinkAcceptButton);
|
||||
this.Controls.Add(this.shrinkNumericUpDown);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "FrmChangeShrink";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "Change Shrink Value";
|
||||
((System.ComponentModel.ISupportInitialize)(this.shrinkNumericUpDown)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.NumericUpDown shrinkNumericUpDown;
|
||||
private System.Windows.Forms.Button shrinkAcceptButton;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user