Changes in MainSeq, Procedure, BenchControlPanel, TestProgressControls, etc., ver. 2.26.1583
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
///
|
||||
/// Copyright (c) 2013-2015 Senus Slovensko a.s.
|
||||
/// Copyright (c) 2013-2021 Senus Slovensko a.s.
|
||||
///
|
||||
using System;
|
||||
using System.Drawing;
|
||||
@@ -29,28 +29,16 @@ namespace TBF.UI.Shared
|
||||
}
|
||||
}
|
||||
|
||||
public bool Selected;
|
||||
|
||||
int testId;
|
||||
public int TestId { get { return testId; } }
|
||||
|
||||
string testName;
|
||||
public string TestName { get { return testName; } }
|
||||
|
||||
int part;
|
||||
public int Part { get { return part; } }
|
||||
|
||||
string title;
|
||||
public string Title2 { get { return title; } }
|
||||
|
||||
int repetitionNr;
|
||||
public int RepetitionNr { get { return repetitionNr; } }
|
||||
|
||||
public string Title { set { testNameLabel.Text = value; } }
|
||||
public readonly string ComplTestName;
|
||||
public readonly int TestId;
|
||||
public readonly int Part;
|
||||
public readonly int RepetitionNr;
|
||||
|
||||
public int Progress { set { testProgressBar.Value = value; } }
|
||||
public ProgressBar TestProgressBar { get { return testProgressBar; } }
|
||||
|
||||
public bool Selected;
|
||||
|
||||
public TestProgressCtrl()
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -58,16 +46,16 @@ namespace TBF.UI.Shared
|
||||
this.TestResult = TestProgressCtrl.Result.NotDone;
|
||||
}
|
||||
|
||||
public TestProgressCtrl(int testId, string testName, int part, string title, int repetitionNr, int testRepeats)
|
||||
public TestProgressCtrl(string complTestName, int testId, int part, int repetitionNr)
|
||||
: this()
|
||||
{
|
||||
this.testId = testId;
|
||||
this.part = part;
|
||||
this.testName = testName;
|
||||
this.title = title;
|
||||
this.repetitionNr = repetitionNr;
|
||||
this.Title = title;
|
||||
}
|
||||
this.ComplTestName = complTestName;
|
||||
this.TestId = testId;
|
||||
this.Part = part;
|
||||
this.RepetitionNr = repetitionNr;
|
||||
|
||||
testNameLabel.Text = complTestName;
|
||||
}
|
||||
|
||||
private void TestProgressCtrl_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user