public void Edit(string title, string label)
        {
            IDataElement dataElement = ((IDataElement)Object);
            string existingString = ((IDataItem)dataElement.Data).Value.ToString();
            SelectNumberForm form = new SelectNumberForm(existingString);
            form.Text = title;
            form.EnteredTextLabel = label;
            form.DataType = DataType.Long;
            form.IsUnsignedNumericType = true;
            if (DialogResult.OK == form.ShowDialog())
            {
                //data
                dataElement.Data = DataItem.CreateDataItemWithCultureInfo(new NonTranslateableLanguageItem(""), DataType.Long, form.SelectedString, CultureInfo.CurrentCulture);

                //display name
                Text = form.SelectedString;
            }
        }
		/// <summary>
		/// 
		/// </summary>
		public void Edit()
		{
			IDataElement dataElement = Object as IDataElement;
			if (dataElement != null)
			{
				IDataItem dataItem = dataElement.Data as IDataItem;
				if (dataItem != null)
				{
					string existingString = dataItem.Value.ToString();
					SelectNumberForm form = new SelectNumberForm(existingString)
												{
													Text = Properties.Resources.TOTALATTACHMENTSIZE_FILE,
													EnteredTextLabel = Properties.Resources.TOTALATTACHMENTSIZE_ADD,
													DataType = DataType.Double,
													IsUnsignedNumericType = true
												};
					if (DialogResult.OK == form.ShowDialog())
					{
						//data
						dataElement.Data = DataItem.CreateDataItemWithCultureInfo(new NonTranslateableLanguageItem("totalattachmentsize"), DataType.Double, form.SelectedString, CultureInfo.CurrentCulture);

						//display name
						dataElement.DisplayName.Value = GetDisplayNameFromDataItems();
						Text = dataElement.DisplayName.Value;
					}
				}
				else
				{
					Logger.LogError("RuleObject is invalid");
					throw new PolicyDesignerException("RuleObject is invalid");
				}
			}
			else
			{
				Logger.LogError("RuleObject is invalid");
				throw new PolicyDesignerException("RuleObject is invalid");
			}
		}