Added a temporary form to convert the old database format. Updated the row parsing engine to handle ad special rows more effectively. Fixed a few bugs with the parsing engine not flagging member rows as dirty. Upped the character limit of the ad item and supplier columns.
This commit is contained in:
@@ -0,0 +1,105 @@
|
||||
namespace AdvertsingProfitControl
|
||||
{
|
||||
partial class DebugDatabaseConverter
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.existingDatesListBox = new System.Windows.Forms.ListBox();
|
||||
this.datesToConvertListBox = new System.Windows.Forms.ListBox();
|
||||
this.moveOverButton = new System.Windows.Forms.Button();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
this.convertButton = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// existingDatesListBox
|
||||
//
|
||||
this.existingDatesListBox.FormattingEnabled = true;
|
||||
this.existingDatesListBox.ItemHeight = 24;
|
||||
this.existingDatesListBox.Location = new System.Drawing.Point(59, 84);
|
||||
this.existingDatesListBox.Name = "existingDatesListBox";
|
||||
this.existingDatesListBox.Size = new System.Drawing.Size(254, 316);
|
||||
this.existingDatesListBox.TabIndex = 0;
|
||||
//
|
||||
// datesToConvertListBox
|
||||
//
|
||||
this.datesToConvertListBox.FormattingEnabled = true;
|
||||
this.datesToConvertListBox.ItemHeight = 24;
|
||||
this.datesToConvertListBox.Location = new System.Drawing.Point(373, 84);
|
||||
this.datesToConvertListBox.Name = "datesToConvertListBox";
|
||||
this.datesToConvertListBox.Size = new System.Drawing.Size(254, 316);
|
||||
this.datesToConvertListBox.TabIndex = 1;
|
||||
//
|
||||
// moveOverButton
|
||||
//
|
||||
this.moveOverButton.Enabled = false;
|
||||
this.moveOverButton.Location = new System.Drawing.Point(59, 446);
|
||||
this.moveOverButton.Name = "moveOverButton";
|
||||
this.moveOverButton.Size = new System.Drawing.Size(160, 56);
|
||||
this.moveOverButton.TabIndex = 2;
|
||||
this.moveOverButton.Text = "Move Selected";
|
||||
this.moveOverButton.UseVisualStyleBackColor = true;
|
||||
this.moveOverButton.Click += new System.EventHandler(this.moveOverButton_Click);
|
||||
//
|
||||
// openFileDialog1
|
||||
//
|
||||
this.openFileDialog1.FileName = "openFileDialog1";
|
||||
//
|
||||
// convertButton
|
||||
//
|
||||
this.convertButton.Location = new System.Drawing.Point(373, 452);
|
||||
this.convertButton.Name = "convertButton";
|
||||
this.convertButton.Size = new System.Drawing.Size(133, 50);
|
||||
this.convertButton.TabIndex = 3;
|
||||
this.convertButton.Text = "Convert";
|
||||
this.convertButton.UseVisualStyleBackColor = true;
|
||||
this.convertButton.Click += new System.EventHandler(this.convertButton_Click);
|
||||
//
|
||||
// DebugDatabaseConverter
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 24F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(849, 827);
|
||||
this.Controls.Add(this.convertButton);
|
||||
this.Controls.Add(this.moveOverButton);
|
||||
this.Controls.Add(this.datesToConvertListBox);
|
||||
this.Controls.Add(this.existingDatesListBox);
|
||||
this.Name = "DebugDatabaseConverter";
|
||||
this.Text = "DebugDatabaseConverter";
|
||||
this.Load += new System.EventHandler(this.DebugDatabaseConverter_Load);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.ListBox existingDatesListBox;
|
||||
private System.Windows.Forms.ListBox datesToConvertListBox;
|
||||
private System.Windows.Forms.Button moveOverButton;
|
||||
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
||||
private System.Windows.Forms.Button convertButton;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user