Beispiel #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Form form = new Form();
            ChamberListControl chamberListControl = new ChamberListControl();

            form.Controls.Add(chamberListControl);
            chamberListControl.UpdateControl(current.chambers);
            form.ShowDialog();
        }
Beispiel #2
0
        public void UpdateForm()
        {
            ChamberListControl chamberListControl1 = (ChamberListControl)Controls.Find("chamberListControl1", true)[0];

            chamberListControl1.UpdateControl(Program.clinicalHospital.chambers);
        }