Example #1
0
        //private void Window_Loaded(object sender, RoutedEventArgs e)
        //{
        //    this.Submit_Click(null, null);
        //}

        private void InitSentence()
        {
            if (SentenceDomain == null)
            {
                SentenceDomain = JinShanUtil.GetSentence();
            }
            var sentenceStr = SentenceDomain.content + "\r\n" + SentenceDomain.note;

            this.EveryDay.Content   = sentenceStr;
            this.SentencePic.Source = new BitmapImage(new Uri(SentenceDomain.picture));
        }