private void BtnSaveConfiguration_Click(object sender, RoutedEventArgs e) { SaveConfiguration(TbxRules.Text); try { CacheProxy.SetConfiguration(TbxRules.Text); } catch (Exception ex) { MessageBox.Show("The configuration is not valid. " + ex.Message); } UpdateButtons(); }
private void BtnStart_Click(object sender, RoutedEventArgs e) { CacheProxy.SetConfiguration(TbxRules.Text); CacheProxy.Start(); UpdateButtons(); }