Example #1
0
 private void mitPublish_Click(object sender, RoutedEventArgs e)
 {
     tabDetails.Focus();
     if (t != null)
     {
         MessageBox.Show("The other document is still being published, Please be patient for it to finish");
         return;
     }
     if (curDoc.AuthorID == 0)
     {
         MessageBox.Show("Cannot publish a document that has no registered author", "Publish Failed");
         return;
     }
     t = new ROPublish(this);
     t.Publish(curDoc);
 }
Example #2
0
 public void PublishComplete()
 {
     getMyPublishedROS();
     t.Close();
     t = null;
 }