Config file name modified
This commit is contained in:
@@ -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)
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user