45 lines
1.1 KiB
C#
45 lines
1.1 KiB
C#
///
|
|
/// Copyright (c) 2026 Sensus Slovensko a.s.
|
|
///
|
|
|
|
using Results;
|
|
using Results.Forms;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Windows.Forms;
|
|
using TBF.Resources;
|
|
|
|
namespace TBF.Rig.Output.DB.ResultsWriter
|
|
{
|
|
public partial class ResultsWriterResultsDlg : Form
|
|
{
|
|
public IList<WMeterRsltItemSpec> SelectedItems
|
|
{
|
|
set { resultsConfigCtrl.SelectedItems = value; }
|
|
get { return resultsConfigCtrl.SelectedItems; }
|
|
}
|
|
|
|
public ResultsWriterResultsDlg()
|
|
{
|
|
InitializeComponent();
|
|
|
|
this.Icon = Properties.Resources.TBF_icon;
|
|
resultsConfigCtrl.SupressTestIDColumn = true;
|
|
}
|
|
|
|
private void ResultsWriterResultsDlg_Load(object sender, EventArgs e)
|
|
{
|
|
Text = "ResultsWriter configuration";
|
|
okButton.Text = Strings.OkBtnText;
|
|
cancelButton.Text = Strings.CancelBtnText;
|
|
|
|
resultsConfigCtrl.Unlocked = true;
|
|
}
|
|
|
|
private void okButton_Click(object sender, EventArgs e)
|
|
{
|
|
DialogResult = DialogResult.OK;
|
|
Close();
|
|
}
|
|
}
|
|
} |