Ejemplo n.º 1
0
        private void add_doc_Click(object sender, RoutedEventArgs e)
        {
            AddDocument addDocument = new AddDocument();

            addDocument.Owner = this;
            addDocument.Show();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes window for adding document adding articles to a journal.
 /// </summary>
 /// <param name="journalID">Id of the journal.</param>
 /// <param name="addDocument">Window of editing documents.</param>
 public AddJournalArticlesToJournal(long journalID, AddDocument addDocument)
 {
     InitializeComponent();
     this.journalID   = journalID;
     this.addDocument = addDocument;
 }