Output.Printers.OnePerMeter : Table class added, common items use Table class for printing, ver. 2.18.844
This commit is contained in:
@@ -99,7 +99,6 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
printerCfg.SelectedItems2 = newCfg.SelectedItems2;
|
||||
printerCfg.Footer = newCfg.Footer;
|
||||
printerCfg.TestsAreRows = newCfg.TestsAreRows;
|
||||
printerCfg.TestsAreRows2 = newCfg.TestsAreRows2;
|
||||
printerCfg.DocName = newCfg.DocName;
|
||||
printerCfg.ImgName = newCfg.ImgName;
|
||||
printerCfg.ImgLeft = newCfg.ImgLeft;
|
||||
@@ -203,7 +202,6 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
TestItems2 = printerCfg.SelectedItems2,
|
||||
Footer = printerCfg.Footer,
|
||||
TestsAreRows = printerCfg.TestsAreRows,
|
||||
TestsAreRows2 = printerCfg.TestsAreRows2,
|
||||
ImgFullPathName = (wm.ArchivePath != null) ? System.IO.Path.Combine(wm.ArchivePath, printerCfg.ImgName) : null,
|
||||
ImgLeft = printerCfg.ImgLeft,
|
||||
ImgTop = printerCfg.ImgTop,
|
||||
|
||||
@@ -43,7 +43,6 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
public string[] SelectedItems2;
|
||||
public string Footer;
|
||||
public bool TestsAreRows; /// true = Tests are rows
|
||||
public bool TestsAreRows2; /// true = Tests are rows
|
||||
public string DocName;
|
||||
public string ImgName;
|
||||
public int ImgLeft;
|
||||
|
||||
@@ -65,7 +65,6 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.testsAreRowsCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.tests2AreRowsCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.testItems2Button = new System.Windows.Forms.Button();
|
||||
this.goodOnlyCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.templateTextBox = new System.Windows.Forms.TextBox();
|
||||
@@ -409,17 +408,6 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
this.testsAreRowsCheckBox.Text = "Tests are rows";
|
||||
this.testsAreRowsCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tests2AreRowsCheckBox
|
||||
//
|
||||
this.tests2AreRowsCheckBox.AutoSize = true;
|
||||
this.tests2AreRowsCheckBox.Enabled = false;
|
||||
this.tests2AreRowsCheckBox.Location = new System.Drawing.Point(192, 281);
|
||||
this.tests2AreRowsCheckBox.Name = "tests2AreRowsCheckBox";
|
||||
this.tests2AreRowsCheckBox.Size = new System.Drawing.Size(104, 17);
|
||||
this.tests2AreRowsCheckBox.TabIndex = 36;
|
||||
this.tests2AreRowsCheckBox.Text = "Tests are rows 2";
|
||||
this.tests2AreRowsCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// testItems2Button
|
||||
//
|
||||
this.testItems2Button.Enabled = false;
|
||||
@@ -641,7 +629,6 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
this.Controls.Add(this.templateTextBox);
|
||||
this.Controls.Add(this.templateLabel);
|
||||
this.Controls.Add(this.goodOnlyCheckBox);
|
||||
this.Controls.Add(this.tests2AreRowsCheckBox);
|
||||
this.Controls.Add(this.testItems2Button);
|
||||
this.Controls.Add(this.testsAreRowsCheckBox);
|
||||
this.Controls.Add(this.label2);
|
||||
@@ -721,7 +708,6 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.CheckBox testsAreRowsCheckBox;
|
||||
private System.Windows.Forms.CheckBox tests2AreRowsCheckBox;
|
||||
private System.Windows.Forms.Button testItems2Button;
|
||||
private System.Windows.Forms.CheckBox goodOnlyCheckBox;
|
||||
private System.Windows.Forms.TextBox templateTextBox;
|
||||
|
||||
@@ -122,7 +122,6 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
supressPrintingCheckBox.Checked = config.SupressPrinting;
|
||||
goodOnlyCheckBox.Checked = config.GoodOnly;
|
||||
testsAreRowsCheckBox.Checked = config.TestsAreRows;
|
||||
tests2AreRowsCheckBox.Checked = config.TestsAreRows2;
|
||||
|
||||
cultureComboBox.Text = config.Culture.ToString();
|
||||
|
||||
@@ -167,7 +166,6 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
testItems2Button.Enabled = true;
|
||||
footerButton.Enabled = true;
|
||||
testsAreRowsCheckBox.Enabled = true;
|
||||
tests2AreRowsCheckBox.Enabled = true;
|
||||
docNameTextBox.Enabled = true;
|
||||
imageNameTextBox.Enabled = true;
|
||||
imageLeftTextBox.Enabled = true;
|
||||
@@ -319,7 +317,6 @@ namespace TBF.BenchControl.Output.Printers.OnePerMeter
|
||||
flags |= UpdateDifferent(ref config.SupressPrinting, supressPrintingCheckBox.Checked, CfgUpdateFlags.InvokeCfgChange | CfgUpdateFlags.AnyChange);
|
||||
flags |= UpdateDifferent(ref config.GoodOnly, goodOnlyCheckBox.Checked, CfgUpdateFlags.InvokeCfgChange | CfgUpdateFlags.AnyChange);
|
||||
flags |= UpdateDifferent(ref config.TestsAreRows, testsAreRowsCheckBox.Checked, CfgUpdateFlags.InvokeCfgChange | CfgUpdateFlags.AnyChange);
|
||||
flags |= UpdateDifferent(ref config.TestsAreRows2, tests2AreRowsCheckBox.Checked, CfgUpdateFlags.InvokeCfgChange | CfgUpdateFlags.AnyChange);
|
||||
|
||||
flags |= UpdateDifferent(ref config.CommonItems, commonItems, CfgUpdateFlags.InvokeCfgChange | CfgUpdateFlags.AnyChange);
|
||||
flags |= UpdateDifferent(ref config.SelectedItems, testItems, CfgUpdateFlags.InvokeCfgChange | CfgUpdateFlags.AnyChange);
|
||||
|
||||
Reference in New Issue
Block a user