private void openButton_Click(object sender, EventArgs e)
        {
            currentReading.text = readingText.Text;
            if (currentReading.readingId < 0)
            {
                currentProject.readings.Add(currentReading);
            }
            var readingPage = new ReadingPage(currentProject, currentReading);

            DatabaseInterface.updateProject(currentProject);
            this.Hide();
            readingPage.Show();
        }
示例#2
0
 public override void saveProjectToolStripMenuItem_Click(object sender, EventArgs e)
 {
     writing.text = writingDoc.Text;
     DatabaseInterface.updateProject(project);
 }
示例#3
0
 public override void saveProjectToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DatabaseInterface.updateProject(project);
 }