Esempio n. 1
0
        /// <summary>
        /// 发布为草稿
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnPublishDraf_Click(object sender, RoutedEventArgs e)
        {
            WinUploadProcess winProc = new WinUploadProcess();

            winProc.Owner = this;
            winProc.cbxPublish.IsChecked             = true;
            Config.CurrBlogsDocument.MarkDownContent = markEdit.textEditor.Text;
            winProc.ShowDialog();
        }
Esempio n. 2
0
 /// <summary>
 /// 发布
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnPublish_Click(object sender, RoutedEventArgs e)
 {
     WinUploadProcess winProc = new WinUploadProcess();
     winProc.Owner = this;
     winProc.cbxPublish.IsChecked = false;
     Config.CurrBlogsDocument.MarkDownContent = markEdit.textEditor.Text;
     winProc.ShowDialog();
 }