Пример #1
0
        private void departmentsListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SimpleElementListForm sf = new SimpleElementListForm(new HospitalDepartment());

            sf.ShowDialog();

            if (sf.IsDepartmentListUpdated)
            {
                programIsRunned = false;
                InitializeDepartmentCBList();
                programIsRunned = true;
                departmentsCBList.SelectedValue = -1;
            }
        }
Пример #2
0
        private void medGroupsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SimpleElementListForm sf = new SimpleElementListForm(new MedicamentGroup());

            sf.ShowDialog();
        }
Пример #3
0
        private void metersListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SimpleElementListForm sf = new SimpleElementListForm(new Meter());

            sf.ShowDialog();
        }