Esempio n. 1
0
        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();
        }
Esempio n. 2
0
 private void BtnStart_Click(object sender, RoutedEventArgs e)
 {
     CacheProxy.SetConfiguration(TbxRules.Text);
     CacheProxy.Start();
     UpdateButtons();
 }