Ejemplo n.º 1
0
        public EyeExamRecordUC()
        {
            InitializeComponent();
            List <mst_conclusion_favorite_dtl> mst = new FavoriteCls().getFavorite(favoriteTextBox1.FavoriteOrder, favoriteTextBox1.FavoriteType);

            favoriteTextBox1.AutoCompleteListThList = mst.Select(x => x.mcfd_description).ToList();

            dgvDiagnosis.AutoGenerateColumns = false;
            setMainTopicCombo();
            setMapField();
            setEventCombo();
        }
Ejemplo n.º 2
0
        public EchoUC()
        {
            InitializeComponent();

            autoCompleteUC1.DataSource            = obj.GetDoctorData();
            autoCompleteUC1.ValueMember           = "SSUSR_Initials";
            autoCompleteUC1.DisplayMember         = "CTPCP_Desc";
            autoCompleteUC1.SelectedValueChanged += new UserControlLibrary.TextBoxAutoComplete.OnSelectedValueChanged(autoCompleteUC1_SelectedValueChanged);
            List <mst_conclusion_favorite_dtl> mst = new FavoriteCls().getFavorite(favoriteTextBox1.FavoriteOrder, favoriteTextBox1.FavoriteType);

            favoriteTextBox1.AutoCompleteListThList = mst.Select(x => x.mcfd_description).ToList();
            favoriteTextBox1.RightClickDropDown    += favoriteTextBox1_DeleteFavorite;
        }