Example #1
0
        /// <summary>
        /// ツイート画面設定
        /// </summary>
        /// <param name="frmTop"></param>
        /// <param name="oTweet"></param>
        /// <param name="iCnt"></param>
        private void setTweetForm(ref int frmTop, Statuses oTweet, string iCnt)
        {
            // ツイート画面設定
            SearchResultForm frmResult = new SearchResultForm(oTweet, iCnt);

            frmResult.TopLevel = false;
            frmResult.Top      = frmTop;
            pnSearchList.Controls.Add(frmResult);
            frmResult.Show();
            frmTop += frmResult.Height + 5;
        }
Example #2
0
        /// <summary>
        /// ユーザ検索面設定
        /// </summary>
        /// <param name="frmTop"></param>
        /// <param name="oTweet"></param>
        /// <param name="iCnt"></param>
        private void setUserForm(ref int frmTop, JsonUserSearchData oTweet, string iCnt)
        {
            // ユーザ検索表示
            SearchResultForm frmResult = new SearchResultForm(oTweet, iCnt);

            frmResult.TopLevel = false;
            frmResult.Top      = frmTop;
            pnSearchList.Controls.Add(frmResult);
            frmResult.Show();
            frmTop += frmResult.Height + 5;
        }