예제 #1
0
        /// <summary>
        /// 输出信息.
        /// </summary>
        /// <param name="sb">String buffer (字符串缓冲区).</param>
        /// <param name="onproject">On project (所处项目)</param>
        public static void OutputInfo(StringBuilder sb, string onproject)
        {
            string myproject = "LibOnlyWin8 on " + onproject;

            LibSharedUtil.OutputCommon(sb, myproject);
            SharedWinrtUtil.OutputWinrt(sb, myproject);
        }
예제 #2
0
        private void btnInfo_Click(object sender, RoutedEventArgs e)
        {
            const string  myproject = "TestUwp";
            StringBuilder sb        = new StringBuilder();

            LibSharedUtil.OutputHead(sb, myproject);
            OutputUwp(sb, myproject);
            SharedWinrtUtil.OutputWinrt(sb, myproject);
            LibWin8Util.OutputInfo(sb, myproject);
            LibOnlyWin8Util.OutputInfo(sb, myproject);
            // show.
            txtOut.Text = sb.ToString();
        }