示例#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();
        }