Ejemplo n.º 1
0
        /**************************************************************************************************/
        private void FillControls()
        {
            chart1.SeriesCollection.Clear();
            flowLayoutPanel1.Controls.Clear();

            foreach (BreastImagingStudy bis in theBreastImagingHx)
            {
                BreastImagingRow bisRow = new BreastImagingRow(bis);
                bisRow.owningView = this;
                bisRow.SetScrollState(false);
                flowLayoutPanel1.Controls.Add(bisRow);

                Application.DoEvents();

                string name = bis.imagingType;
                if (string.IsNullOrEmpty(bis.imagingType))
                {
                    name = "n/a";
                }

                chart1.Series.Element = new dotnetCHARTING.WinForms.Element(name, bis.date, 2, 2);
                chart1.Series.Elements.Add();
            }
            chart1.SeriesCollection.Add();
            chart1.Refresh();

            loadingCircle1.Active  = false;
            loadingCircle1.Visible = false;
        }
Ejemplo n.º 2
0
        /**************************************************************************************************/
        private void FillControls()
        {
            chart1.SeriesCollection.Clear();
            flowLayoutPanel1.Controls.Clear();

            foreach (BreastImagingStudy bis in theBreastImagingHx)
            {
                BreastImagingRow bisRow = new BreastImagingRow(bis);
                bisRow.owningView = this;
                bisRow.SetScrollState(false);
                flowLayoutPanel1.Controls.Add(bisRow);

                Application.DoEvents();

                string name = bis.imagingType;
                if (string.IsNullOrEmpty(bis.imagingType))
                    name = "n/a";

                chart1.Series.Element = new dotnetCHARTING.WinForms.Element(name, bis.date, 2, 2);
                chart1.Series.Elements.Add();
            }
            chart1.SeriesCollection.Add();
            chart1.Refresh();

            loadingCircle1.Active = false;
            loadingCircle1.Visible = false;
        }