public void InitConfigurationWindow() { InitializeComponent(); // load configuration from the file commonSet.LoadConfiguration(); commonSet.LoadNextTime(); // set the UI elements accroading to the loaded configuration InitUIElement(); }
void UpdateScheduledTime() { commonSet.LoadNextTime(); ScheduledTimeTextBlock.Text = commonSet.loadedNextPrintingTime.ToString(); }