public void CreateNewData(CreateNewProject createNewProjDialog)
 {
     if (createNewProjDialog.Frequency != SeriesData.SeriesFrequency.Undated)
         data = new SeriesData(createNewProjDialog.DataName, createNewProjDialog.Frequency, createNewProjDialog.StartDate, createNewProjDialog.EndDate);
     else
         data = new SeriesData(createNewProjDialog.DataName, createNewProjDialog.NumberObservations);
        this.Text = createNewProjDialog.DataName + " : \"Unsaved\"";
 }
Beispiel #2
0
 private void newToolStripButton1_Click(object sender, EventArgs e)
 {
     CreateNewProject frm = new CreateNewProject(this);
     frm.ShowDialog();
 }
Beispiel #3
0
 private void menuNewFile_Click(object sender, EventArgs e)
 {
     CreateNewProject frm = new CreateNewProject(null);
     frm.ShowDialog();
 }