Config file name modified

This commit is contained in:
Thomas Wiedebusch
2025-09-10 09:18:39 +02:00
parent 34c54ffa0b
commit 2670bbee92
7 changed files with 151 additions and 141 deletions
@@ -141,10 +141,10 @@ namespace Xylem.Common.Production.ProductionUiCordonel
InitializeFormState();
}
private ApplicationSettings Settings
{
get; set;
}
//private ApplicationSettings Settings
//{
// get; set;
//}
/// <summary>
/// Initialize the FinalTest GUI:
@@ -183,7 +183,7 @@ namespace Xylem.Common.Production.ProductionUiCordonel
}
cbxSlotBox.SelectedIndex = 0;
Settings = new ApplicationSettings("ProductionUiConfig.json");
//Settings = new ApplicationSettings("ProductionUiConfig.json");
UseSetting(true);
@@ -248,7 +248,8 @@ namespace Xylem.Common.Production.ProductionUiCordonel
//}
if (setSlot)
{
cbxSlotBox.SelectedValue = Settings.Slot;
//cbxSlotBox.SelectedValue = Settings.Slot;
cbxSlotBox.SelectedValue = 0;
}
}
@@ -863,10 +864,10 @@ namespace Xylem.Common.Production.ProductionUiCordonel
}
private void StoreSetting()
{
Settings.Update("ProductionUiConfig.json");
}
//private void StoreSetting()
//{
// Settings.Update("ProductionUiConfig.json");
//}
//private void BtnConnect_Click(Object sender, RoutedEventArgs e)
//{