Пример #1
0
        public UpdateProblem(int problemID, string problemName, string problemDescription, int patientID)
        {
            InitializeComponent();
            this.thisProblemID       = problemID;
            this.ProblemBox.Text     = problemName;
            this.DescriptionBox.Text = problemDescription;
            this.thisPatientID       = patientID;

            ProblemBox.AutoCompleteMode         = AutoCompleteMode.SuggestAppend;
            ProblemBox.AutoCompleteSource       = AutoCompleteSource.CustomSource;
            ProblemBox.AutoCompleteCustomSource = AutoComplete.ProblemAutoComplete();
        }
Пример #2
0
        public NewProblem(int patientID, string providerName, string providerID)
        {
            this.thisPatientID    = patientID;
            this.thisProviderName = providerName;
            this.thisProviderID   = providerID;

            InitializeComponent();

            ProblemBox.AutoCompleteMode         = AutoCompleteMode.SuggestAppend;
            ProblemBox.AutoCompleteSource       = AutoCompleteSource.CustomSource;
            ProblemBox.AutoCompleteCustomSource = AutoComplete.ProblemAutoComplete();
        }