Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.ComponentModel;
|
---|
4 | using System.Drawing;
|
---|
5 | using System.Data;
|
---|
6 | using System.Windows.Forms;
|
---|
7 | using System.Runtime.InteropServices;
|
---|
8 |
|
---|
9 | namespace IndianHealthService.BMXNet.Example.CrossComponent.EHR
|
---|
10 | {
|
---|
11 | [ComVisible(true)]
|
---|
12 | [Guid("845A916C-3E3A-4BD1-9133-EEE99BEB9238")]
|
---|
13 | public partial class UserInfoComponent : UserControl
|
---|
14 | {
|
---|
15 | public UserInfoComponent()
|
---|
16 | {
|
---|
17 | InitializeComponent();
|
---|
18 | this.AttachToEhr(this.hostedControl);
|
---|
19 | }
|
---|
20 |
|
---|
21 |
|
---|
22 | private String _configurationParameter= "Nothing Set.";
|
---|
23 |
|
---|
24 | public String ConfigurationParameter
|
---|
25 | {
|
---|
26 | get { return _configurationParameter; }
|
---|
27 | set
|
---|
28 | {
|
---|
29 | _configurationParameter = value;
|
---|
30 | if (this.hostedControl != null)
|
---|
31 | {
|
---|
32 | this.hostedControl.ConfigurationParameter = value;
|
---|
33 | }
|
---|
34 | }
|
---|
35 | }
|
---|
36 | private void hostedControl_Load(object sender, EventArgs e)
|
---|
37 | {
|
---|
38 | this.hostedControl.ConfigurationParameter = this.ConfigurationParameter;
|
---|
39 | }
|
---|
40 |
|
---|
41 |
|
---|
42 | }
|
---|
43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.