Ejemplo n.º 1
0
        public MammographyHxView()
            : base(TblRiskDataExt1)
        {
            InitializeComponent();

            InitializeDropDowns();
            UserList users = new UserList();
            users.LoadFullList();

            List<string> userList = users.Select(user => string.Format("{0}, {1}", ((User)user).userLastName, ((User)user).userFirstName)).ToList();

            UIUtils.fillComboBoxFromList(this.createdby, userList, true);
        }
Ejemplo n.º 2
0
        public MammographyHxView()
            : base(TblRiskDataExt1)
        {
            InitializeComponent();

            UserList users = new UserList();
            users.LoadFullList();

            List<string> userList = users.Select(user => string.Format("{0}, {1}", ((User)user).userLastName, ((User)user).userFirstName)).ToList();

            UIUtils.fillComboBoxFromList(this.createdby, userList, true);

            this._priorSurgeriesAndTreatmentsControls = new List<Control>();
            _priorSurgeriesAndTreatmentsControls.AddRange(this.GetControlsByName("breastBiopsies"));
            _priorSurgeriesAndTreatmentsControls.AddRange(this.GetControlsByName("lumpectomy"));
            _priorSurgeriesAndTreatmentsControls.AddRange(this.GetControlsByName("radiation"));
            _priorSurgeriesAndTreatmentsControls.AddRange(this.GetControlsByName("mastectomy"));
            _priorSurgeriesAndTreatmentsControls.AddRange(this.GetControlsByName("Reduction"));
            _priorSurgeriesAndTreatmentsControls.AddRange(this.GetControlsByName("Implant"));
            _priorSurgeriesAndTreatmentsControls.AddRange(this.GetControlsByName("other"));
        }