Exemple #1
0
        private void CreateMeasureTollStrip_Click(object sender, EventArgs e)
        {
            FCreateFromFile loader = new FCreateFromFile();

            loader.MdiParent = this;
            loader.Show();
            HelpForm.Invalidate_Text();
        }
Exemple #2
0
        private void новоеToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (currentDatabase.currentDocID < 0 || currentDatabase.currentPacID < 0)
            {
                MessageBox.Show("Не выбран врач или пациент, загрузка невозможна");
                return;
            }
            FCreateFromFile createMeasure = new FCreateFromFile();

            createMeasure.ShowDialog();
            createMeasure.measure.PacID = currentDatabase.currentPacID;
            createMeasure.measure.DocID = currentDatabase.currentDocID;
            currentDatabase.AddMeasure(createMeasure.measure);
            HelpForm.Invalidate_Text();
        }