public override string ToString()
        {
            IEncConverter aEC = GetEncConverter;

            if (aEC != null)
            {
                return(aEC.ToString());
            }
            else
            {
                return(Name);
            }
        }
        protected void UpdateConverterCellValue(DataGridViewRow theRow, IEncConverter aEC)
        {
            string strStepName = aEC.Name;

            if (strStepName.Length > cnMaxConverterName)
            {
                strStepName = strStepName.Substring(0, cnMaxConverterName);
            }

            DataGridViewCell theCell = theRow.Cells[cnStepNameColumn];

            theCell.Value       = strStepName;
            theCell.ToolTipText = aEC.ToString();
        }
Exemplo n.º 3
0
		protected void UpdateConverterCellValue(DataGridViewRow theRow, IEncConverter aEC)
		{
			string strStepName = aEC.Name;
			if (strStepName.Length > cnMaxConverterName)
				strStepName = strStepName.Substring(0, cnMaxConverterName);

			DataGridViewCell theCell = theRow.Cells[cnStepNameColumn];
			theCell.Value = strStepName;
			theCell.ToolTipText = aEC.ToString();
		}