private void primitivesAddButton_Click(object sender, EventArgs e)
 {
     using (frmAddItem addItemForm = new frmAddItem())
     {
         if (addItemForm.ShowDialog() == DialogResult.OK)
         {
             CacheManager.Add(addItemForm.Id, addItemForm.ClienteCollectionBE, 1, DateFunctions.TimeMeasuresEnum.FromMinutes);
             primitivesResultsTextBox.Text = "Se agrego a " + cmbCacheMannagerSettingName.SelectedItem.ToString() + " el id " + addItemForm.Id + Environment.NewLine;
         }
     }
 }
Example #2
0
        private void primitivesAddButton_Click(object sender, EventArgs e)
        {


            using (frmAddItem addItemForm = new frmAddItem())
            {
                if (addItemForm.ShowDialog() == DialogResult.OK)
                {
                    

                    CacheManager.Add(addItemForm.Id, addItemForm.ClienteCollectionBE, 1, DateFunctions.TimeMeasuresEnum.FromMinutes);
                    primitivesResultsTextBox.Text = "Se agrego a " + cmbCacheMannagerSettingName.SelectedItem.ToString() + " el id " + addItemForm.Id + Environment.NewLine;
                }
            }
        }