示例#1
0
        /// <summary>
        /// Builds the list view item.
        /// </summary>
        /// <param name="characterMapItem">The character map item.</param>
        /// <returns></returns>
        private ListViewItem BuildListViewItem(CharacterMapItem characterMapItem)
        {
            //  Create the list item.
            var listItem = new ListViewItem();

            listItem.Text = characterMapItem.Char.ToString(CultureInfo.InvariantCulture)
                            + " Alt + " + ((int)characterMapItem.Char).ToString(CultureInfo.InvariantCulture);
            return(listItem);
        }
 /// <summary>
 /// Builds the list view item.
 /// </summary>
 /// <param name="characterMapItem">The character map item.</param>
 /// <returns></returns>
 private ListViewItem BuildListViewItem(CharacterMapItem characterMapItem)
 {
     //  Create the list item.
     var listItem = new ListViewItem();
     listItem.Text = characterMapItem.Char.ToString(CultureInfo.InvariantCulture)
         + " Alt + " + ((int)characterMapItem.Char).ToString(CultureInfo.InvariantCulture);
     return listItem;
 }