Exemplo n.º 1
0
 private void selectProjectToolStripMenuItem_Click(object sender, EventArgs e)
 {
     OpenFileDialog F = new OpenFileDialog();
     F.DefaultExt = ".pjt";
     F.InitialDirectory = "C:\\";
     if (F.ShowDialog() == DialogResult.OK)
     {
         pjt = new Project(F.FileName);
         pjt.Open();
     }
     UpdateMainList();
 }
Exemplo n.º 2
0
        private void AddtoProj_Click(object sender, EventArgs e)
        {
            Project pjt;
            Paused = true;
            ACQ.Loaded = false;
            if (player != null)
                player.Stop();
            ACQ.closeACQ();
            SzTxt.Close();
            ACQ.cleargraph();
            this.Text = "Closing File...";
            Thread.Sleep(500);
            this.Text = "Seizure Video Playback";
            AddtoProject F = new AddtoProject(CurrentProject);
            F.ShowDialog();
            if (F.passed)
            {
                CurrentProject = F.returnstring;
                pjt = new Project(CurrentProject);
                pjt.Open();
                pjt.ImportDirectory(Path);
                pjt.Save();
                INISave();

            }
        }