Example #1
0
 public void NewResearcher()
 {
     mRes = new Researcher("<Place your ad here>", "<Here can be ad too>");
     mCurrentProject = new Project();
     mCurrentPaper = new Paper();
     mUpdated = false;
     OnPropertyChanged("");
 }
Example #2
0
 public void LoadResearcher()
 {
     OpenFileDialog dialog = new OpenFileDialog();
     if (dialog.ShowDialog() == true)
         try {
             mRes = Researcher.Deserialize(dialog.FileName);
         }
         catch {
             MessageBox.Show("An error occured while loading researcher from file.");
         }
     mCurrentProject = new Project();
     mCurrentPaper = new Paper();
     mUpdated = false;
     OnPropertyChanged("");
 }