I need to make an application that configures a holographic printer. The screen and layout are fixed now i need to configure it. I need a way that i can save all filled in data so i can load it days after it. But i cant find a way to do that
code behind
private void Save_as_Click(object sender, RoutedEventArgs e)
{
SaveFileDialog saveFileDialog = new SaveFileDialog();
saveFileDialog.Filter = "Text file (*.txt)|*.txt|C# file (*.cs)|*.cs";
if (saveFileDialog.ShowDialog() == true)
File.WriteAllText(saveFileDialog.FileName, TBSOMS.Text);
}
Need to save filled content of. Combobox, TextBox, CheckBox and Buttons to a file.