Example #1
0
        /// <summary>
        /// Main.
        /// </summary>
        /// <param name="args">args.</param>
        static void Main(string[] args)
        {
            //Console.WriteLine("Hello!");
            IIndentedWriter iw = new TextIndentedWriter(Console.Out);

            // main
            MyInfo.outl_main(iw, null, null);
        }
Example #2
0
        /// <summary>
        /// 在此页将要在 Frame 中显示时进行调用。
        /// </summary>
        /// <param name="e">描述如何访问此页的事件数据。Parameter
        /// 属性通常用于配置页。</param>
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            StringBuilder   sb = new StringBuilder();
            IIndentedWriter iw = new TextIndentedWriter(new StringWriter(sb));

            MyInfo.outl_main(iw, null, null);
            txtInfo.Text = sb.ToString();
        }