Ejemplo n.º 1
0
        private void dtgList_CellClick(object sender, EventArgs e)
        {
            try
            {
                int pos = dtgList.CurrentRow.Index;
                if (radJournal.IsChecked == true)
                {

                    if (pos < Journal.JournalDT.Rows.Count)
                    {
                        String issn = dtgList.CurrentRow.Cells[0].Value.ToString();
                        cnvJournal.IsEnabled = true;
                        curJour = new Journal(issn);
                        //curJour = Journal.JournalDS[pos]; //this was if i was using a list
                    }
                }
                else
                {
                    if (pos < Conference.ConferenceDT.Rows.Count)
                    {
                        String isbn = dtgList.CurrentRow.Cells[0].Value.ToString();
                        curConf = new Conference(isbn);
                    }
                }
                setDataSource();
            }
            catch (Exception ex)
            {
            }

        }
Ejemplo n.º 2
0
 private void btnAdd_Click(object sender, RoutedEventArgs e)
 {
     if (radJournal.IsChecked == true)
     {
         cnvJournal.IsEnabled = true;
         curJour = new Journal();
         setJourDataSource();
         txtROJEditor.Text = "";
         txtROJEmail.Text = "";
         txtROJISSN.Text = "";
         txtROJNumber.Text = "1";
         txtROJVolume.Text = "1";
         txtROJTitle.Text = "";
         txtROJPublisher.Text = "";
         txtROJOrganisation.Text = "";
     }
     else
     {
         curConf = new Conference();
         setConfDataSource();
         txtROCVenue.Text = "";
         txtROCName.Text = "";
         txtROCISBN.Text = "";
         txtROCCountry.Text = "";
         txtROCContactNumer.Text = "";
         txtROCContactName.Text = "";
         txtROCContactEmail.Text = "";
         txtROCCity.Text = "";
     }
 }
Ejemplo n.º 3
0
        //Published Documents
        public void SelectJournal(String ISSN)
        {
			try
			{
            selectedJournal = new Journal(ISSN);
            journalISSN = ISSN;
			gotJournal = true;
			}
			catch (Exception e){
			}
        }
Ejemplo n.º 4
0
 public void RemoveJournal()
 {
     selectedJournal = null;
 }
Ejemplo n.º 5
0
        public void SelectJournal()
        {
            try
            {
                selectedJournal = new Journal(journalISSN);
				gotJournal = true;
            }
            catch (Exception e)
            {
            }
        }
Ejemplo n.º 6
0
        public void SelectJournal(Journal journal)
        {
            selectedJournal = journal;
            journalISSN = journal.ISSN;
			gotJournal = true;
        }