Man kann jetzt einen Ausrduck erzeugen für das ausgeben einer Kalibrierliste
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SanSystem.Einstellungen
|
||||
{
|
||||
@@ -10,17 +11,39 @@ namespace SanSystem.Einstellungen
|
||||
{
|
||||
public ObjecteListSetting() : base("ObjecteList") { }
|
||||
|
||||
public override int GetWidth(DataGridViewColumn dataGridViewColumn)
|
||||
{
|
||||
int result = -1;
|
||||
|
||||
try
|
||||
{
|
||||
result = getConfiguration(dataGridViewColumn.HeaderText);
|
||||
}
|
||||
catch(Exception )
|
||||
{
|
||||
result = 20;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
public override void SetWidth(DataGridViewColumn dataGridViewColumn)
|
||||
{
|
||||
setConfig(dataGridViewColumn.HeaderText, dataGridViewColumn.Width);
|
||||
}
|
||||
|
||||
public override void InitDevValues()
|
||||
{
|
||||
// Hausnummer
|
||||
// Von punkt
|
||||
// Bis punkt
|
||||
// Haltungslänge
|
||||
|
||||
configuration.Add("Auswahl", 20);
|
||||
configuration.Add("Hausnummer", 40);
|
||||
configuration.Add("VonPunkt", 100);
|
||||
configuration.Add("BisPunkt", 100);
|
||||
configuration.Add("Haltungslaenge", 40);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user