コード例 #1
0
        void addFavoriteButton_Command(object sender, CommandEventArgs e)
        {
            string appName = e.CommandArgument.ToString();

            favorites.AddFavoriteItem(appName);

            FillFavoritesView(true);
        }